Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 304163 Implement :nth-child(an+b of S) and :nth-last-child(an+b of S) pseudo-classes
Starred by 21 users Project Member Reported by apavlov@chromium.org, Oct 4 2013 Back to list
Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 536263



Sign in to add a comment
:nth-match() and :nth-last-match() are new pseudo-classes, found in the Selectors level 4 spec (http://www.w3.org/TR/selectors4/#typed-child-index).
 
Note that the spec has been revised. nth-match()  has been folded into :nth-child(), and :nth-last-match() has been folded into :nth-last-child.

http://dev.w3.org/csswg/selectors4/#the-nth-child-pseudo

The new syntax uses an optional "of" followed by a selector:

:nth-child(An+B [of sel]? )

I just doublechecked and this hasn't been implemented yet:

http://jsfiddle.net/Lfj7vjx3/

Please rename this ticket or close this and I can file a new one?
Comment 2 by jemil...@gmail.com, Oct 22 2014
I would like to see this feature get built into chrome as well. The nth-child(An+B [of sel]? ) does not work

Comment 3 by loyso@chromium.org, May 6 2015
Owner: loyso@chromium.org
Comment 4 by loyso@chromium.org, May 6 2015
Labels: -Pri-2 Pri-3 OWP-Standards-UnofficialSpec
Owner: ----
Status: Available
Summary: Implement :nth-child() and :nth-last-child() pseudo-classes (was: Implement :nth-match() and :nth-last-match() pseudo-classes)
Summary: Implement :nth-child(an+b of S) and :nth-last-child(an+b of S) pseudo-classes (was: Implement :nth-child() and :nth-last-child() pseudo-classes)
Comment 6 by timloh@chromium.org, Jan 13 2016
Cc: pbomm...@chromium.org
 Issue 576572  has been merged into this issue.
Comment 7 Deleted
Comment 10 by tkent@chromium.org, Jun 22 2016
Blocking: 536263
Labels: Hotlist-Backlog
Labels: Hotlist-Interop
Labels: Update-Quarterly
Sign in to add a comment