Bug
1699575 [wpt PR 28142] - [flex] Don't stretch orthog. flex-items in column flexboxes., a=testonly
Automatic update from web-platform-tests
[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 occurring (previously stretch was
the default, not shrink-to-fit).
This removes the bad branch, and the complicated ShouldItemShrinkToFit()
function!
Bug:
1189046
Change-Id: Ib4b8762ce2999fe3690f9aa16d1925de53ce13a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2773659
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#865412}
--
wpt-commits:
8ef74b8cba8d1a335485378efc67ab135bdf05c8
wpt-pr: 28142