[csswg-drafts] [css-transforms] Ambiguous syntax for translate, scale, and rotate (#4455)

mclegrand has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms] Ambiguous syntax for translate, scale, and rotate ==
translate and scale have `number ( comma-wsp? number )?` which allows for `number number` :boom:  *without* separators, which confusers parsers and seems like a bug, which should be `number ( comma-wsp number )?`. Same for rotate : `( comma-wsp? number comma-wsp? number )?` should be `( comma-wsp number comma-wsp number )?`

(The ambiguity is : transform(12) should not be parsed as transform(1 2) just because "1" and "2" are numbers and hence the parsing can be done that way. )

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4455 using your GitHub account

Received on Sunday, 27 October 2019 23:17:57 UTC