Re: [svgwg] Should `width` and `height` apply to nested `svg` elements as CSS properties (#1057)

All browsers render the same for now
The two SVG you proposed above renders differently.


The original CSS Issue:
https://github.com/w3c/csswg-drafts/issues/12376

The [decision by the CSS WG](https://github.com/w3c/csswg-drafts/issues/12376#issuecomment-3210998345) was:
> RESOLVED: content dependent units used in width and height for inner SVG elements resolve to SVG's definition of auto

This change was made to the spec.
https://github.com/w3c/svgwg/pull/999/changes




-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1057#issuecomment-3845762590 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 4 February 2026 07:15:44 UTC