mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Ensure that float block-end margin fits in fragmentainer. A float's margins aren't like other margins. As far as fragmentation is concerned, they aren't truncated at fragmenatiner boundaries. So make sure that there's room for them, or insert a break. Bug: 1458768 Change-Id: Ifa0a8827fd1a90dee676da7ba7ad4b955e93e896 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4775788 Reviewed-by: Ian Kilpatrick <[email protected]> Commit-Queue: Morten Stenshorne <[email protected]> Commit-Queue: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#1183643} -- wpt-commits: 810628d8e2e9e830df291296e6bf175f7caa7700 wpt-pr: 41475
12 lines
654 B
HTML
12 lines
654 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=1458768">
|
|
<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="width:100px; height:100px; background:red;">
|
|
<div style="columns:2; gap:0; column-fill:auto; height:200px;">
|
|
<div style="height:100px; background:green;"></div>
|
|
<div style="float:left; break-inside:avoid; margin-bottom:1px; width:100%; height:100px; background:green;"></div>
|
|
</div>
|
|
</div>
|