- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 19 Nov 2021 20:11:51 +0000
- To: public-css-archive@w3.org
https://drafts.csswg.org/css-sizing-3/#cyclic-percentage-contribution > Then, unless otherwise specified, when calculating the used sizes and positions of the containing block’s contents: > - If the cyclic dependency was introduced due to a block-size or max-block-size on the containing block that causes it to depend on the size of its contents, the box’s percentage is not resolved and instead behaves as auto. > Note: Grid items and flex items do allow percentages to resolve in this case. > - Otherwise, the percentage is resolved against the containing block’s size. (The containing block’s size is not re-resolved based on the resulting size of the box; the contents might thus overflow or underflow the containing block). In this case the dependency comes from `flex-basis` and not `(max-)block-size`, so 30px I guess? But what would happen with `flex-basis: content; height: auto`? -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6822#issuecomment-974402163 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 November 2021 20:11:53 UTC