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

NEW
Unassigned

Status

()

Core
Layout
3 years ago
3 months ago

People

(Reporter: dholbert, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 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

3 years ago
Blocks: 1055888
(Reporter)

Updated

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

Updated

2 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
Note the thread at https://lists.w3.org/Archives/Public/www-style/2015Apr/0049.html
(Reporter)

Updated

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

Updated

2 years ago
Blocks: 1179454
(Reporter)

Updated

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

Comment 4

2 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 5

2 years ago
see https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/qBqeSQeyVXc

Comment 6

a year ago
Chrome Fixed!
You need to log in before you can comment on or make changes to this bug.