From 72c39e3522c5781d1e7dc8abad77d96141c5d49b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 1 May 2008 16:36:27 +0000 Subject: Import beginnings of a CSS parsing library. Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112 --- test/data/csdetect/bom-charset.dat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/data/csdetect/bom-charset.dat (limited to 'test/data/csdetect/bom-charset.dat') 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 -- cgit v1.2.3