wpt / css / css-multicol / column-height-009.html

Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-multicol/column-height-009.html

<!DOCTYPE html>
<title>column-height, column-wrap, and column-rule</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch">
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr">
<link rel="match" href="column-height-009-ref.html">
<div style="width:340px; orphans:1; widows:1; line-height:20px;">
  <div style="columns:3; gap:20px; column-rule:2px solid; column-height:40px; column-wrap:wrap; background:yellow;">
    <div style="width:50px; background:cyan;">
      a<br>
      b<br>
      c<br>
      d<br>
      e<br>
      f<br>
      g<br>
      h<br>
      i<br>
      j<br>
      k<br>
      l<br>
      m<br>
      n<br>
      o<br>
      p<br>
    </div>
  </div>
</div>

/css/css-multicol/column-height-009-ref.html

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  .item {
    display: block;
    width: 50px;
    height: 40px;
    margin-bottom: 20px;
    background: cyan;
  }
  .column {
    float: left;
    width: 100px;
  }
  .rule {
    float: left;
    width: 2px;
    margin-left: 9px;
    margin-right: 9px;
    background: black;
  }
</style>
<div style="width:340px; height:160px; line-height:20px; background:yellow;">
  <div class="column">
    <div class="item">a<br>b</div>
    <div class="item">g<br>h</div>
    <div class="item">m<br>n</div>
  </div>
  <div class="rule" style="height:40px;"></div>
  <div class="rule" style="position: absolute; top: 68px; left: 108px; height:40px;"></div>
  <div class="rule" style="position: absolute; top: 128px; left: 108px; height:40px;"></div>
  <div class="column">
    <div class="item">c<br>d</div>
    <div class="item">i<br>j</div>
    <div class="item">o<br>p</div>
  </div>
  <div class="rule" style="height:40px;"></div>
  <div class="rule" style="position: absolute; top: 68px; left: 228px; height:40px;"></div>
  <div class="column">
    <div class="item">e<br>f</div>
    <div class="item">k<br>l</div>
  </div>
</div>