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/1320 below:

[css-grid] Should copy Flexbox and treat stretched items as having definite size · Issue #1320 · w3c/csswg-drafts · GitHub

Flexbox's layout algorithm, in step 11, explicitly treats "stretch" items as being definitely sized in the cross axis (redoing layout for the contents if necessary). This means that % children of the flex item can resolve properly, which is precisely why we added

Grid doesn't appear to have a similar clause; an auto-sized but stretched grid item would, it appears, be treated as indefinite, so %s on its children resolve to auto. Should we copy over this clause to the Grid layout algo, so more %s are valid?


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.3