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

Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio apply for width: auto; height: auto;? (#5060)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 May 2020 19:33:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-629440840-1589571222-sysbot+gh@w3.org>
> does not apply the right aspect ratio for <img>

The distinction isn't that it is an `<img>`, it's that the PNG image has intrinsic size (16px square) as well as intrinsic aspect ratio. (But I'm not sure where in the algorithm that is causing the transferred size from the stretched height to be ignored when calculating the auto width.)

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5060#issuecomment-629440840 using your GitHub account
Received on Friday, 15 May 2020 19:33:45 UTC

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