ISSUE-143: Does "shrink-to-fit" width of a flexbox child depend on available space?

Does "shrink-to-fit" width of a flexbox child depend on available space?

State:
CLOSED
Product:
CSS3 Flexbox
Raised by:
Alex Mogilevsky
Opened on:
2010-08-23
Description:
Summary
Does "shrink-to-fit" width of a flexbox child depend on available space?

Proposal
No. Shrink-to-fit calculations should be done in infinite space.

Note
The proposed behavior is Mozilla behavior. Webkit limits shrink-to-fit size to parent/window, as if it was a float.
However if the negative space distribution is based on combination of shrink-to-fit size and flex, adding an additional constraint on preferred size doesn't make any sense.
Related Actions Items:
No related actions
Related emails:
  1. [CSSWG] Minutes and Resolutions Oslo F2F 2010 Tuesday: GCPM, MQ, Flexbox, Multicol, box-shadow, Publications, Future F2Fs (from fantasai.lists@inkedblade.net on 2010-08-31)
  2. Re: [css3-flexbox] issues resolved in FTF (from jackalmage@gmail.com on 2010-08-25)
  3. [css3-flexbox] issues resolved in FTF (from alexmog@microsoft.com on 2010-08-25)
  4. ISSUE-143: Does 'shrink-to-fit' width of a flexbox child depend on available space? (from sysbot+tracker@w3.org on 2010-08-23)

Related notes:

Resolved @FTF

Shrink-to-fit calculations are performed in infinite space.
In terms of CSS3 box model, shrink-to-fit width and height should be using ‘max-content’ rather than ‘fit-content’

Alex Mogilevsky, 25 Aug 2010, 09:33:59

Changelog:

Created issue 'Does "shrink-to-fit" width of a flexbox child depend on available space?' nickname owned by Alex Mogilevsky on product , description 'Summary
Does "shrink-to-fit" width of a flexbox child depend on available space?

Proposal
No. Shrink-to-fit calculations should be done in infinite space.

Note
The proposed behavior is Mozilla behavior. Webkit limits shrink-to-fit size to parent/window, as if it was a float.
However if the negative space distribution is based on combination of shrink-to-fit size and flex, adding an additional constraint on preferred size doesn't make any sense.
' non-public

Alex Mogilevsky, 23 Aug 2010, 09:05:40

Product changed to CSS3 Flexbox

Alex Mogilevsky, 23 Aug 2010, 09:21:35

Status changed to 'open'

Alex Mogilevsky, 23 Aug 2010, 09:22:18

Status changed to 'closed'

Alex Mogilevsky, 25 Aug 2010, 09:33:59

Status changed to 'open'

Alex Mogilevsky, 3 Sep 2010, 00:03:33

Status changed to 'closed'

Elika Etemad, 19 Jan 2013, 01:15:53


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $