Changeset 31238 in webkit
- Timestamp:
- Mar 23, 2008 2:08:40 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r31236 r31238 1 2008-03-23 Robert Blaut <webkit@blaut.biz> 2 3 Reviewed by eseidel. Landed by eseidel. 4 5 Test to ensure [~=] attribute selector doesn't match empty string 6 7 * fast/css/attribute-selector-empty-value.html: Added. 8 1 9 2008-03-23 Oliver Hunt <oliver@apple.com> 2 10 -
trunk/WebCore/ChangeLog
r31235 r31238 1 2008-03-23 Robert Blaut <webkit@blaut.biz> 2 3 Reviewed by eseidel. Landed by eseidel. 4 5 Bug 17685: [~=] attribute selector failing to match empty string 6 <http://bugs.webkit.org/show_bug.cgi?id=17685> 7 8 Test: fast/css/attribute-selector-empty-value.html 9 10 * css/CSSStyleSelector.cpp: 11 (WebCore::CSSStyleSelector::checkOneSelector): 12 1 13 2008-03-22 Marco Barisione <marco.barisione@collabora.co.uk> 2 14 -
trunk/WebCore/css/CSSStyleSelector.cpp
r31160 r31238 1465 1465 case CSSSelector::List: 1466 1466 { 1467 // The selector's value can't contain a space, or it's totally bogus.1468 if (sel->m_value.contains(' ') )1467 // Ignore empty selectors or selectors containing spaces 1468 if (sel->m_value.contains(' ') || sel->m_value.isEmpty()) 1469 1469 return false; 1470 1470
Note: See TracChangeset
for help on using the changeset viewer.