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

Re: [csswg-drafts] [css-transforms-1] SVG transform attributes: transforms don't need to be separated (#3719)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Mar 2019 15:18:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-471582982-1552317508-sysbot+gh@w3.org>
Interestingly, the [SVG 1.1](https://www.w3.org/TR/SVG11/coords.html#TransformAttribute) grammar supports _one or more_ `comma-wsp` tokens, but Firefox seems to be the only browser that allows arbitrary commas in between functions (Edge allows up to 2 commas, but no more, Chrome only allows zero or one).

We should definitely change to match reality where browsers are consistent (i.e., make the `comma-wsp` token optional in the grammar).  For the inconsistent bit (excess separators), I would say the spec should be more restrictive (max one `wsp*-comma?-wsp*` sequence), so that content that matches the spec works in all browsers.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3719#issuecomment-471582982 using your GitHub account
Received on Monday, 11 March 2019 15:18:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:05 UTC