Re: [csswg-drafts] [css-sizing-4] Support percentage lengths in contain-intrinsic-size (#5514)

> Wait, I'm confused. Isn't the point of `contain-intrinsic-size` to provide an intrinsic size? Percentages by definition are the opposite of an intrinsic size, and definitely can't provide one. Is the effect you're trying to control just the scrollbar, while providing a zero intrinsic size or what?

The purpose of `contain-intrinsic-size` is to provide a sizing that represents the subtree's layout size without having to compute the subtree layout. In the example I linked to, the element with `contain-intrinsic-size` is an image; the contain-intrinsic-size would need to simulate the responsive layout of that image.

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


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

Received on Wednesday, 16 September 2020 15:59:16 UTC