summaryrefslogtreecommitdiff
path: root/test/data/parse2/font.dat
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-05-26 18:39:09 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-05-26 18:39:09 +0000
commitc13945dd277f68ee913df42bf83c9cd2ba9f4014 (patch)
treea42ee4087840028aceb92b24db78ef87ec0fe79b /test/data/parse2/font.dat
parent0fe0ab48ac488fbb04397f376d116889088fe4b7 (diff)
downloadlibcss-c13945dd277f68ee913df42bf83c9cd2ba9f4014.tar.gz
Add a few tests.
svn path=/trunk/libcss/; revision=12446
Diffstat (limited to 'test/data/parse2/font.dat')
-rw-r--r--test/data/parse2/font.dat33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/data/parse2/font.dat b/test/data/parse2/font.dat
index 04a935e..5155f78 100644
--- a/test/data/parse2/font.dat
+++ b/test/data/parse2/font.dat
@@ -52,6 +52,39 @@
#reset
#data
+* { font: oblique 10pt serif; }
+#errors
+#expected
+| *
+| font-style: oblique
+| font-variant: normal
+| font-weight: normal
+| font-size: 10pt
+| line-height: normal
+| font-family: serif
+#reset
+
+#data
+* { font: 12pt serif; }
+#errors
+#expected
+| *
+| font-style: normal
+| font-variant: normal
+| font-weight: normal
+| font-size: 12pt
+| line-height: normal
+| font-family: serif
+#reset
+
+#data
+* { font: serif 12pt; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { font: small-caps 10pt serif; }
#errors
#expected