Skip to main content

Bug Tracker

Side navigation

#6519 closed bug (invalid)

Opened May 04, 2010 12:35AM UTC

Closed October 06, 2010 08:40PM UTC

: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:

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].




Attachments (0)
Change History (4)

Changed May 04, 2010 12:37AM UTC by visnup comment:1

forgot how trac formatting works and can't edit the description now to make the footnote links clearer.

Changed May 04, 2010 12:37AM UTC by visnup comment:2

specification of css paged media's :first pseudo-selector is here:

Changed May 12, 2010 11:21PM UTC by fizz comment:3

This ticket can be closed-it's fixed in Webkit.

Changed October 06, 2010 08:40PM UTC by addyosmani comment:4

priority: → undecided
resolution: → invalid
status: newclosed

Reviewing the material available, the bug mentioned in this ticket has been closed in as a Webkit issue earlier in the year. Filing as closed.