[gtk+] testsuite: Add a bunch of parsing tests for :not()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testsuite: Add a bunch of parsing tests for :not()
- Date: Tue, 25 Nov 2014 18:34:47 +0000 (UTC)
commit 06952d807a0980c6d4de0275fc53c7236db8cb20
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 25 19:33:18 2014 +0100
testsuite: Add a bunch of parsing tests for :not()
testsuite/css/parser/Makefile.am | 2 +
testsuite/css/parser/not.css | 80 ++++++++++++++++++++++++++++++++++++++
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 4c35afe..d148ced 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 0000000..59da972
--- /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 0000000..7cb0fb3
--- /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);
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]