mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Use the BFC block-offset when breaking before a float. The exclusion space works exclusively on BFC offsets, not parent container offsets. CL:3923597 messed this up, which caused both DCHECK failures and correctness issues, Bug: 1377795 Change-Id: I8be8b40adbee95743c5e18cd891d1e67a79a120f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3975135 Commit-Queue: Morten Stenshorne <[email protected]> Reviewed-by: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063671} -- wpt-commits: 229dc3c8199a9e6911c88df1058054203ba23e59 wpt-pr: 36652
17 lines
757 B
HTML
17 lines
757 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1377795">
|
|
<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; gap:0; width:100px; height:100px; line-height:20px; background:red;">
|
|
<div style="height:20px; background:green;"></div>
|
|
<div style="display:flow-root; background:green;">
|
|
<div>
|
|
<div style="float:left; width:20px; height:20px;"></div>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<div style="float:left; break-inside:avoid; width:20px; height:100px;"></div>
|
|
</div>
|
|
</div>
|