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

vw and vh would always be a percentage of the viewport. % would be relative to the nearest SVG viewport element e.g. an <svg> element.

Not sure we'd want to change that because then vw and vh would basically be percentages so that would seem less flexible. I.e. I don't think we agree with the way forward with nested SVG sizing tests and I'm not sure we'd change our implementation any time soon (if at all).

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


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

Received on Thursday, 31 July 2025 09:29:41 UTC