Skip to content

:where can't be handled #1505

Closed as not planned
Closed as not planned
@LarryCount

Description

@LarryCount

Bug description

:is() and :where() are stage 2. I can see :where() in cssdb. But :where can't be handled.
WX20241108-005300@2x

Source CSS

:is(input, button):where(:hover, :focus) {
color: rebeccapurple;
}

Expected CSS

where should be handled

Actual CSS

input:where(:hover, :focus) {
color: #639;
}
button:where(:hover, :focus) {
color: #639;
}

Playgound example

No response

Does it happen with npx @csstools/csstools-cli <plugin-name> minimal-example.css?

None

Debug output

No response

Extra config

No response

What plugin are you experiencing this issue on?

No response

Plugin version

10.0.8

What OS are you experiencing this on?

No response

Node Version

N

Validations

  • Follow our Code of Conduct
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this bug?

  • I'm willing to open a PR

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