[wpt-sync] Sync PR 28723 - [ReplacedNG] Respect min/max block lengths when determining stretch size
Categories
(Core :: Layout, task, P4)
Tracking
()
| 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: I26f2b9497cc3ef521d724fc5c19ec2bdac4c8664Reviewed-on: https://chromium-review.googlesource.com/2854387
WPT-Export-Revision: 52dacec108e1bfd748f3bcf26f09cffe793f7dd9
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/95cbfc0c9e2c
https://hg.mozilla.org/mozilla-central/rev/3f8b2cab5788
Description
•