You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of creating some WPT tests for transform functions such as setScale(sx, sy) and setTranslate(tx, ty) because browsers send different results.
var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
var g = document.createElementNS('http://www.w3.org/2000/svg', 'g');
var transform = svg.createSVGTransform();
transform.setScale(-2, -4);
g.transform.baseVal.appendItem(transform)
g.getAttribute('transform')
And the results are:
IN OUT
Safari: scale(-2, -4) scale(-2 -4)
Firefox: scale(-2, -4) scale(-2, -4)
Chrome: scale(-2, -4) scale(-2 -4)
Modifying an existing transform attribute missing comma
I'm in the process of creating some WPT tests for transform functions such as
setScale(sx, sy)
andsetTranslate(tx, ty)
because browsers send different results.I want also to make sure that I get my analysis of serialization correct with regards to the attribute values.
Missing comma in Safari and Chrome
And the results are:
Modifying an existing transform attribute missing comma
Then
The text was updated successfully, but these errors were encountered: