summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/table/balance-table-with-fractional-height-row.html
blob: 434dc52ea3d731bd1393270372294cd007382e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol/#filling-columns">
<div id="multicol" style="columns:2; line-height:100px;">
  <div style="display:table-row; height:4.9999px;"></div>
  <div style="display:table-row;">
    <br>
  </div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
      assert_equals(multicol.getBoundingClientRect().height, 100);
  }, "If we have room for the line, we have room for all we need");
</script>