Content-Length: 273340 | pFad | https://github.com/w3c/csswg-drafts/issues/1320

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

[css-grid] Should copy Flexbox and treat stretched items as having definite size #1320

@tabatkins

Description

@tabatkins

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/w3c/csswg-drafts/issues/1320

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy