Skip to content

CSS checks: consider reporting unclosed parentheses #629

Open
@tidoust

Description

@tidoust

The value definition syntax allows parentheses as literals that represent their corresponding tokens.

This allowance means the extra parenthesis in the definition of <hsl()> (see w3c/csswg-drafts#7362) could be parsed without triggering any error. In practice, there should never be an open parenthesis without a closing one at the same level. Our tests could make sure that this is the case.

(This seems low priority such typos should be rare and are relatively easy to spot)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions