Update intrinsic sizing of flex containers (e.g. container max-content width) to new spec text

NEW
Unassigned

Status

()

5 years ago
a year ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks: 3 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Per http://lists.w3.org/Archives/Public/www-style/2014Aug/0308.html , there's been a change to the algorithm for getting the intrinsic sizes of a flex containers.

The old text was something like "add up the hypothetical main sizes of the flex items".

The new text is a bit more complex, and starts out: "For each flex item, subtract its flex basis from its max-content contribution size, then divide by its flex grow factor, floored at 1."

The new algorithm is currently available here:
  http://dev.w3.org/csswg/css-flexbox-1/#intrinsic-sizes
(Reporter)

Updated

5 years ago
Blocks: 1055888
(Reporter)

Updated

4 years ago
Duplicate of this bug: 1065353
(Reporter)

Updated

4 years ago
OS: Linux → All
Hardware: x86_64 → All
Summary: Update intrinsic sizing of flex items to new spec text → Update intrinsic sizing of flex containers (e.g. container max-content width) to new spec text
(Reporter)

Updated

4 years ago
Duplicate of this bug: 972595
(Reporter)

Updated

4 years ago
Blocks: 1179454
(Reporter)

Updated

4 years ago
See Also: → bug 995020
(Reporter)

Comment 4

4 years ago
fantasai suggested some further tweaks (to the max-content contribution of a flex item) here:
  https://lists.w3.org/Archives/Public/www-style/2015Jul/0429.html

Comment 6

3 years ago
Chrome Fixed!
(Reporter)

Updated

2 years ago
Blocks: 1389122
(Reporter)

Comment 7

2 years ago
This spec text is changing a bit further in https://github.com/w3c/csswg-drafts/issues/1735 , BTW.
You need to log in before you can comment on or make changes to this bug.