summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/data/parse/properties.dat65
-rw-r--r--test/data/parse/tests1.dat16
2 files changed, 81 insertions, 0 deletions
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index 8869aba..4137d0b 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -35,6 +35,30 @@
#reset
#data
+* { azimuth: center-left; !important }
+#errors
+#expected
+| 1 *
+| 0x000c0000
+#reset
+
+#data
+* { azimuth: center-left !important; }
+#errors
+#expected
+| 1 *
+| 0x000c0400
+#reset
+
+#data
+* { azimuth: center-left ! important; }
+#errors
+#expected
+| 1 *
+| 0x000c0400
+#reset
+
+#data
* { azimuth: center; }
#errors
#expected
@@ -75,6 +99,47 @@
#reset
#data
+* { azimuth: behind; }
+#errors
+#expected
+| 1 *
+| 0x00800000
+#reset
+
+#data
+* { azimuth: behind far-right; }
+#errors
+#expected
+| 1 *
+| 0x009c0000
+#reset
+
+#data
+* { azimuth: far-right behind; }
+#errors
+#expected
+| 1 *
+| 0x009c0000
+#reset
+
+#data
+* { azimuth: far-right; }
+#errors
+#expected
+| 1 *
+| 0x009c0400
+#reset
+
+#data
+* { azimuth: far-right !important behind; }
+#errors
+#expected
+| 1 *
+| 0x001c0400
+#reset
+
+
+#data
* { azimuth: leftwards; }
#errors
#expected
diff --git a/test/data/parse/tests1.dat b/test/data/parse/tests1.dat
index ad63242..b4cbfac 100644
--- a/test/data/parse/tests1.dat
+++ b/test/data/parse/tests1.dat
@@ -22,6 +22,22 @@
#reset
#data
+* { color: inherit ! important }
+#errors
+#expected
+| 1 *
+| 0x00000c18
+#reset
+
+#data
+* { color: inherit !important }
+#errors
+#expected
+| 1 *
+| 0x00000c18
+#reset
+
+#data
* { background-image: url("foo.png"); color: inherit }
#errors
#expected