WebCore:
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Jul 2008 21:08:29 +0000 (21:08 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Jul 2008 21:08:29 +0000 (21:08 +0000)
commitdad217f0557c34580968d25daf359dda3554132e
tree2428c2631536cca8eede09e19d664eb1eb595cf6
parentf4f2e7bf27a81f74a57b1235eabd7842da3cbbe2
WebCore:

2008-07-21  Anatoli Papirovski  <apapirovski@mac.com>

        Reviewed by Dave Hyatt.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=14346
        Modified the css parser:
        - not to fail when closing braces are not found for
          a declaration at the end of the file
        - not to accept "!important fail" as valid
        - to keep accepting @import when it comes after invalid @ rules
        - not to drop the whole @media block when there's an error before the
          closing brace
        + some other minor css parsing revisions.

        CSSGrammar.y tweaked by David Kilzer to fix Tiger builds.

        * css/CSSGrammar.y:

LayoutTests:

2008-07-21  Anatoli Papirovski  <apapirovski@mac.com>

        Reviewed by Dave Hyatt.

        Updated layout CSS2.1 test suite tests related to css parsing:
        https://bugs.webkit.org/show_bug.cgi?id=14346

        * platform/mac/css2.1/t040105-import-01-b-expected.checksum:
        * platform/mac/css2.1/t040105-import-01-b-expected.png:
        * platform/mac/css2.1/t040105-import-01-b-expected.txt:
        * platform/mac/css2.1/t0402-syntax-05-f-expected.checksum:
        * platform/mac/css2.1/t0402-syntax-05-f-expected.png:
        * platform/mac/css2.1/t0402-syntax-05-f-expected.txt:
        * platform/mac/css2.1/t0402-syntax-06-f-expected.checksum:
        * platform/mac/css2.1/t0402-syntax-06-f-expected.png:
        * platform/mac/css2.1/t0402-syntax-06-f-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/css2.1/t040105-import-01-b-expected.checksum
LayoutTests/platform/mac/css2.1/t040105-import-01-b-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t040105-import-01-b-expected.txt
LayoutTests/platform/mac/css2.1/t0402-syntax-05-f-expected.checksum
LayoutTests/platform/mac/css2.1/t0402-syntax-05-f-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t0402-syntax-05-f-expected.txt
LayoutTests/platform/mac/css2.1/t0402-syntax-06-f-expected.checksum
LayoutTests/platform/mac/css2.1/t0402-syntax-06-f-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t0402-syntax-06-f-expected.txt
WebCore/ChangeLog
WebCore/css/CSSGrammar.y