Changeset 57476 in webkit
- Timestamp:
- Apr 12, 2010 11:42:48 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57473 r57476 1 2010-04-12 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 https://bugs.webkit.org/show_bug.cgi?id=37455, :visited doesn't work with multiple classes/ids. 6 7 * fast/history/multiple-classes-visited-expected.txt: Added. 8 * fast/history/multiple-classes-visited.html: Added. 9 1 10 2010-04-12 Jeff Schiller <codedread@gmail.com> 2 11 -
trunk/LayoutTests/platform/win/Skipped
r57464 r57476 697 697 fast/history/back-forward-reset-after-error-handling.html 698 698 699 # Need to implement computedStyleWithVisitedInfo 700 fast/history/multiple-classes-visited.html 701 fast/history/nested-visited-test.html 702 fast/history/self-is-visited.html 703 fast/history/sibling-visited-test.html 704 699 705 # ACCELERATED_COMPOSITING tests that crash 700 706 compositing/layers-inside-overflow-scroll.html -
trunk/WebCore/ChangeLog
r57474 r57476 1 2010-04-12 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 https://bugs.webkit.org/show_bug.cgi?id=37455, :visited doesn't work with multiple classes/ids. 6 7 Added fast/history/multiple-classes-visited.html. 8 9 * css/CSSStyleSelector.cpp: 10 (WebCore::CSSStyleSelector::SelectorChecker::checkSelector): 11 1 12 2010-04-12 Dirk Schulze <krit@webkit.org> 2 13 -
trunk/WebCore/css/CSSStyleSelector.cpp
r57299 r57476 920 920 { 921 921 PseudoId dynamicPseudo = NOPSEUDO; 922 923 return checkSelector(sel, element, 0, dynamicPseudo, true, false) == SelectorMatches; 922 return checkSelector(sel, element, 0, dynamicPseudo, false, false) == SelectorMatches; 924 923 } 925 924 … … 1830 1829 1831 1830 // Check for nested links. 1832 if (m_matchVisitedPseudoClass ) {1831 if (m_matchVisitedPseudoClass && !isSubSelector) { 1833 1832 RenderStyle* currentStyle = elementStyle ? elementStyle : e->renderStyle(); 1834 1833 if (currentStyle && currentStyle->insideLink() && e->isLink()) {
Note: See TracChangeset
for help on using the changeset viewer.