Bug 19567 - Parsing malformed rules: Valid rule after malformed rule
Summary: Parsing malformed rules: Valid rule after malformed rule
Status: RESOLVED DUPLICATE of bug 14346
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://samples.msdn.microsoft.com/css...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 00:47 PDT by Joe W
Modified: 2008-07-18 01:33 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe W 2008-06-16 00:47:16 PDT
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>
Comment 1 Joe W 2008-06-16 00:49:11 PDT
Related to: http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-005.htm (Parsing malformed rules: Semi-colon before property) 
Comment 2 Robert Blaut 2008-07-18 01:33:17 PDT

*** This bug has been marked as a duplicate of 14346 ***