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