Files
sousa-gecko/testing/web-platform/tests/css/css-flexbox/flexbox_justifycontent-stretch.html
T
Ian Kilpatrick e7220f5ca7 Bug 1947582 [wpt PR 50641] - [flex] Fix justify-content:stretch, a=testonly
Automatic update from web-platform-tests
[flex] Fix justify-content:stretch

Previously the kStretch branch in ContentDistributionSpace was
unreachable.

This changed after:
https://chromium-review.googlesource.com/c/chromium/src/+/6102219
(which coerced stretch to default in flexible_box_algorithm.cc:145).

Make kStretch behave the same as kDefault.

Fixed: 395659796
Change-Id: Id9a787ced5786cbd773d3d1e18cf0d2243ad176d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6253778
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418840}

--

wpt-commits: 7d68e04441548ea305d683763bc3e76d7c7ff540
wpt-pr: 50641
2025-02-14 09:56:19 +00:00

10 lines
495 B
HTML

<!DOCTYPE html>
<title>justify-content:stretch behaves as justify-content:flex-start</title>
<link rel="help" href="https://issues.chromium.org/issues/395659796">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="width: 200px; height: 100px; display: flex; justify-content: stretch;">
<div style="width: 50px; background: green;"></div>
<div style="width: 50px; background: green;"></div>
</div>