You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thecontain: 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.
The text was updated successfully, but these errors were encountered: