summaryrefslogtreecommitdiff
path: root/test/data/parse
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/parse')
-rw-r--r--test/data/parse/colours.dat10
-rw-r--r--test/data/parse/properties.dat34
2 files changed, 42 insertions, 2 deletions
diff --git a/test/data/parse/colours.dat b/test/data/parse/colours.dat
index 67d5427..0ca7a31 100644
--- a/test/data/parse/colours.dat
+++ b/test/data/parse/colours.dat
@@ -45,7 +45,15 @@
#errors
#expected
| 1 *
-| 0x02000018 0x00000000
+| 0x00000018
+#reset
+
+#data
+* { color: currentColor }
+#errors
+#expected
+| 1 *
+| 0x00040018
#reset
## Out-of-range rgb() parameters
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index ac038e5..29b5eb6 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -233,6 +233,14 @@
| 0x00000002
#reset
+#data
+* { background-color: currentColor }
+#errors
+#expected
+| 1 *
+| 0x00040002
+#reset
+
##
## 03 - background-image
##
@@ -493,6 +501,14 @@
| 0x0000000b
#reset
+#data
+* { border-left-color: currentColor }
+#errors
+#expected
+| 1 *
+| 0x0004000b
+#reset
+
##
## 0c - border-top-style
## 0d - border-right-style
@@ -2283,7 +2299,7 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
#errors
#expected
| 1 *
-| 0x00000039
+| 0x00080039
#reset
#data
@@ -2294,6 +2310,22 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
| 0x02000039 0xffbbbbcc
#reset
+#data
+* { outline-color: currentColor }
+#errors
+#expected
+| 1 *
+| 0x00040039
+#reset
+
+#data
+* { outline-color: transparent }
+#errors
+#expected
+| 1 *
+| 0x00000039
+#reset
+
##
## 3a - outline-style
##