summaryrefslogtreecommitdiff
path: root/test/data/parse2/border.dat
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 17:53:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 17:53:22 +0000
commit1b13f81b8259f4416df7b3063cb280cb977722d7 (patch)
tree5e34f4150c1fc3bcdcd436781f4799571a40cbd4 /test/data/parse2/border.dat
parent9838246d69a3d48a8d0d286ecbfcd1faa199ae91 (diff)
downloadlibcss-1b13f81b8259f4416df7b3063cb280cb977722d7.tar.gz
libcss-1b13f81b8259f4416df7b3063cb280cb977722d7.tar.bz2
Centralise handling of transparent colours.
Add support for currentColor svn path=/trunk/libcss/; revision=11525
Diffstat (limited to 'test/data/parse2/border.dat')
-rw-r--r--test/data/parse2/border.dat38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/data/parse2/border.dat b/test/data/parse2/border.dat
index daecf3b..cd9ab13 100644
--- a/test/data/parse2/border.dat
+++ b/test/data/parse2/border.dat
@@ -37,6 +37,44 @@
#reset
#data
+* { border: transparent; }
+#errors
+#expected
+| *
+| border-top-color: transparent
+| border-top-style: none
+| border-top-width: medium
+| border-right-color: transparent
+| border-right-style: none
+| border-right-width: medium
+| border-bottom-color: transparent
+| border-bottom-style: none
+| border-bottom-width: medium
+| border-left-color: transparent
+| border-left-style: none
+| border-left-width: medium
+#reset
+
+#data
+* { border: currentColor; }
+#errors
+#expected
+| *
+| border-top-color: currentColor
+| border-top-style: none
+| border-top-width: medium
+| border-right-color: currentColor
+| border-right-style: none
+| border-right-width: medium
+| border-bottom-color: currentColor
+| border-bottom-style: none
+| border-bottom-width: medium
+| border-left-color: currentColor
+| border-left-style: none
+| border-left-width: medium
+#reset
+
+#data
* { border: solid; }
#errors
#expected