W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

Re: [csswg-drafts] [css-grid] Resolution of percentage row tracks and gutters with indefinite height (#5566)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Aug 2021 17:24:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-891200729-1627925082-sysbot+gh@w3.org>
@mrego Most layout modes care about if their *initial* block-size is definite or not. E.g. if the initial block-size is definite, then %-children can resolve etc.

Grid is special in that it'll re-resolve these things with the used block-size. Due to this you don't care if this initial block-size goes from indefinite->definite. The indefinite->definite transition is very common these days. E.g. a grid as a grid-item will go from indefinite->definite, grid as a row flex-item will typically go through this transition as well.

It's counter intuitive, but ends up being faster for a lot of cases.

GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5566#issuecomment-891200729 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 2 August 2021 17:24:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC