[gtk+] tests: Add tests for 'inherit' and 'initial'



commit e9dfb8d5b8e186bc2c9caca872b1b999b24ccbdc
Author: Benjamin Otte <otte redhat com>
Date:   Thu Dec 29 16:19:14 2011 +0100

    tests: Add tests for 'inherit' and 'initial'

 tests/css/parser/Makefile.am       |    2 +
 tests/css/parser/value-inherit.css |   42 ++++++++++++++++++++++++++++++++++++
 tests/css/parser/value-initial.css |   42 ++++++++++++++++++++++++++++++++++++
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index b3b82ff..baa3de7 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -293,4 +293,6 @@ EXTRA_DIST += \
 	single-slash.errors\
 	single-slash.ref.css \
 	test.png \
+	value-inherit.css \
+	value-intial.css \
 	widget-style-property.css
diff --git a/tests/css/parser/value-inherit.css b/tests/css/parser/value-inherit.css
new file mode 100644
index 0000000..c58106b
--- /dev/null
+++ b/tests/css/parser/value-inherit.css
@@ -0,0 +1,42 @@
+* {
+  background-clip: inherit;
+  background-color: inherit;
+  background-image: inherit;
+  background-origin: inherit;
+  background-repeat: inherit;
+  border-bottom-color: inherit;
+  border-bottom-left-radius: inherit;
+  border-bottom-right-radius: inherit;
+  border-bottom-width: inherit;
+  border-image-repeat: inherit;
+  border-image-slice: inherit;
+  border-image-source: inherit;
+  border-image-width: inherit;
+  border-left-color: inherit;
+  border-left-width: inherit;
+  border-right-color: inherit;
+  border-right-width: inherit;
+  border-style: inherit;
+  border-top-color: inherit;
+  border-top-left-radius: inherit;
+  border-top-right-radius: inherit;
+  border-top-width: inherit;
+  box-shadow: inherit;
+  color: inherit;
+  engine: inherit;
+  font-family: inherit;
+  font-size: inherit;
+  font-style: inherit;
+  font-variant: inherit;
+  font-weight: inherit;
+  icon-shadow: inherit;
+  margin-bottom: inherit;
+  margin-left: inherit;
+  margin-right: inherit;
+  margin-top: inherit;
+  padding-bottom: inherit;
+  padding-left: inherit;
+  padding-right: inherit;
+  padding-top: inherit;
+  text-shadow: inherit;
+}
diff --git a/tests/css/parser/value-initial.css b/tests/css/parser/value-initial.css
new file mode 100644
index 0000000..5abcd7e
--- /dev/null
+++ b/tests/css/parser/value-initial.css
@@ -0,0 +1,42 @@
+* {
+  background-clip: initial;
+  background-color: initial;
+  background-image: initial;
+  background-origin: initial;
+  background-repeat: initial;
+  border-bottom-color: initial;
+  border-bottom-left-radius: initial;
+  border-bottom-right-radius: initial;
+  border-bottom-width: initial;
+  border-image-repeat: initial;
+  border-image-slice: initial;
+  border-image-source: initial;
+  border-image-width: initial;
+  border-left-color: initial;
+  border-left-width: initial;
+  border-right-color: initial;
+  border-right-width: initial;
+  border-style: initial;
+  border-top-color: initial;
+  border-top-left-radius: initial;
+  border-top-right-radius: initial;
+  border-top-width: initial;
+  box-shadow: initial;
+  color: initial;
+  engine: initial;
+  font-family: initial;
+  font-size: initial;
+  font-style: initial;
+  font-variant: initial;
+  font-weight: initial;
+  icon-shadow: initial;
+  margin-bottom: initial;
+  margin-left: initial;
+  margin-right: initial;
+  margin-top: initial;
+  padding-bottom: initial;
+  padding-left: initial;
+  padding-right: initial;
+  padding-top: initial;
+  text-shadow: initial;
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]