diff options
author | Benjamin Otte <otte@redhat.com> | 2014-11-25 19:33:18 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-11-25 19:33:18 +0100 |
commit | 06952d807a0980c6d4de0275fc53c7236db8cb20 (patch) | |
tree | d04981a3e47286ac47b1b0cf4fab707469f708e8 /testsuite | |
parent | 965da578c47f5acc3ff16b553b4deec1c1b3738f (diff) | |
download | gtk+-06952d807a0980c6d4de0275fc53c7236db8cb20.tar.gz |
testsuite: Add a bunch of parsing tests for :not()
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/css/parser/Makefile.am | 2 | ||||
-rw-r--r-- | testsuite/css/parser/not.css | 80 | ||||
-rw-r--r-- | testsuite/css/parser/not.ref.css | 80 |
3 files changed, 162 insertions, 0 deletions
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am index 4c35afeecf..d148cedc13 100644 --- a/testsuite/css/parser/Makefile.am +++ b/testsuite/css/parser/Makefile.am @@ -326,6 +326,8 @@ test_data = \ linear-gradient.ref.css \ no-semicolon.css \ no-semicolon.ref.css \ + not.css \ + not.ref.css \ nth-child.css \ nth-child.ref.css \ property-name-errors.css \ diff --git a/testsuite/css/parser/not.css b/testsuite/css/parser/not.css new file mode 100644 index 0000000000..59da972028 --- /dev/null +++ b/testsuite/css/parser/not.css @@ -0,0 +1,80 @@ +:not(*) { + color: tomato; +} + +:not(GtkButton) { + color: tomato; +} + +:not(:hover) { + color: tomato; +} + +:not(.yourmom) { + color: tomato; +} + +:not(#yourmom) { + color: tomato; +} + +:not( *) { + color: tomato; +} + +:not( GtkButton) { + color: tomato; +} + +:not( :hover) { + color: tomato; +} + +:not( .yourmom) { + color: tomato; +} + +:not( #yourmom) { + color: tomato; +} + +:not(* ) { + color: tomato; +} + +:not(GtkButton ) { + color: tomato; +} + +:not(:hover ) { + color: tomato; +} + +:not(.yourmom ) { + color: tomato; +} + +:not(#yourmom ) { + color: tomato; +} + +:not( * ) { + color: tomato; +} + +:not( GtkButton ) { + color: tomato; +} + +:not( :hover ) { + color: tomato; +} + +:not( .yourmom ) { + color: tomato; +} + +:not( #yourmom ) { + color: tomato; +} + diff --git a/testsuite/css/parser/not.ref.css b/testsuite/css/parser/not.ref.css new file mode 100644 index 0000000000..7cb0fb3e9c --- /dev/null +++ b/testsuite/css/parser/not.ref.css @@ -0,0 +1,80 @@ +:not(*) { + color: rgb(255,99,71); +} + +:not(GtkButton) { + color: rgb(255,99,71); +} + +:not(:hover) { + color: rgb(255,99,71); +} + +:not(.yourmom) { + color: rgb(255,99,71); +} + +:not(#yourmom) { + color: rgb(255,99,71); +} + +:not(*) { + color: rgb(255,99,71); +} + +:not(GtkButton) { + color: rgb(255,99,71); +} + +:not(:hover) { + color: rgb(255,99,71); +} + +:not(.yourmom) { + color: rgb(255,99,71); +} + +:not(#yourmom) { + color: rgb(255,99,71); +} + +:not(*) { + color: rgb(255,99,71); +} + +:not(GtkButton) { + color: rgb(255,99,71); +} + +:not(:hover) { + color: rgb(255,99,71); +} + +:not(.yourmom) { + color: rgb(255,99,71); +} + +:not(#yourmom) { + color: rgb(255,99,71); +} + +:not(*) { + color: rgb(255,99,71); +} + +:not(GtkButton) { + color: rgb(255,99,71); +} + +:not(:hover) { + color: rgb(255,99,71); +} + +:not(.yourmom) { + color: rgb(255,99,71); +} + +:not(#yourmom) { + color: rgb(255,99,71); +} + |