Closed Bug 1658441 Opened 4 years ago Closed 4 years ago

Correctly handle a stretched item in a fixed height flexbox with aspect-ratio

Categories

(Core :: Layout: Flexbox, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1056959

People

(Reporter: boris, Unassigned)

References

Details

Basically, this is equal to the chrome patch:
https://chromium-review.googlesource.com/c/chromium/src/+/2212984

With a fixed-height single-line flex container, a stretched item should be considered to have a definite height and thus should have its aspect-ratio calculated from that:
https://drafts.csswg.org/css-flexbox/#definite-sizes item 1.

However, this depends on bug 1056959.

The wpt:
https://searchfox.org/mozilla-central/rev/ab81b8552f4aa9696a2524f97fdfeb59d4dc31c1/testing/web-platform/tests/css/css-sizing/aspect-ratio/flex-aspect-ratio-009.tentative.html

See Also: → 1646096

Bug 1056959 includes the fix for this bug.

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.