Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/balance/balance-start-bias-002.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-flexbox-2/#algo-balance"> <link rel="match" href="balance-start-bias-002-ref.html"> <meta name="assert" content="If multiple possible sequence assignments have equal minimum error, select the sequence that assigns the most items to the first line; if multiple sequences tie by that metric, select the sequence among them that assigns the most items to the second line; etc."> <style> body { width: 120px; border: solid 3px; } #flex { display: flex; flex-wrap: balance wrap-reverse; padding: 10px; gap: 10px; } #flex > div { width: 25px; height: 25px; background: green; } </style> <div id="flex"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div style="width: 100px;"></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div>
/css/css-flexbox/balance/balance-start-bias-002-ref.html
<!DOCTYPE html> <style> body { width: 120px; border: solid 3px; } #flex { display: flex; flex-wrap: wrap-reverse; padding: 10px; gap: 10px; } #flex > div { width: 25px; height: 25px; background: green; } </style> <div id="flex"> <div></div> <div></div> <div></div> <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></div> <div></div> <div></div> <div></div> <div></div> </div>