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

Re: [csswg-drafts] [css-flexbox] Investigate applying align-content to single-line flex containers (#3052)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Jul 2021 23:31:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-882931117-1626737486-sysbot+gh@w3.org>
In the column version, the item is given its available inline size from the flexbox itself, with no regard for the align-content property; it then sizes to that width (as is normal for a `width: auto` element), so there's no free space for align-content to do anything with.

In the row version the same thing happens, but the inline axis isn't relevant to us; the block axis ends up being 0px, which means we've got 100px of free space to potentially distribute with align-content.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 19 July 2021 23:31:29 UTC

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