[wpt-sync] Sync PR 26286 - [css-grid] Fix that Replaced Layout doesn't display with a property called |max-width|
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26286 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26286
Details from upstream follow.
b'Hyunjune <hyunjune.kim@samsung.com>' wrote:
[css-grid] Fix that Replaced Layout doesn't display with a property called |max-width|
The replaced which is the grid item doesn't display with max-width
this type of value is the percentage. Because when the grid container
requests the preferred width of a grid item which is replaced such
as image and so on, replaced grid item returns 0 as width on Constrain-
IntrinsicSizeToMinMax. This patch returns the intrinsic height to
compute the width with the aspect ratio.Bug: 1127715
Change-Id: Ie448dc1b9ea8af62407b02af89d722054bdce00c
Reviewed-on: https://chromium-review.googlesource.com/2490322
WPT-Export-Revision: 4776b878a7c870c1f6e52aaa668510472074cab4
Assignee | ||
Updated•4 years ago
|
Description
•