2010-11-24 Alexander Pavlov <apavlov@chromium.org>
authorapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Nov 2010 18:45:53 +0000 (18:45 +0000)
committerapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Nov 2010 18:45:53 +0000 (18:45 +0000)
commit49035d32d6c6cb2c0c34a3b792d3ac6b6d858c3a
tree39414d42c50283cb920c63faf1a7297c42ddbff4
parent704d88ad9a1c3f9908efefbc49feb0d445ce99ff
2010-11-24  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Crash when inspecting http://alphaarnhem.nl/beta/
        https://bugs.webkit.org/show_bug.cgi?id=50025

        @font-face rules were improperly handled by source data extractor.

        WebCore:
        * css/CSSParser.cpp:
        (WebCore::CSSParser::CSSParser):
        (WebCore::CSSParser::parseDeclaration):
        (WebCore::CSSParser::createStyleRule):
        (WebCore::CSSParser::markRuleBodyStart):
        (WebCore::CSSParser::markPropertyStart):
        (WebCore::CSSParser::markPropertyEnd):
        * css/CSSParser.h:

        LayoutTests:
        * inspector/resources/styles-new-API-1.css:
        (@font-face):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/resources/styles-new-API-1.css
WebCore/ChangeLog
WebCore/css/CSSParser.cpp
WebCore/css/CSSParser.h