2010-12-02 Rob Buis <rwlbuis@gmail.com>
authorrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Dec 2010 08:08:46 +0000 (08:08 +0000)
committerrwlbuis@webkit.org <rwlbuis@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Dec 2010 08:08:46 +0000 (08:08 +0000)
commit8dd9ec6ad681f39f1c38ab34ff263d5e15397538
tree33149a1d85b8076e46e4588b6c84bf70acacb97a
parent220fb6ca267bf81f19456e20b9a4a2b4e334bd4c
2010-12-02  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Alexey Proskuryakov.

        CSS 2.1 failure: at-import-*
        https://bugs.webkit.org/show_bug.cgi?id=47153

        Fix at-import-010.htm by only setting m_allowImportRules
        to false when creating valid style or page rules.

         Test: css2.1/t040105-import-10-b.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::createStyleRule):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/css2.1/t040105-import-10-b.html [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t040105-import-10-b-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t040105-import-10-b-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/css2.1/t040105-import-10-b-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSParser.cpp