W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: [CSS 2.1] Request for links to additional error recovery parser tests

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 02 Jan 2008 14:11:27 -0500
Message-ID: <477BE1DF.3030901@inkedblade.net>
To: www-style@w3.org

Justin Rogers wrote:
> Iíve done some basic homework and pulled up a few of the public suites 
> for error recovery but nothing shows up as really complex. Iím 
> specifically trying to find test cases for matching pairs of 
> braces/blocks/parens.
> 
> style=Ēcolor: red }; background-color: green;Ē 
> 
> Opera/Safari treat the } as the end of the style block. Perhaps by 
> implying a { at the beginning, but they donít parse after the } at all.
> 
> FireFox will throw out the color: red and apply the background-color: 
> green as if it realizes color as an invalid property.
> 
> IE 7 and less will apply both properties.

Recorded as CSS2.1 issue 25:
   http://csswg.inkedblade.net/spec/css2.1#issue-25

I think the } should be treated as an invalid token.

~fantasai
Received on Wednesday, 2 January 2008 19:11:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:57 GMT