W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 May 2021 22:50:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-850709682-1622242220-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC