Re: [csswg-drafts] [css-syntax-3] Inconsistency in defining <number-token> (#7247)

Yup, the parsing algo specifically calls out that it doesn't verify the number-ness, and assumes the caller will invoke "starts with a number" first. If you do, you'll correctly reject `E99`.

> (BTW: am I correct that that railroad diagram was copied from an older SVG spec?)

No, I wrote those (and [the library that creates them!](https://github.com/tabatkins/railroad-diagrams/)) specifically for the Syntax spec. ^_^

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


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

Received on Tuesday, 3 May 2022 16:08:23 UTC