[wpt-sync] Sync PR 24676 - [FlexNG] Use block % resolution size when finding image preferred widths
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24676 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24676
Details from upstream follow.
David Grogan <dgrogan@chromium.org> wrote:
[FlexNG] Use block % resolution size when finding image preferred widths
Flex uses image preferred widths as flex-basis. When an image has
max-height:blah%, that can affect its preferred width. FlexNG wasn't
passing the percent resolution height to legacy for this calculation,
and the % max-height was being treated as auto.ComputeMinAndMaxContentContribution was already doing this for replaced
elements, so piggy-back on that code.Bug: 1107604
Change-Id: Icecb312ce8aee22cad6e4b1925aab77ecbd3c2efReviewed-on: https://chromium-review.googlesource.com/2309048
WPT-Export-Revision: 8a91b56e2cead35508c386d5a1b0932c2086b05c
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
PASS: 1
Links
Comment 4•4 years ago
|
||
bugherder |
Description
•