Re: [csswg-drafts] [css-sizing-4] aspect-ratio via width and height attributes doesn't work for <video> (#7524)

I guess images/objects could have a "settled size" boolean, which would be true by default. However, images and videos would immediately set it to false, and only set it to true once width/height is gained from the resource.

With `aspect-ratio: auto 16 / 9`, the `16 / 9` part would be used while the "settled size" is false.

If an image/video's source is changed, "settled size" is not reset to false.

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


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

Received on Thursday, 28 July 2022 08:50:09 UTC