]> Pileus Git - ~andy/gtk/commitdiff
tests: Add tests for 'inherit' and 'initial'
authorBenjamin Otte <otte@redhat.com>
Thu, 29 Dec 2011 15:19:14 +0000 (16:19 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:51 +0000 (18:37 +0100)
tests/css/parser/Makefile.am
tests/css/parser/value-inherit.css [new file with mode: 0644]
tests/css/parser/value-initial.css [new file with mode: 0644]

index b3b82ff58a514a18540a58afc95ce2dfd49c2b44..baa3de7011b638a256c63729c961fd80e7170106 100644 (file)
@@ -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 (file)
index 0000000..c58106b
--- /dev/null
@@ -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 (file)
index 0000000..5abcd7e
--- /dev/null
@@ -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;
+}