Re: [csswg-drafts] [css-sizing] Clarify how contain-intrinsic-size affects size containment algorithm (#7519)

One example of an interaction which is not clear. https://drafts.csswg.org/css-contain-2/#sizing-as-if-empty says

> [Replaced elements](https://drafts.csswg.org/css-display-3/#replaced-element) must be treated as having an [natural](https://drafts.csswg.org/css-images-3/#natural-dimensions) width and height of 0 and no [natural aspect ratio](https://drafts.csswg.org/css-images-3/#natural-aspect-ratio).

A replaced element has no content, so is `contain-intrinsic-size` treated as the natural sizes (instead of 0 above)? Is the aspect ratio affected?

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


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

Received on Wednesday, 20 July 2022 21:34:56 UTC