summaryrefslogtreecommitdiff
path: root/test/data/csdetect/bom-charset.dat
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-05-01 16:36:27 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-05-01 16:36:27 +0000
commit72c39e3522c5781d1e7dc8abad77d96141c5d49b (patch)
treee16497caaa0bf20771ef34787de02fc95e5993bf /test/data/csdetect/bom-charset.dat
downloadlibcss-72c39e3522c5781d1e7dc8abad77d96141c5d49b.tar.gz
libcss-72c39e3522c5781d1e7dc8abad77d96141c5d49b.tar.bz2
Import beginnings of a CSS parsing library.
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112
Diffstat (limited to 'test/data/csdetect/bom-charset.dat')
-rw-r--r--test/data/csdetect/bom-charset.dat21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/data/csdetect/bom-charset.dat b/test/data/csdetect/bom-charset.dat
new file mode 100644
index 0000000..b6eb9f7
--- /dev/null
+++ b/test/data/csdetect/bom-charset.dat
@@ -0,0 +1,21 @@
+#data
+@charset "UTF-8";html{color:green}
+/* starts with utf-8 bom */
+#encoding
+utf-8
+
+#data
+@charset "ISO-8859-1";html{color:green}
+/* starts with utf-8 bom, so @charset is ignored */
+#encoding
+utf-8
+
+#data
+@charset "ISO-8859-2";html{color:green}
+#encoding
+iso-8859-2
+
+#data
+@charset "IMadeThisUp";html{color:green}
+#encoding
+utf-8