Closed Bug 1915703 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 47872 - Use the proper aspect ratio in flexbox

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 47872 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/47872
Details from upstream follow.

Oriol Brufau <obrufau@igalia.com> wrote:

Use the proper aspect ratio in flexbox

When computing the automatic minimum size, flex layout was using the natural aspect ratio, ignoring the aspect-ratio property.

ReplacedContent::inline_size_over_block_size_intrinsic_ratio() is now made private to avoid more accidental uses.

<!-- Please describe your changes on the following line: -->

Reviewed in servo/servo#33256

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/87aa6a87bdcb [wpt PR 47872] - Use the proper aspect ratio in flexbox, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.