summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/widows-block-in-inline-001.html
blob: 8b5438bbc7251b597247617bac1063f4f32831e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<title>CSS Fragmentation level 3 Test: widows and orphans in block-in-inline</title>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-break/#widows-orphans">
<link rel="match" href="reference/widows-block-in-inline-001-ref.html">
<style>
.columns {
  columns: 3;
  column-fill: auto;
  line-height: 1;
  height: 5em;
  orphans: 3;
  widows: 3;
}
</style>
<body>
  <div class="columns">
    <div>
      p1l1<br>
      p1l2<br>
      p1l3<br>
    </div>
    <span>
      <div>
        p2l1<br>
        p2l2<br>
        p2l3<br>
        p2l4<br>
        p2l5<br>
        p2l6<br>
        p2l7<br>
      </div>
    </span>
  </div>
</body>