[gtk+/wip/css: 32/167] tests: Add a test for 'none'
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 32/167] tests: Add a test for 'none'
- Date: Sun, 8 Jan 2012 04:45:26 +0000 (UTC)
commit 95f598b2502a6eb90c5143dd2bee04fb96a22b36
Author: Benjamin Otte <otte redhat com>
Date: Fri Dec 30 13:14:57 2011 +0100
tests: Add a test for 'none'
tests/css/parser/Makefile.am | 3 ++
tests/css/parser/value-none.css | 42 +++++++++++++++++++++++++++++++++++
tests/css/parser/value-none.errors | 32 ++++++++++++++++++++++++++
tests/css/parser/value-none.ref.css | 10 ++++++++
4 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index baa3de7..97adb11 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -295,4 +295,7 @@ EXTRA_DIST += \
test.png \
value-inherit.css \
value-intial.css \
+ value-none.css \
+ value-none.errors \
+ value-none.ref.css \
widget-style-property.css
diff --git a/tests/css/parser/value-none.css b/tests/css/parser/value-none.css
new file mode 100644
index 0000000..738d684
--- /dev/null
+++ b/tests/css/parser/value-none.css
@@ -0,0 +1,42 @@
+* {
+ background-clip: none;
+ background-color: none;
+ background-image: none;
+ background-origin: none;
+ background-repeat: none;
+ border-bottom-color: none;
+ border-bottom-left-radius: none;
+ border-bottom-right-radius: none;
+ border-bottom-width: none;
+ border-image-repeat: none;
+ border-image-slice: none;
+ border-image-source: none;
+ border-image-width: none;
+ border-left-color: none;
+ border-left-width: none;
+ border-right-color: none;
+ border-right-width: none;
+ border-style: none;
+ border-top-color: none;
+ border-top-left-radius: none;
+ border-top-right-radius: none;
+ border-top-width: none;
+ box-shadow: none;
+ color: none;
+ engine: none;
+ font-family: none;
+ font-size: none;
+ font-style: none;
+ font-variant: none;
+ font-weight: none;
+ icon-shadow: none;
+ margin-bottom: none;
+ margin-left: none;
+ margin-right: none;
+ margin-top: none;
+ padding-bottom: none;
+ padding-left: none;
+ padding-right: none;
+ padding-top: none;
+ text-shadow: none;
+}
diff --git a/tests/css/parser/value-none.errors b/tests/css/parser/value-none.errors
new file mode 100644
index 0000000..f4c3de6
--- /dev/null
+++ b/tests/css/parser/value-none.errors
@@ -0,0 +1,32 @@
+value-none.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:5: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:6: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:7: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:8: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:9: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:10: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:11: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:12: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:14: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:15: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:16: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:17: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:18: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:20: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:21: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:22: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:23: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:25: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:28: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:29: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:30: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:31: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:33: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:34: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:36: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:37: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:38: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:39: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:40: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/value-none.ref.css b/tests/css/parser/value-none.ref.css
new file mode 100644
index 0000000..deadc14
--- /dev/null
+++ b/tests/css/parser/value-none.ref.css
@@ -0,0 +1,10 @@
+* {
+ background-image: none;
+ border-image-source: none;
+ border-style: none;
+ box-shadow: none;
+ engine: none;
+ font-family: "none";
+ icon-shadow: none;
+ text-shadow: none;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]