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

Re: [csswg-drafts] [css-sizing-4] should contain-intrinsic-size affect the aspect ratio of a replaced element? (#5241)

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 Jul 2020 22:09:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-656374874-1594332547-sysbot+gh@w3.org>
In thinking about it as I wrote an email, I realized that whether the image is loaded can not affect the behavior, since contain:size is defined to be unaffected by the contents. Even today, I think (but didn't verify) we don't use the aspect ratio for an img with contain:size (the only time where contain-intrinsic-size is used).

This does leave the question of whether `<img src=foo style="contain: size; contain-intrinsic-size: 100px 100px; width: 50px;">` should use the ratio from c-i-s.


-- 
GitHub Notification of comment by cbiesinger
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5241#issuecomment-656374874 using your GitHub account
Received on Thursday, 9 July 2020 22:09:11 UTC

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