Skip to content

[css-selectors] Why does :is() have the specificity of the most specific selector in its arguments? #3325

@ExE-Boss

Description

@ExE-Boss

https://drafts.csswg.org/selectors-4/#matches

I believe it would make more sense if the specificity would be identical to that when the selector would be expanded into all possible combinations, which also makes polyfilling using PostCSS easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions