Closed Bug 1915478 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 47845 - Handle aspect ratios in `ReplacedContent::inline_content_sizes`

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

Handle aspect ratios in ReplacedContent::inline_content_sizes

<!-- Please describe your changes on the following line: -->
We were only handling the aspect ratio of a replaced element when
computing its min/max-content contribution, but not when computing
the min/max-content size. Now both cases will take it into account.

Reviewed in servo/servo#33240

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.