mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests [LayoutNG] Blocks with no same-flow breaks have perfect break appeal. We used to only update the appeal of breaking inside a box when inserting an in-flow break, either before/inside an in-flow child, or inside the box itself (if its non-auto remaining block-size was too large to fit). What was missing was when the box itself could fit, and it only had parallel flow breaks. Without this fix, if a float broke inside a block, and the block itself didn't need a break for its own sake, we'd consider the break inside to be a last-resort break (so that we'd try our best to break earlier). Bug: 829028 Change-Id: I5cd5f05ea319a75186c7510bf40dd54b104160b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2245911 Reviewed-by: Ian Kilpatrick <[email protected]> Commit-Queue: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/master@{#779244} -- wpt-commits: 6e8cf634241a641aadd39d02a291e7642ba2f248 wpt-pr: 24163
15 lines
747 B
HTML
15 lines
747 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
|
|
<link rel="help" href="https://www.w3.org/TR/css-break-3/#parallel-flows">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div style="columns:2; column-fill:auto; column-gap:0; width:180px; height:100px; background:red;">
|
|
<div style="height:30px; background:green;"></div>
|
|
<div>
|
|
<div style="float:left; width:10px; height:170px; background:green;"></div>
|
|
<div style="height:30px; background:green;"></div>
|
|
</div>
|
|
<div style="height:40px; background:green;"></div>
|
|
<div style="height:100px; background:white;"></div>
|
|
</div>
|