- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Feb 2019 17:13:36 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-grid] fit-content with indefinite percentage == According to https://drafts.csswg.org/css-grid/#valdef-grid-template-columns-length-percentage, > If the size of the grid container depends on the size of its tracks, then the `<percentage>` must be treated as `auto`, for the purpose of calculating the intrinsic sizes of the grid container and then resolve against that resulting grid container size for the purpose of laying out the grid and its items. But what if the indefinite percentage is inside `fit-auto`? https://drafts.csswg.org/css-grid/#valdef-grid-template-columns-fit-content doesn't explain this, and it can't just be treated as `auto` like in `<length-percentage>` because `fit-content(auto)` is not valid syntax. I guess it should be treated as a normal `minmax(auto, max-content)`, without the special `fit-content` behavior? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3585 using your GitHub account
Received on Friday, 1 February 2019 17:13:38 UTC