W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Marc J. via GitHub <sysbot+gh@w3.org>
Date: Sun, 27 Oct 2019 23:17:56 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-513037122-1572218275-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC