Closed
Bug 1055354
Opened 10 years ago
Closed 4 years ago
Update how cross-axis sizing constraints influence "min-[width|height]:auto" on flex items w/ intrinsic aspect ratio
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 1316534
People
(Reporter: dholbert, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
This needs to change:
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsFlexContainerFrame.cpp?rev=aece7f9f944c&mark=1089-1097#1085
in light of http://www.w3.org/mid/53F28DFD.1030508@mozilla.com and subsequent messages.
Reporter | ||
Comment 1•10 years ago
|
||
(This spec text changed a bit more today, so that now both the min- and max-cross-size are relevant.)
OS: Linux → All
Hardware: x86_64 → All
Summary: Use cross-axis max-size instead of cross-axis min-size to resolve "min-[width|height]:auto" on flex items w/ intrinsic aspect ratio → Update how cross-axis sizing constraints influence "min-[width|height]:auto" on flex items w/ intrinsic aspect ratio
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Blocks: flexbox-spec-changes
Reporter | ||
Comment 3•9 years ago
|
||
Reporter | ||
Comment 4•9 years ago
|
||
Related issue here -- if the min-content size of an image (or anything with an intrinsic aspect ratio) is smaller than the transferred size, we should be honoring the min-content size, since the flexbox spec says to use the minimum of the two. (This is a change with respect to the spec text in bug 1015474 comment 0.)
Reporter | ||
Comment 5•9 years ago
|
||
(Here's a testcase for the issue in comment 4. Edge gets this correct; Firefox & Chrome do not.)
Updated•8 years ago
|
Keywords: dev-doc-needed
Comment 6•4 years ago
|
||
After bug 1316534, both testcase 1 & 2 are rendered correctly. Tested on Firefox 83.0a1 (2020-09-23).
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•