[wpt-sync] Sync PR 28142 - [flex] Don't stretch orthog. flex-items in column flexboxes.
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28142 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28142
Details from upstream follow.
b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:
[flex] Don't stretch orthog. flex-items in column flexboxes.
Delete code - pass tests!
"!ShouldItemShrinkToFit()" was returning true for an orthogonal item
within a column flexbox. This in turn was getting it to stretch when
it shouldn't have. We now already set the "stretch" bit in the
appropriate places when stretching is occuring (previously stretch was
the default, not shrink-to-fit).This removes the bad branch, and the complicated ShouldItemShrinkToFit()
function!Bug: 1189046
Change-Id: Ib4b8762ce2999fe3690f9aa16d1925de53ce13a6Reviewed-on: https://chromium-review.googlesource.com/2773659
WPT-Export-Revision: 17ba20470cb608b0b7f940f027f7188dfffc982a
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Comment 4•4 years ago
|
||
| bugherder | ||
Description
•