summaryrefslogtreecommitdiff
path: root/test/data/css/malformed.css
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 01:15:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-01 01:15:31 +0000
commitda22dbf81c7310a5c6195c26922d07652c88392f (patch)
treeef85fb89f8da96dcb8f19c77aabe77f73904695d /test/data/css/malformed.css
parentb3a1829bf335a174f3cf799c919d4007c0bfaacb (diff)
downloadlibcss-da22dbf81c7310a5c6195c26922d07652c88392f.tar.gz
libcss-da22dbf81c7310a5c6195c26922d07652c88392f.tar.bz2
Fix handling of empty strings.
Parse errors in blocks are ignored -- it'll be up to the client to deal with this. Fix processing of malformed decl-list entries (e.g. foo: bar; !important;) Fix test driver to calculate remaining length correctly. svn path=/trunk/libcss/; revision=4849
Diffstat (limited to 'test/data/css/malformed.css')
-rw-r--r--test/data/css/malformed.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/data/css/malformed.css b/test/data/css/malformed.css
index cfcbb23..4ff885b 100644
--- a/test/data/css/malformed.css
+++ b/test/data/css/malformed.css
@@ -5,6 +5,7 @@ p { color:green; color: } /* malformed declaration missing value */
p { color:red; color:; color:green } /* same with expected recovery */
p { color:green; color{;color:maroon} } /* unexpected tokens { } */
p { color:red; color{;color:maroon}; color:green } /* same with recovery */
+p { color:red; !important; color:green }
@blah <!-- ;
@foo --> { moose }