Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#cf">
<div id="multicol" style="columns:3;">
<div style="float:left; width:100px;">
<div style="height:20px;"></div>
<div style="break-before:column; height:50px;"></div>
</div>
<div style="clear:both; height:150px;"></div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(()=> {
assert_equals(multicol.offsetHeight, 100);
}, "Clearance after float with forced break inside");
</script>