Re: [csswg-drafts] [css-sizing-4][css-contain] Clarify on specifying aspect-ratio and contain:size on replaced elements (#5550)

@cbiesinger I'm a little confused, but I'm assuming you're asking, unrelated to any of the above discussion, about an element that has `aspect-ratio: auto 1/2; contain: size;` on it?

Yes, the `1/2` ratio should be used. `contain:size` should be censoring the intrinsic aspect ratio, so the `auto` doesn't do anything, and the explicit `1/2` takes over instead.

(I've opened #5585 now to cover the fact that aspect-ratio isn't actually mentioned in relation to `contain:size`...)

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


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

Received on Monday, 5 October 2020 22:02:48 UTC