Closed Bug 1174961 Opened 10 years ago Closed 8 years ago

transform on root SVG in standalone SVG document does not transform the root element

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1353697
Tracking Status
firefox41 --- affected

People

(Reporter: birtles, Unassigned)

References

()

Details

As reported in [1] and followed-up in [2], when we have a transform on the root <svg> element of a standalone SVG document, we appear to transform the contents of the <svg> element but not the <svg> element itself. This can be seen in the URL for this bug where the black border (specified on the root <svg> is not transformed. Dirk mentions that this raises the question: "Is root SVG on standalone SVG a CSS layout box or not. (It probably should and I agree with you and Cameron)" Cameron points out that this seems to be the intention in the transforms spec.[3] Note that Chrome/IE don't transform the content at all but that is, apparently, a bug in both browsers. (Feel free to take this bug. I'm just filing it so the issue doesn't get lost.) [1] https://lists.w3.org/Archives/Public/www-svg/2015May/0024.html [2] https://lists.w3.org/Archives/Public/www-svg/2015Jun/0058.html [3] http://dev.w3.org/csswg/css-transforms/#transform-origin-property, specifically the first sentence after the blue box.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.