summaryrefslogtreecommitdiff
path: root/test/data/parse2/units.dat
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-01-05 23:17:44 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-01-05 23:17:44 +0000
commit850a55e0feb026ace04b63b9cb8a8c3313768327 (patch)
tree6c137cd5bfeacdc8b7fab4bc91569a81d88c9220 /test/data/parse2/units.dat
parenta827023bed3815e332a33dc9f061584cbf424313 (diff)
parentb8997eb73a1b966939fca4b7e2f4ef799b872ab9 (diff)
downloadlibcss-850a55e0feb026ace04b63b9cb8a8c3313768327.tar.gz
libcss-850a55e0feb026ace04b63b9cb8a8c3313768327.tar.bz2
Merge branch 'tlsa/lcneves/select-autogen'
Diffstat (limited to 'test/data/parse2/units.dat')
-rw-r--r--test/data/parse2/units.dat182
1 files changed, 182 insertions, 0 deletions
diff --git a/test/data/parse2/units.dat b/test/data/parse2/units.dat
new file mode 100644
index 0000000..1052dc5
--- /dev/null
+++ b/test/data/parse2/units.dat
@@ -0,0 +1,182 @@
+#data
+* { width: 10invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { width: inherit; }
+#errors
+#expected
+| *
+| width: inherit
+#reset
+
+#data
+* { width: 10ex; }
+#errors
+#expected
+| *
+| width: 10ex
+#reset
+
+#data
+* { width: 10em; }
+#errors
+#expected
+| *
+| width: 10em
+#reset
+
+#data
+* { width: 10in; }
+#errors
+#expected
+| *
+| width: 10in
+#reset
+
+#data
+* { width: 10cm; }
+#errors
+#expected
+| *
+| width: 10cm
+#reset
+
+#data
+* { width: 10mm; }
+#errors
+#expected
+| *
+| width: 10mm
+#reset
+
+#data
+* { width: 10pt; }
+#errors
+#expected
+| *
+| width: 10pt
+#reset
+
+#data
+* { width: 10pc; }
+#errors
+#expected
+| *
+| width: 10pc
+#reset
+
+#data
+* { width: 10cap; }
+#errors
+#expected
+| *
+| width: 10cap
+#reset
+
+#data
+* { width: 10ch; }
+#errors
+#expected
+| *
+| width: 10ch
+#reset
+
+#data
+* { width: 10ic; }
+#errors
+#expected
+| *
+| width: 10ic
+#reset
+
+#data
+* { width: 10rem; }
+#errors
+#expected
+| *
+| width: 10rem
+#reset
+
+#data
+* { width: 10lh; }
+#errors
+#expected
+| *
+| width: 10lh
+#reset
+
+#data
+* { width: 10rlh; }
+#errors
+#expected
+| *
+| width: 10rlh
+#reset
+
+#data
+* { width: 10vh; }
+#errors
+#expected
+| *
+| width: 10vh
+#reset
+
+#data
+* { width: 10vw; }
+#errors
+#expected
+| *
+| width: 10vw
+#reset
+
+#data
+* { width: 10vi; }
+#errors
+#expected
+| *
+| width: 10vi
+#reset
+
+#data
+* { width: 10vb; }
+#errors
+#expected
+| *
+| width: 10vb
+#reset
+
+#data
+* { width: 10vmin; }
+#errors
+#expected
+| *
+| width: 10vmin
+#reset
+
+#data
+* { width: 10vmax; }
+#errors
+#expected
+| *
+| width: 10vmax
+#reset
+
+#data
+* { width: 10q; }
+#errors
+#expected
+| *
+| width: 10q
+#reset
+
+#data
+* { width: 10%; }
+#errors
+#expected
+| *
+| width: 10%
+#reset