New wpt failures from PR 22494 in /css/css-flexbox/flex-aspect-ratio-img-column-011.html
Categories
(Core :: Layout: Flexbox, defect, P3)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
Details
(Whiteboard: [wpt])
The following tests have untriaged failures in the CI runs for wpt PR 22494:
Firefox-only failures
/css/css-flexbox/flex-aspect-ratio-img-column-011.html
.flexbox 10: FAIL
.flexbox 5: FAIL
.flexbox 7: FAIL
These updates will be on mozilla-central once bug 1625440 lands.
Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.
This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/
If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.
Comment 1•5 years ago
|
||
Live version of the test: http://wpt.live/css/css-flexbox/flex-aspect-ratio-img-column-011.html
This is a version of bug 1136312. The failing pieces of this test all have comments like <!-- should use min(transferred, content width)
where we are in fact ignoring the (small) content width, due to bug 1136312.
--> adding dependency.
Comment 4•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Comment 5•4 years ago
|
||
After bug 1316534, we now fail only [.flexbox 10]:
<div class="flexbox column" style="height: 10px;" data-expected-height="10">
<!-- should use min(transferred, content height) = 10px as minimum height,
which the image will shrink to due to default flex-shrink. -->
<img src="support/10x10-green.png" style="width: 100px;" data-expected-height="10">
</div>
The test expects the height to be 10px, but we currently calculate the height as 100px. The transferred height suggestion is no doubt is 100px, but we calculate content height as 100px (from 1/1 intrinsic ratio and the width), so the flex item's min-height:auto is resolved as 100px.
Description
•