Automatic update from web-platform-tests [flex-balance] Shift wpt_internal/ tests to external/wpt/ We have a spec! Shift the WPTs from the internal directory. https://drafts.csswg.org/css-flexbox-2/ Bug: 416755656 Change-Id: Ifc450c58c38d103ab3cf7e7b7b18f35d9f6cad27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7832999 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: David Grogan <dgrogan@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1627829} -- wpt-commits: 66c44e744bc81953b0c8e5751b75b8ad96e66161 wpt-pr: 59761
34 lines
668 B
HTML
34 lines
668 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.csswg.org/css-flexbox-2/#algo-balance">
|
|
<link rel="match" href="balance-005-ref.html">
|
|
<meta name="assert" content="Just running a bisect algorithm alone won't balance this test">
|
|
<style>
|
|
body {
|
|
width: 120px;
|
|
border: solid 3px;
|
|
}
|
|
#flex {
|
|
display: flex;
|
|
flex-wrap: balance;
|
|
padding: 10px;
|
|
gap: 10px;
|
|
}
|
|
#flex > div {
|
|
width: 20px;
|
|
height: 25px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<div id="flex">
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div style="width: 100px"></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div style="width: 10px"></div>
|
|
<div style="width: 70px"></div>
|
|
</div>
|