[Webkit-unassigned] [Bug 83885] CSS3 Selectors failures on css3test.com
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 16 04:03:56 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83885
--- Comment #5 from Uday Kiran <udaykiran at motorola.com> 2012-04-16 04:03:56 PST ---
Thanks for reviewing.
(In reply to comment #3)
> (From update of attachment 137076 [details])
> Good catch, just a few comments:
>
> View in context: https://bugs.webkit.org/attachment.cgi?id=137076&action=review
>
> > Source/WebCore/ChangeLog:8
> > + Parsing fails for :nth-child(-n-1) :nth-last-child(-n-1) :nth-of-type(-n-1) :nth-last-of-type(-n-1).
>
> Please describe why. (-n-1 also a valid ID, so we need to resume parsing after the 'n' all the time and such)
Done.
>
> > Source/WebCore/css/CSSParser.cpp:8543
> > + // In parseIdentifier, loop doesn't break for numbers.
>
> What do you mean here?
In parseIdentifier function, loop doesn't break for numbers as isCSSLetter(digit) is true, CharacterDash is greater than CharacterNumber.
Moved comment to changelog.
>
> > Source/WebCore/css/CSSParser.cpp:8546
> > + m_currentCharacter = &m_tokenStart[1];
>
> simply m_tokenStart + 1
>
Done.
> > Source/WebCore/css/CSSParser.cpp:8644
> > + // In parseIdentifier, loop doesn't break for numbers.
>
> ditto.
>
Done.
> > Source/WebCore/css/CSSParser.cpp:8647
> > + m_currentCharacter = &m_tokenStart[2];
>
> ditto
Done.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list