[svgwg] Issue: Browsers do not implement transform attribute syntax as described by w3c marked as Needs CSS WG

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Needs CSS WG":

== 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.


See https://github.com/w3c/svgwg/issues/426

Received on Saturday, 28 April 2018 20:50:47 UTC