Skip to content

Less can't parse case-insensitive attribute selector #467

Closed
@ccoenen

Description

@ccoenen

I have attributes selected like this:
.entry[data-title="active" i] {color: red}

less (3.0.1) will complain:

    Expected ']' got 'i'
          in ....filename.... (line 3, column 64)

But the "i" (or "I") is according to spec, see MDN on Attribute Selectors, and is widely supported

I would also be satisfied with something like an uprocessed region or something like that.

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