• yuzo@google.com's avatar
    2010-05-18 Yuzo Fujishima <yuzo@google.com> · 87d4a841
    yuzo@google.com authored
            Reviewed by Shinichiro Hamaji.
    
            Make CSS Parser properly handle only-for-pages pseudo-classes.
    
            https://bugs.webkit.org/show_bug.cgi?id=38731
    
            * fast/css/misplaced-paged-media-pseudo-expected.txt: Removed.
            * fast/css/misplaced-paged-media-pseudo.html: Removed.
            * printing/page-rule-css-text-expected.txt:
            * printing/page-rule-css-text.html:
            * printing/pseudo-class-outside-page-expected.txt:
            * printing/pseudo-class-outside-page.html:
    2010-05-18  Yuzo Fujishima  <yuzo@google.com>
    
            Reviewed by Shinichiro Hamaji.
    
            Make CSS Parser properly handle only-for-pages pseudo-classes.
    
            A new Match category, PagePseudoClass, is introduced to distinguish
            only-for-pages pseudo-classes from others. A new symbol, pseudo_page,
            is introduced to handle them separately.
    
            https://bugs.webkit.org/show_bug.cgi?id=38731
    
            * css/CSSGrammar.y:
            * css/CSSParser.cpp:
            (WebCore::CSSParser::createMarginAtRule):
            * css/CSSParser.h:
            * css/CSSSelector.cpp:
            (WebCore::CSSSelector::extractPseudoType):
            (WebCore::CSSSelector::selectorText):
            * css/CSSSelector.h:
            (WebCore::CSSSelector::):
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    87d4a841
pseudo-class-outside-page-expected.txt 374 Bytes