Re: [csswg-drafts] [css-sizing] Where does the default aspect-ratio of a <video> come from? (#12053)

Servo doesn't have a "normalization step of natural-sizes", but it's basically 3: when computing the preferred aspect ratio, if after taking `aspect-ratio` and the natural ratio into account there is no ratio, and it's a video, then use 350/150. https://github.com/servo/servo/blob/0caa271176d4670eb06bedd05cdffb24df08fc4f/components/layout_2020/replaced.rs#L406-L424

But I'm fine with options 1 and 2.

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


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

Received on Sunday, 6 April 2025 23:45:32 UTC