wpt / css / css-flexbox / balance / balance-005.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-flexbox/balance/balance-005.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>

/css/css-flexbox/balance/balance-005-ref.html

<!DOCTYPE html>
<style>
body {
  width: 120px;
  border: solid 3px;
}
#flex {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
}
#flex > div {
  width: 20px;
  height: 25px;
  background: green;
}
</style>
<div id="flex">
  <div></div>
  <div></div>
  <div style="background: none"></div>
  <div></div>
  <div></div>
  <div style="width: 100px"></div>
  <div></div>
  <div></div>
  <div></div>
  <div style="width: 10px; background: none"></div>
  <div style="width: 10px"></div>
  <div style="width: 70px"></div>
</div>