summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-fill-balance-021.html
blob: d366e0f6021096d6def4c26ddb7ed1763a3d0077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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="mc" style="columns:4; line-height:0;">
  <ruby>
    <div style="display:inline-block; width:10px; height:50px;"></div>
    <rt>
      <div style="display:inline-block; width:10px; height:50px;"></div>
    </rt>
  </ruby>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(()=> {
    assert_equals(mc.offsetHeight, 100);
  }, "Ruby text should affect column height");
</script>