Re: [csswg-drafts] [css-sizing-3][css-values-4] Define `width` and `height` CSS values for SVG Elements in a mapping (#12376)

To summarize where we are for my own understanding:

* Chromium resolves vh, vw, vmin, vmax in SVG against the ICB if one is available, otherwise against the initial viewport.
* Firefox resolves vh, vw, vmin, vmax in SVG against the initial viewport always.

Are both of the above statements correct?

@goldenboy777 per https://wpt.fyi/results/svg/styling?label=experimental&label=master&aligned it appears that some of the newly added tests are failing in Chromium, including the tests for viewport units. Do we understand why that is?

-- 
GitHub Notification of comment by kbabbitt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12376#issuecomment-3152770760 using your GitHub account


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

Received on Monday, 4 August 2025 23:19:45 UTC