[webkit-reviews] review requested: [Bug 51231] document.querySelector(':nth-child(foo)') should throw a syntax error : [Attachment 78110] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 6 05:58:56 PST 2011


Yael <yael.aharon at nokia.com> has asked	for review:
Bug 51231: document.querySelector(':nth-child(foo)') should throw a syntax
error
https://bugs.webkit.org/show_bug.cgi?id=51231

Attachment 78110: Patch
https://bugs.webkit.org/attachment.cgi?id=78110&action=review

------- Additional Comments from Yael <yael.aharon at nokia.com>
Add a check in the parser that nth selectors can only accept an+b, odd or even
as parameters.


More information about the webkit-reviews mailing list