[csswg-drafts] Browsers do not implement transform attribute syntax as described by w3c

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

== Browsers do not implement transform attribute syntax as described by w3c ==
Per https://www.w3.org/TR/css-transforms-1/#svg-functional-notation or the earlier https://www.w3.org/TR/SVG11/coords.html#TransformAttribute
All transform arguments need to be separated by whitespace and/or a comma, however no browser implements this restriction. All browsers (tested Edge, Firefox, Chrome and Safari) parse transform arguments like path values i.e. 5-5 is valid and parsed as 5, -5

Firefox thought about fixing this in https://bugzilla.mozilla.org/show_bug.cgi?id=1449075 but we've chickened out. Chrome has https://bugs.chromium.org/p/chromium/issues/detail?id=577219 but doesn't seem to have done anything with it.

I'm prepared to reland the Firefox fix if there's going to be a concerted effort to fix all browsers, otherwise shoudn't the spec simply reflect reality here.


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

Received on Saturday, 28 April 2018 20:57:45 UTC