Files
sousa-gecko/testing/web-platform/tests/css/CSS2/box-display/block-in-inline-margin-collapses-through-intervening-float-ref.html
T
Sammy Gill b3a340783b Bug 2041568 [wpt PR 60072] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314978, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=314978 (#60072)
--

wpt-commits: d188b687d52c3ee8a85fbac0b349bdcdf535d9a3
wpt-pr: 60072
2026-05-29 15:58:54 +00:00

15 lines
522 B
HTML

<!DOCTYPE html>
<title>CSS Reference</title>
<style>
.container { width: 200px; }
.first { width: 200px; height: 20px; margin-bottom: 40px; background: blue; }
.intervening { float: left; width: 80px; height: 60px; background: yellow; }
.second { width: 200px; height: 20px; background: blue; }
</style>
<p>Two blue rectangles separated by a 40px gap; a yellow float intersects the second.</p>
<div class="container">
<div class="first"></div>
<div class="intervening"></div>
<div class="second"></div>
</div>