Skip to content
  • darin's avatar
    LayoutTests: · d0cf0353
    darin authored
            Reviewed by Hyatt.
    
            - Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7327
              REGRESSION (r12869): :hover subselector does not work in quirks mode
    
            * fast/css/hover-subselector-expected.checksum: Added.
            * fast/css/hover-subselector-expected.png: Added.
            * fast/css/hover-subselector-expected.txt: Added.
            * fast/css/hover-subselector.html: Added.
    
    WebCore:
    
            Test: fast/css/hover-subselector.html
    
            Reviewed by Hyatt.
    
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7327
              REGRESSION (r12869): :hover subselector does not work in quirks mode
    
            * css/cssstyleselector.h:
            * css/cssstyleselector.cpp:
            (WebCore::CSSStyleSelector::checkSelector): Pass flag to indicate sub-selector.
            (WebCore::CSSStyleSelector::checkOneSelector): Apply the *:hover and *:active quirks only
            when there are no sub-selectors.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d0cf0353