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

Re: [csswg-drafts] [css-flexbox-1] flex-basis can not be smaller than min-content (#5367)

From: zjopy via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Jul 2020 11:49:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-664994026-1595936940-sysbot+gh@w3.org>
Just found this small comment hidden at the end of 7.1.1, which implicitly defines the lower bound of `flex-basis` as well. It could have been mentioned more prominently, but there is no bug in the spec nor the implementation.

> By default, flex items won’t shrink below their minimum content size (the length of the longest word or fixed-size element). To change this, set the min-width or min-height property. (See § 4.5 Automatic Minimum Size of Flex Items.)

GitHub Notification of comment by zjopy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5367#issuecomment-664994026 using your GitHub account
Received on Tuesday, 28 July 2020 11:49:03 UTC

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