On Wed, 19 Mar 2008, Benjamin Hawkes-Lewis wrote: > Sorry, but I think you've missed the point of the test case: > > p { color:red; color:; color:green } > > The problem is not that the validator reports a redefinition of color. The > problem is that if you apply the rule: > > "Lexical errors are handled with a skip to matching brace" > > Then the validator should skip to the matching brace after "color:;", since > that is a "lexical error". It should not report any declarations after > "color:;" at all, whether they are redefinitions or not. In fact, the CSS21 text says that a UA must read until the end of a declaration, in that case a ';' or a '}' and in doing that, ignore matching pairs, like '{..}' And that's what the bug fix was about, ignoring matching pairs, while previously it was just looking for a ; or }. HTH, -- Baroula que barouleras, au tiéu toujou t'entourneras. ~~YvesReceived on Wednesday, 19 March 2008 09:38:19 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 March 2009 14:44:30 GMT