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

Part of the reason why I dislike (3) is the magic involved. E.g. there is a difference between `aspect-ratio: auto`, and `aspect-ratio: 1 auto` for example. Additionally you can't turn off the aspect-ratio via. `aspect-ratio: 0` for example.

E.g. https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=13640
(Servo still renders with 2:1 aspect-ratio, Firefox renders with no aspect-ratio; this shows that Firefox is doing a 4th option, but likely they are special casing the "auto" within `aspect-ratio: 1 auto`, which means that `auto != auto` which is bad).

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


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

Received on Monday, 7 April 2025 03:11:13 UTC