Files
firefox/testing/web-platform/tests/css/css-break/float-010.html
T
Morten Stenshorne bc104bec8b Bug 1797332 [wpt PR 36652] - Use the BFC block-offset when breaking before a float., a=testonly
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
2022-11-11 12:32:17 +00:00

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>