RESOLVED DUPLICATE of bug 38697 Bug 38499
css paged media :first pseudo-selector conflicts with sizzlejs / jquery
https://bugs.webkit.org/show_bug.cgi?id=38499
Summary css paged media :first pseudo-selector conflicts with sizzlejs / jquery
visnu pitiyanuvath
Reported 2010-05-03 17:27:01 PDT
r58385 introduced support for css paged media and the pseudo-selectors :left, :right, and :first. unfortunately, sizzlejs already uses the :first pseudo-selector to mean different semantics. sizzlejs is used in the jquery and dojo javascript libraries, which are extensively used on the web. in particular, sizzlejs assumes that browsers will throw an error when passed ":first" as a token to document.querySelectorAll [1]. I'm not sure who to file the bug against: sizzle or webkit. I'll file another bug against sizzle. if anything, expected behavior for webkit could be to still throw an exception if the :first pseudo-selector is found outside of an @page rule context. [1] http://github.com/jeresig/sizzle/blob/master/sizzle.js#L920
Attachments
visnu pitiyanuvath
Comment 1 2010-05-03 17:38:28 PDT
jquery bug filed here: http://dev.jquery.com/ticket/6519
visnu pitiyanuvath
Comment 2 2010-05-07 15:06:36 PDT
thinking I should post in radar to get more attention. ;) *** This bug has been marked as a duplicate of bug 38697 ***
Alexey Proskuryakov
Comment 3 2010-05-07 15:21:39 PDT
Thanks for following up on this. >thinking I should post in radar to get more attention. ;) Sorry for having overlooked your earlier report. It's usually helpful to structure high importance bug reports like this around a specific user observable symptom (like "www.example.org no longer works in r12345 nightly"), as this gets more eyes looking at the issue.
Note You need to log in before you can comment on or make changes to this bug.