Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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:2;">
<span>
<div style="float:left; width:100%; height:60px;"></div>
<div style="clear:left; float:left; width:100%; contain:size; height:40px;"></div>
<div style="clear:left; float:left; width:100%; height:90px;"></div>
</span>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(()=> {
assert_equals(multicol.offsetHeight, 100);
}, "Make room for the float in the first column");
</script>