Changeset 34409 in webkit
- Timestamp:
- Jun 6, 2008 3:51:19 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r34405 r34409 1 2008-06-06 Robert Blaut <webkit@blaut.biz> 2 3 Reviewed by Darin Adler. 4 5 Test for https://bugs.webkit.org/show_bug.cgi?id=19407 6 CSS3 Selector Test: *= ~= ^= $= should all accept the empty string, but match nothing. 7 8 * fast/css/begin-end-contain-selector-empty-value.html: Added. 9 * platform/mac/fast/css/begin-end-contain-selector-empty-value-expected.txt: Added. 10 1 11 2008-06-06 Anthony Ricaud <rik24d@gmail.com> 2 12 -
trunk/WebCore/ChangeLog
r34408 r34409 1 2008-06-06 Robert Blaut <webkit@blaut.biz> 2 3 Reviewed by Darin Adler. 4 5 Fix for https://bugs.webkit.org/show_bug.cgi?id=19407 6 CSS3 Selector Test: *= ~= ^= $= should all accept the empty string, but match nothing 7 8 Test: fast/css/begin-end-contain-selector-empty-value.html 9 10 * css/CSSStyleSelector.cpp: 11 (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): 12 1 13 2008-06-06 Eric Seidel <eric@webkit.org> 2 14 -
trunk/WebCore/css/CSSStyleSelector.cpp
r34370 r34409 1578 1578 } 1579 1579 case CSSSelector::Contain: 1580 if (!value.contains(sel->m_value, caseSensitive) )1580 if (!value.contains(sel->m_value, caseSensitive) || sel->m_value.isEmpty()) 1581 1581 return false; 1582 1582 break; 1583 1583 case CSSSelector::Begin: 1584 if (!value.startsWith(sel->m_value, caseSensitive) )1584 if (!value.startsWith(sel->m_value, caseSensitive) || sel->m_value.isEmpty()) 1585 1585 return false; 1586 1586 break; 1587 1587 case CSSSelector::End: 1588 if (!value.endsWith(sel->m_value, caseSensitive) )1588 if (!value.endsWith(sel->m_value, caseSensitive) || sel->m_value.isEmpty()) 1589 1589 return false; 1590 1590 break;
Note: See TracChangeset
for help on using the changeset viewer.