Re: [csswg-drafts] [css-display-4] Special Consideration(s) of Establishing Container Block (#10871)

> > And for outside of generality?
> 
> Think of descendants that have a `position: absolute` or `position: fixed` declared on them. Those descendants don’t use the direct parent’s box as the CB but they use something else. This is described in https://drafts.csswg.org/css-position/#def-cb

What about display: flex?

https://github.com/w3c/csswg-drafts/blob/main/css-sizing-3/Overview.bs

<pre class=propdef>
 Name: min-width, min-height
 Value: auto | <<length-percentage [0,∞]>> | min-content | max-content | <nobr>fit-content(<<length-percentage [0,∞]>>)</nobr> | <<min-width/calc-size()>>
 Initial: auto
 Applies to: all elements that accept 'width' or 'height'
 Inherited: no
 Logical property group: min-size
 Percentages: relative to width/height of <a>containing block</a>
 Computed Value: as specified, with <<length-percentage>> values computed
 Animation Type: by computed value, recursing into ''min-width/fit-content()''
 </pre>



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


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

Received on Thursday, 12 September 2024 18:35:39 UTC