WebCore:
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jul 2008 09:34:36 +0000 (09:34 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jul 2008 09:34:36 +0000 (09:34 +0000)
commit8136ee3fce96f953b0ee66a6606947c53eef1279
tree89bfda3041d7c1cf7e3e886d9b1f70b323b67d96
parenta906c485e590d1a339e920abe842acce5c0186f3
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.

        * 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@35261 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
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
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
LayoutTests/platform/mac/css2.1/t0402-syntax-06-f-expected.txt
WebCore/ChangeLog
WebCore/css/CSSGrammar.y