Open
Bug 1251374
Opened 10 years ago
Updated 3 years ago
Incorrect height of a flex item when a child has a min-height
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | affected |
People
(Reporter: Biesinger, Unassigned)
References
Details
Attachments
(2 files, 1 obsolete file)
Tested in 47.0a1 (2016-02-24) / Linux
In the attached testcase, the sizing of .vbox is wrong. Because .hflex has a max-height of 200px, and the align values are the default, it should "stretch" .vbox to those 200px. However in fact vbox is sized to 304px to match its child's size.
| Reporter | ||
Comment 1•10 years ago
|
||
Though IE 11.0.9600.18204 does match Firefox's rendering... am I wrong?
Comment 2•10 years ago
|
||
I believe this is bug 1000957 (which is a spec-change, which explains why IE11 agrees with us).
In multi-line flexbox, flex lines are sized independently of any min/max cross-size properties on the flex container. (And then they overflow according to 'align-content'.)
This used to be the case for single-line, too, but it changed (and bug 1000957 is filed on updating to fix that change).
Marking as a dependency for now; but this may ultimately be a dupe.
Depends on: 1000957
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Updated•10 years ago
|
Attachment #8723739 -
Attachment description: reference case → (wrong file, ignore)
Attachment #8723739 -
Attachment is obsolete: true
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•