From 59caf847183261bf31ac75e5e1ab7d819480ffee Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 1 Apr 2009 17:35:29 +0000 Subject: Support named colours. Fix malformed declaration test data -- everything up to and including the next semicolon is dropped on the floor. svn path=/trunk/libcss/; revision=7020 --- test/data/parse2/malformed-declarations.dat | 46 ++++++++++++++--------------- 1 file changed, 22 insertions(+), 24 deletions(-) (limited to 'test/data/parse2/malformed-declarations.dat') diff --git a/test/data/parse2/malformed-declarations.dat b/test/data/parse2/malformed-declarations.dat index 84703f5..9f21024 100644 --- a/test/data/parse2/malformed-declarations.dat +++ b/test/data/parse2/malformed-declarations.dat @@ -75,32 +75,30 @@ | color: #bbbbcc00 #reset -##data -#* { background-color: black; :; color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; :; color: white; } +#errors +#expected +| * +| background-color: #00000000 +| color: #ffffff00 +#reset -##data -#* { background-color: black; : color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; : color: white; } +#errors +#expected +| * +| background-color: #00000000 +#reset -##data -#* { background-color: black; dentist: color: white; } -##errors -##expected -#| * -#| background-color: #00000000 -#| color: #ffffff00 -##reset +#data +* { background-color: black; dentist: color: white; } +#errors +#expected +| * +| background-color: #00000000 +#reset #data *{f():{ -- cgit v1.2.3