Skip to content

Implement :nth-child(An+B of selector list) #291

Closed
@BenjaminPoulain

Description

@BenjaminPoulain

WebKit has support for CSS4's :nth-child(An+B of selector list). It would be great if sizzle could add the pseudo class to simplify backward compatibility.

The specification is here: http://dev.w3.org/csswg/selectors/#the-nth-child-pseudo
My implementation feedback to W3C: http://lists.w3.org/Archives/Public/www-style/2014Oct/0106.html
The tests of WebKit are here: http://trac.webkit.org/browser/trunk/LayoutTests/fast/selectors/ (all the tests starting with nth-child-of. The most useful outside WebKit are nth-child-of-basics.html and nth-child-of-basics-2.html).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions