Re: [csswg-drafts] [css-sizing] Removing intrinsic aspect-ratio from an image (#6257)

It's true that https://drafts.csswg.org/css-contain/#sizing-as-if-empty says

> Replaced elements must be treated as having an natural width and height of 0 and no natural aspect ratio.

But this is just for the purpose of sizing the `<img>` element or whatever. https://drafts.csswg.org/css-contain/#laying-out-in-place says

> The containment box's content (including any pseudo-elements) must then be laid out into the now fixed-size containment box normally.

So to me it doesn't seem like implementations are following that?

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


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

Received on Friday, 28 May 2021 22:50:26 UTC