A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/w3c/csswg-drafts/issues/5985 below:

[css-flexbox] clarify whether collapsed flex items influence the flex container's intrinsic main size · Issue #5985 · w3c/csswg-drafts · GitHub

The "flex container intrinsic main sizes" spec-text (section 9.9.1) doesn't currently say anything special about excluding or special handling for collapsed flex items. It probably should.

I think they are intended to have zero contribution to the container's main size, based on a side-comment in the "Collapsed Items" section, section 4.4 -- that section says: "...collapsing or uncollapsing items may change the flex container’s main size", but never says precisely how. (That section does say that these items turn into zero-main-size "struts", but that happens after the container's intrinsic sizing.)

Probably https://drafts.csswg.org/css-flexbox-1/#intrinsic-main-sizes step 1 needs:

s/For each flex item/For each flex item (excluding collapsed flex items)/

...or something along those lines.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5