wpt / css / css-flexbox / balance / balance-flex-grow.html

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

/css/css-flexbox/balance/balance-flex-grow.html

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-flexbox-2/">
<link rel="match" href="balance-flex-grow-ref.html">
<meta name="assert" content="Tests a basic balance flexbox with flex-grow specified.">
<style>
#flex {
  display: flex;
  flex-wrap: balance;
  width: 100px;
  height: 100px;
  gap: 10px;
}

#flex > div {
  background: green;
  flex-grow: 1;
}
</style>
<div id="flex">
  <div style="width: 30px;"></div>
  <div style="width: 20px;"></div>
  <div style="width: 20px;"></div>
  <div style="width: 30px;"></div>
</div>

/css/css-flexbox/balance/balance-flex-grow-ref.html

<!DOCTYPE html>
<style>
#flex {
  display: flex;
  flex-wrap: wrap;
  width: 100px;
  height: 100px;
  gap: 10px;
}

#flex > div {
  background: green;
}
</style>
<div id="flex">
  <div style="width: 50px;"></div>
  <div style="width: 40px;"></div>
  <div style="width: 40px;"></div>
  <div style="width: 50px;"></div>
</div>