diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-21 23:28:48 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-22 22:29:38 -0500 |
commit | 8f44383253125481c18e9a06b1a6a60b3c4cd4cc (patch) | |
tree | 70c1a53ff00abd5227144ba797da41d6286a891f | |
parent | 2b6ab1b8bd0739d21ac60be4bf919e1c354f3510 (diff) | |
download | gtk+-8f44383253125481c18e9a06b1a6a60b3c4cd4cc.tar.gz |
Add a parser tests for transition properties
This adds tests for transition-property, transition-delay
and transition-timing-function.
-rw-r--r-- | testsuite/css/parser/Makefile.am | 12 | ||||
-rw-r--r-- | testsuite/css/parser/transition-delay.css | 27 | ||||
-rw-r--r-- | testsuite/css/parser/transition-delay.ref.css | 27 | ||||
-rw-r--r-- | testsuite/css/parser/transition-property.css | 23 | ||||
-rw-r--r-- | testsuite/css/parser/transition-property.ref.css | 23 | ||||
-rw-r--r-- | testsuite/css/parser/transition-timing-function.css | 35 | ||||
-rw-r--r-- | testsuite/css/parser/transition-timing-function.ref.css | 35 |
7 files changed, 182 insertions, 0 deletions
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am index 811278f14b..ac43020509 100644 --- a/testsuite/css/parser/Makefile.am +++ b/testsuite/css/parser/Makefile.am @@ -356,6 +356,10 @@ test_data = \ linear-gradient.ref.css \ margin.css \ margin.ref.css \ + min-height.css \ + min-height.ref.css \ + min-width.css \ + min-width.ref.css \ no-semicolon.css \ no-semicolon.ref.css \ not.css \ @@ -410,6 +414,14 @@ test_data = \ text-shadow-invalid-but-worked-in-3.12.ref.css \ transition.css \ transition.ref.css \ + transition-delay.css \ + transition-delay.ref.css \ + transition-duration.css \ + transition-duration.ref.css \ + transition-property.css \ + transition-property.ref.css \ + transition-timing-function.css \ + transition-timing-function.ref.css \ value-inherit.css \ value-inherit.errors \ value-inherit-shorthand.css \ diff --git a/testsuite/css/parser/transition-delay.css b/testsuite/css/parser/transition-delay.css new file mode 100644 index 0000000000..751486f85f --- /dev/null +++ b/testsuite/css/parser/transition-delay.css @@ -0,0 +1,27 @@ +a { + transition-delay: initial; +} + +b { + transition-delay: inherit; +} + +c { + transition-delay: unset; +} + +d { + transition-delay: 0s; +} + +e { + transition-delay: 5s; +} + +f { + transition-delay: 5ms; +} + +g { + transition-delay: 5ms, 5s; +} diff --git a/testsuite/css/parser/transition-delay.ref.css b/testsuite/css/parser/transition-delay.ref.css new file mode 100644 index 0000000000..8a35ae90b2 --- /dev/null +++ b/testsuite/css/parser/transition-delay.ref.css @@ -0,0 +1,27 @@ +a { + transition-delay: initial; +} + +b { + transition-delay: inherit; +} + +c { + transition-delay: unset; +} + +d { + transition-delay: 0; +} + +e { + transition-delay: 5s; +} + +f { + transition-delay: 5ms; +} + +g { + transition-delay: 5ms, 5s; +} diff --git a/testsuite/css/parser/transition-property.css b/testsuite/css/parser/transition-property.css new file mode 100644 index 0000000000..a375f45fcf --- /dev/null +++ b/testsuite/css/parser/transition-property.css @@ -0,0 +1,23 @@ +a { + transition-property: initial; +} + +b { + transition-property: inherit; +} + +c { + transition-property: unset; +} + +d { + transition-property: all; +} + +e { + transition-property: color; +} + +f { + transition-property: color, background-color; +} diff --git a/testsuite/css/parser/transition-property.ref.css b/testsuite/css/parser/transition-property.ref.css new file mode 100644 index 0000000000..a375f45fcf --- /dev/null +++ b/testsuite/css/parser/transition-property.ref.css @@ -0,0 +1,23 @@ +a { + transition-property: initial; +} + +b { + transition-property: inherit; +} + +c { + transition-property: unset; +} + +d { + transition-property: all; +} + +e { + transition-property: color; +} + +f { + transition-property: color, background-color; +} diff --git a/testsuite/css/parser/transition-timing-function.css b/testsuite/css/parser/transition-timing-function.css new file mode 100644 index 0000000000..a659cf5060 --- /dev/null +++ b/testsuite/css/parser/transition-timing-function.css @@ -0,0 +1,35 @@ +a { + transition-timing-function: initial; +} + +b { + transition-timing-function: inherit; +} + +c { + transition-timing-function: unset; +} + +d { + transition-timing-function: ease; +} + +e { + transition-timing-function: ease, linear, ease-in, ease-out, ease-in-out, step-start, step-end; +} + +f { + transition-timing-function: cubic-bezier(0,0.25,1,2.7); +} + +g { + transition-timing-function: steps(3); +} + +h { + transition-timing-function: steps(5,start); +} + +i { + transition-timing-function: steps(7,end); +} diff --git a/testsuite/css/parser/transition-timing-function.ref.css b/testsuite/css/parser/transition-timing-function.ref.css new file mode 100644 index 0000000000..63c7499cd8 --- /dev/null +++ b/testsuite/css/parser/transition-timing-function.ref.css @@ -0,0 +1,35 @@ +a { + transition-timing-function: initial; +} + +b { + transition-timing-function: inherit; +} + +c { + transition-timing-function: unset; +} + +d { + transition-timing-function: ease; +} + +e { + transition-timing-function: ease, linear, ease-in, ease-out, ease-in-out, step-start, step-end; +} + +f { + transition-timing-function: cubic-bezier(0,0.25,1,2.7); +} + +g { + transition-timing-function: steps(3); +} + +h { + transition-timing-function: steps(5,start); +} + +i { + transition-timing-function: steps(7); +} |