Closed Bug 1708054 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28723 - [ReplacedNG] Respect min/max block lengths when determining stretch size

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:

[ReplacedNG] Respect min/max block lengths when determining stretch size

When we have a aspect-ratio only replaced element, it will stretch to
fill the available space in the inline axis by default.

Previously we weren't respecting the min/max block-lengths when this
stretch behaviour was occurring. This transfers the lengths through the
aspect-ratio, and clamps to the available size.

Bug: 1114280
Change-Id: I26f2b9497cc3ef521d724fc5c19ec2bdac4c8664

Reviewed-on: https://chromium-review.googlesource.com/2854387
WPT-Export-Revision: 52dacec108e1bfd748f3bcf26f09cffe793f7dd9

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/95cbfc0c9e2c [wpt PR 28723] - [ReplacedNG] Respect min/max block lengths when determining stretch size, a=testonly https://hg.mozilla.org/integration/autoland/rev/3f8b2cab5788 [wpt PR 28723] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.