Opened 13 years ago
Closed 13 years ago
#6519 closed bug (invalid)
:first pseudo-selector conflicts with CSS paged media module's :first
Reported by: | visnup | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | selector | Version: | 1.4.2 |
Keywords: | sizzle :first | Cc: | |
Blocked by: | Blocking: |
Description
webkit nightly r58385 [1] added support for css paged media, in particular the :left, :right, and :first pseudo-selectors. this means webkit won't throw an error when ":first" is encountered by querySelectorAll and instead returns an empty array [2]. this breaks any selectors using sizzle's :first pseudo-selector in the latest webkit nightlies.
I've filed another bug against webkit, hoping to get errors thrown (again) when :first is encountered outside of an @page rule context [3].
[1] http://trac.webkit.org/changeset/58385 [2] http://github.com/jeresig/sizzle/blob/master/sizzle.js#L920 [3] https://bugs.webkit.org/show_bug.cgi?id=38499
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
specification of css paged media's :first pseudo-selector is here: http://dev.w3.org/csswg/css3-page/#left-right-first
comment:4 Changed 13 years ago by
Priority: | → undecided |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Reviewing the material available, the bug mentioned in this ticket has been closed in https://bugs.webkit.org/show_bug.cgi?id=38697 as a Webkit issue earlier in the year. Filing as closed.
forgot how trac formatting works and can't edit the description now to make the footnote links clearer.