Fix flexbox-min-height-auto-002b.html on wpt
Categories
(Core :: Layout: Flexbox, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(1 file)
Currently, all browser implementations fails flexbox-min-height-auto-002b.html
and all of them render it the same way, which means the testcase may be wrong and require an update.
Note bug 1490969 is going to remove the copy under layout/reftests/w3c-css/submitted/flexbox
, and treat testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox
as the master copy.
Assignee | ||
Comment 1•4 years ago
|
||
In the first subtest, the image flex item's final width is 104px. This
is because the floating flex container uses shrink-wrapping to obtain
its inline-size, and the flex item's min-content contribution to the
flex container is 104px (100px height * 1/1 aspect-ratio + 4px border).
That makes the single line flex container's final cross-size become
104px, and the item's cross size is stretched to the flex container's
cross size, which is also 104px.
This test is meant to test min-height:auto behavior, so we a constraint
to the flex container's max-width so that the flex item's cross
size (width) won't get stretched.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
bugherder |
Description
•