W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-grid][css-align] How items with synthesized baseline affect the size of intrinsic tracks

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Oct 2017 18:58:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-337333901-1508266713-sysbot+gh@w3.org>
Our current proposal is to simply detect when there's a circularity in sizing for baseline-aligned things (that is, when an item depends on the size of the track), and disable their baseline alignment so that they fall back to start/end alignment.  In the first example in this thread, then, the first image is also the final one, because the teal item is no longer baseline-aligning (and becomes start-aligned instead) and the magenta item now has nothing else to baseline-align to (and so start-aligns as much as possible).

We considered just ignoring the circular items for sizing purposes (the step added in #1039) but still allowing it to baseline-align at the end of layout like normal, but in the common case this will cause the item to overflow upwards, and we can't come up with a single use-case where this seems desired in the first place. (Hence the changes added/reverted above.)


GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1365#issuecomment-337333901 using your GitHub account
Received on Tuesday, 17 October 2017 18:58:36 UTC

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