From da22dbf81c7310a5c6195c26922d07652c88392f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 1 Aug 2008 01:15:31 +0000 Subject: 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 --- test/data/css/malformed.css | 1 + 1 file changed, 1 insertion(+) (limited to 'test/data/css/malformed.css') 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 { moose } -- cgit v1.2.3