Re: [csswg-drafts] [css-values] Parsing "<integer> | <length>" or "<number> | <length>" (#489)

Oh, you are right, backtracking should handle it. Thanks for the reply. 

CSS Value is not 100% precise on this custom priority.

> However, if a 0 could be parsed as either a `<number>` or a `<length>` in a property (such as line-height), it must parse as a `<number>`.

`|` combinator is not specified, and it can apply to `<integer> | <length>`, `<number> | <length-percentage>`, etc. Do you think it is worth opening a new issue?

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/489#issuecomment-1217078272 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 August 2022 19:34:30 UTC