Skip to content

SyntaxError for valid CSS #3670

Closed
Closed
@bedax

Description

@bedax

Hello, the following works:

:where([aria-hidden="false" i][hidden]) {
  display: initial;
}

While the following does not:

:where([aria-hidden="false" i][hidden]:not(:focus)) {
  display: initial;
}

It gives the following error:

SyntaxError: expected ']' got 'i'

This is with lessc 4.1.2 (Less Compiler) [JavaScript].

Thank you!

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