Changeset 85416 in webkit
- Timestamp:
- May 1, 2011 10:08:25 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r85413 r85416 1 2011-05-01 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Eric Seidel. 4 5 CSS3 nth-child(n) selector fails 6 https://bugs.webkit.org/show_bug.cgi?id=56943 7 8 * fast/css/nth-child-n-expected.txt: Added. 9 * fast/css/nth-child-n.html: Added. 10 1 11 2011-05-01 Nikolas Zimmermann <nzimmermann@rim.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r85415 r85416 1 2011-05-01 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Eric Seidel. 4 5 CSS3 nth-child(n) selector fails 6 https://bugs.webkit.org/show_bug.cgi?id=56943 7 8 Regression from r75158. 9 "n" is a valid parameter to nth() and should be allowed. 10 11 Test: fast/css/nth-child-n.html 12 13 * css/CSSParser.cpp: 14 (WebCore::isValidNthToken): 15 1 16 2011-05-01 Pavel Feldman <pfeldman@chromium.org> 2 17 -
trunk/Source/WebCore/css/CSSParser.cpp
r85213 r85416 6773 6773 { 6774 6774 // The tokenizer checks for the construct of an+b. 6775 // nth can also accept " odd" or "even" but should not accept any other token.6776 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") ;6775 // nth can also accept "n", "odd" or "even" but should not accept any other token. 6776 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") || equalIgnoringCase(token, "n"); 6777 6777 } 6778 6778
Note: See TracChangeset
for help on using the changeset viewer.