flex container with `aspect-ratio` is too tall in Firefox (shrinkwraps content height), with width/height set to 100% and definite width but no definite height on parent
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, webcompat:platform-bug)
User Story
user-impact-score:10
STR:
- Load https://bug2052761.bmoattachments.org/attachment.cgi?id=9629123
- Look at the second column.
EXPECTED RESULTS:
In the second column, the red-bordered box should be rendered with 2:1 aspect ratio and end up 400px tall (not as tall as its entire blue column)
ACTUAL RESULTS:
Red-bordered box is as tall as its entire blue column.
(Also, the 5th column is ~infinite-height, which is a downstream effect via some additional ResizeObserver logic, as discussed in the testcase).
This is the root cause of bug 2052761.
This is a regression from bug 1760658 -- before that bug's patch landed (e.g. in Nightly 2022-05-02), we render the testcase nearly the same as Chrome currently renders it, with the exception of the red box in the first column, which Nightly 2022-05-02 renders too short (400px).
Triaging as S3 - webcompat bug 2052761 is S2-level, so we could treat this as an S2, but fortunately we have a pretty-trivial intervention we can ship over there as I just noted in bug 2052761 comment 10 - so we should do that as a stopgap, and ideally still fix this before too long.
| Reporter | ||
Updated•3 months ago
|
| Reporter | ||
Updated•3 months ago
|
| Reporter | ||
Updated•3 months ago
|
Comment 1•3 months ago
|
||
Set release status flags based on info from the regressing bug 1760658
:boris, since you are the author of the regressor, bug 1760658, could you take a look?
For more information, please visit BugBot documentation.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 2•3 months ago
|
||
I may not have time to take a look at this now. Perhaps wait for the next Bug bash session or later.
Updated•2 months ago
|
Updated•5 days ago
|
Description
•