Skip to content

[css-2025][selectors-4] Add features from Selectors 4 to Safe to Release Exceptions #12797

@SebastianZ

Description

@SebastianZ

In #12775 (comment) I was requested to go through Selectors 4 and check for additional features that could be added to the Save to Release pre-CR Exceptions Section of the CSS Snapshot 2025.

Given the outdated Changes section, I didn't realize how many selectors were actually added in level 4 (and widely implemented). It is a bunch! Here's a list of the ones that could potentially be added to the Safe to Release section:

:scope

:defined

:focus-visible

:focus-within

:dir()

:any-link

:open

:popover-open

:modal

:fullscreen

:picture-in-picture

:read-only

:read-write

:placeholder-shown

:autofill

:default

:indeterminate

:valid

:invalid

:in-range

:out-of-range

:required

:optional

:user-valid

:user-invalid

Wildcards and language code matching in :lang()

Selector lists in :nth-child() and :nth-last-child()

Sebastian

PS: Given the huge list of features that are already shipping, I wonder if we should move the rest to level 5, so level 4 can move to CR. I'll create a separate issue for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-2025The new, improved CSS snapshotselectors-4Current Work

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions