summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-07-30 20:05:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-07-30 20:05:15 +0000
commita324baae03e4018c2c1aa8e4692505f8fcbe7172 (patch)
tree1c0ee3e41d2284347c87a12682f023d9c83416dc /test/data
parente697509c239a4dd22e4543aca5308b57b248e4f3 (diff)
downloadlibcss-a324baae03e4018c2c1aa8e4692505f8fcbe7172.tar.gz
libcss-a324baae03e4018c2c1aa8e4692505f8fcbe7172.tar.bz2
Implement the first-stage parser.
Things missing: 1) Recovery after parse errors 2) Event emission (the locations of DEBUG_EVENTS are about right for this) 3) A second-stage parser 4) Any kind of testsuite svn path=/trunk/libcss/; revision=4825
Diffstat (limited to 'test/data')
-rw-r--r--test/data/css/INDEX1
-rw-r--r--test/data/css/blocks.css10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/data/css/INDEX b/test/data/css/INDEX
index 531d4a5..4d46ba2 100644
--- a/test/data/css/INDEX
+++ b/test/data/css/INDEX
@@ -4,3 +4,4 @@
simple.css Reasonably simple CSS file (semantically invalid)
allzengarden.css All CSS Zen Garden stylesheets concatenated
+blocks.css Basic blocks and at-rule syntax
diff --git a/test/data/css/blocks.css b/test/data/css/blocks.css
new file mode 100644
index 0000000..9ecd720
--- /dev/null
+++ b/test/data/css/blocks.css
@@ -0,0 +1,10 @@
+@charset "UTF-8";
+
+@import "simple.css";
+
+@media screen
+{
+ body { background-color: green; }
+}
+
+