Bug 16991 - "flex-basis:auto" should be max-content, not fit-content
"flex-basis:auto" should be max-content, not fit-content
Status: RESOLVED FIXED
Product: CSS
Classification: Unclassified
Component: Flexbox
unspecified
PC Windows NT
: P1 normal
: ---
Assigned To: Tab Atkins Jr.
public-css-bugzilla
http://lists.w3.org/Archives/Public/w...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-08 03:00 UTC by Alex Mogilevsky
Modified: 2012-05-09 22:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Mogilevsky 2012-05-08 03:00:16 UTC
in step 9.2.3 "Determine the hypothetical main size of each item", 'auto' should be treated as 'max-content'

"available space" within flexbox is not really what is available to each item, unless it is a single-item row-direction flexbox. Clipping to that seems random, it loses valuable sizing information.
Comment 1 Tab Atkins Jr. 2012-05-09 22:19:53 UTC
Done.