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

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

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Sep 2020 15:59:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-693502336-1600271953-sysbot+gh@w3.org>
> 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

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