W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

[csswg-drafts] [css-sizing-4] intrinsic-* does need to actually override intrinsic size, not contribution (#4414)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Oct 2019 18:53:31 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-506006464-1570820010-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-4] intrinsic-* does need to actually override intrinsic size, not contribution ==
As written, intrinsic-* only overrides the intrinsic size contribution calculation. But that means that, for example, a `<div style="intrinsic-height: 100px;"></div>` will be 0 px tall, but will cause a parent element to treat it as 100px tall. That seems wrong! And it means that the `contain: size` can't really interact with it properly either.

Our fear was that overriding the intrinsic inline size would have interactions with the intrinsic block size, but as far as I can tell none of the layout modes do that. They all calculate inline and block sizes independently.

So we just need to override the intrinsic size itself to use the intrinsic-* properties.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4414 using your GitHub account
Received on Friday, 11 October 2019 18:53:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC