This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Use UA style instead of prose to handle the exception of transform-origin for SVG. Firefox: /* Set |transform-origin:0% 0%;| for all SVG elements except outer-<svg>, noting that 'svg' as a child of 'foreignObject' counts as outer-<svg>. */ *:not(svg), *:not(foreignObject) > svg { transform-origin:0 0; } WebKit/Blink: /* CSS transform specification: "transform-origin 0 0 for SVG elements without associated CSS layout box, 50% 50% for all other elements". */ * { -webkit-transform-origin: 0 0; } html|* > svg { -webkit-transform-origin: 50% 50%; }
https://github.com/w3c/csswg-drafts/issues/920