Changeset 12869 in webkit
- Timestamp:
- Feb 17, 2006 1:37:34 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r12868 r12869 1 2006-02-17 Mitz Pettel <opendarwin.org@mitzpettel.com> 2 3 Reviewed by Maciej. 4 5 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7218 6 Text underlined on mouse over 7 8 * fast/css/universal-hover-quirk-expected.checksum: Added. 9 * fast/css/universal-hover-quirk-expected.png: Added. 10 * fast/css/universal-hover-quirk-expected.txt: Added. 11 * fast/css/universal-hover-quirk.html: Added. 12 1 13 2006-02-17 Mitz Pettel <opendarwin.org@mitzpettel.com> 2 14 -
trunk/WebCore/ChangeLog
r12868 r12869 1 2006-02-17 Mitz Pettel <opendarwin.org@mitzpettel.com> 2 3 Test: fast/css/universal-hover-quirk.html 4 5 Reviewed by Maciej. 6 7 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7218 8 Text underlined on mouse over 9 10 * css/cssstyleselector.cpp: 11 (WebCore::CSSStyleSelector::checkOneSelector): Prevent *:hover and *:active 12 from matching anything in quirks mode. 13 1 14 2006-02-17 Mitz Pettel <opendarwin.org@mitzpettel.com> 2 15 -
trunk/WebCore/css/cssstyleselector.cpp
r12865 r12869 1404 1404 case CSSSelector::PseudoHover: { 1405 1405 // If we're in quirks mode, then hover should never match anchors with no 1406 // href . This is important for sites like wsj.com.1407 if (strictParsing || !e->hasTagName(aTag) || e->isLink()) {1406 // href and *:hover should not match anything. This is important for sites like wsj.com. 1407 if (strictParsing || (sel->hasTag() && !e->hasTagName(aTag)) || e->isLink()) { 1408 1408 if (element == e && style) 1409 1409 style->setAffectedByHoverRules(true); … … 1435 1435 case CSSSelector::PseudoActive: 1436 1436 // If we're in quirks mode, then :active should never match anchors with no 1437 // href .1438 if (strictParsing || !e->hasTagName(aTag) || e->isLink()) {1437 // href and *:active should not match anything. 1438 if (strictParsing || (sel->hasTag() && !e->hasTagName(aTag)) || e->isLink()) { 1439 1439 if (element == e && style) 1440 1440 style->setAffectedByActiveRules(true);
Note: See TracChangeset
for help on using the changeset viewer.