summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-14 00:31:55 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-14 00:31:55 +0000
commit48ec2d9eab392794845b666f7b261e4db38fd1e9 (patch)
treebfc95ba92f743db66e99810c1e07bfda6b7f7f6a /test
parent4c5bd473ed3d375034cf436a53eb1573b409acbe (diff)
downloadlibcss-48ec2d9eab392794845b666f7b261e4db38fd1e9.tar.gz
libcss-48ec2d9eab392794845b666f7b261e4db38fd1e9.tar.bz2
at-rule test data. Only @charset for now.
svn path=/trunk/libcss/; revision=6061
Diffstat (limited to 'test')
-rw-r--r--test/data/parse/INDEX1
-rw-r--r--test/data/parse/atrules.dat24
2 files changed, 25 insertions, 0 deletions
diff --git a/test/data/parse/INDEX b/test/data/parse/INDEX
index 7798945..1ae95e9 100644
--- a/test/data/parse/INDEX
+++ b/test/data/parse/INDEX
@@ -4,3 +4,4 @@
tests1.dat Basic tests
selectors.dat Selectors
+atrules.dat @-rules
diff --git a/test/data/parse/atrules.dat b/test/data/parse/atrules.dat
new file mode 100644
index 0000000..ebd0f89
--- /dev/null
+++ b/test/data/parse/atrules.dat
@@ -0,0 +1,24 @@
+## Basic @-rules
+
+#data
+@charset "UTF-8";
+#errors
+#expected
+| 2 UTF-8
+#reset
+
+##data
+#@import "foo.css";
+##errors
+##expected
+#| 3 foo.css
+##reset
+#
+##data
+#@import url("foo.css");
+##errors
+##expected
+#| 3 foo.css
+##reset
+
+