demo · v137

Root <svg> transform

Before v137 the transform attribute was silently ignored on the root <svg> element. Now it applies, matching every other SVG element. Drag the sliders below — they bind directly to the attribute on the SVG root.

probing…
root

the code

<svg viewBox="0 0 100 100"
     transform="rotate(15) scale(0.8)">
  <!-- Pre-v137: attribute ignored on the root.
       Post-v137: applies. -->
</svg>

see also