summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-027.html
blob: 9a18959504701600ef6052c0333aa55c0d1a5795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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;">
  <div style="height:60px;"></div>
  <div style="float:left; width:100%; contain:size; height:40px;"></div>
  <div style="clear:left; height:90px;"></div>
</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>