Couldn't find if this was reported already... Just looking at what IE8 guys are up to... But current nightly build (as of 6/16/08 2am CST) isn't handling the malformed CSS correctly... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CSS 2.1 Test Suite: Parsing malformed rules: Valid rule after malformed rule</title> <link rel="author" title="Microsoft" href="http://www.microsoft.com" /> <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" /> <meta name="flags" content="invalid" /> <meta name="assert" content="Malformed rules should be ignored while valid rules are applied." /> <style type="text/css"> p { color: red; color{;color: red}; <!-- malformed rule --/> color: green; } </style> </head> <body> <p>This text should be green.</p> </body> </html>
Related to: http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-005.htm (Parsing malformed rules: Semi-colon before property)
*** This bug has been marked as a duplicate of 14346 ***