Re: [csswg-drafts] [css-transforms] Ambiguous syntax for translate, scale, rotate and matrix in SVG (#4455)

All the attributes specified using CSS syntax are indeed well-specified in this regard; CSS tokenization is greedy (and is generic, with no influence from grammars or context), and then parsing *over* those tokens is non-greedy (well, as greedy as a standard regex).

But the transform attribute's syntax is specified in BNF with no clarification in this regard, unfortunately. I know the *intention* is that numbers parse greedily, tho.

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

Received on Monday, 28 October 2019 22:56:36 UTC