webref icon indicating copy to clipboard operation
webref copied to clipboard

CSS checks: consider reporting unclosed parentheses

Open tidoust opened this issue 3 years ago • 0 comments

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 https://github.com/w3c/csswg-drafts/issues/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)

tidoust avatar Jun 16 '22 14:06 tidoust