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

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