summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/column-balancing-paged-001-print.html
blob: 933519ab5b01ded09f1173c9e45a1692a65daa99 (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
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Multi-column Layout Test: Test fragmentation for a nested multi-column container with column-span in paginated context</title>
  <link rel="match" href="column-balancing-paged-001-print-ref.html">
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
  <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
  <link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules">

  <style>
  .outer {
    column-count: 1;
    column-rule: 6px solid black;
  }
  .inner {
    column-count: 2;
    column-rule: 3px solid green;
    background-color: lightgreen;
  }
  .block1 {
    background-color: yellow;
    height: 3in;
  }
  .spanner {
    column-span: all;
    height: 2in;
    background-color: lightblue;
  }
  .block2 {
    background-color: pink;
    height: 3in
  }
  </style>

  <article class="outer">
    <article class="inner">
      <div class="block1">block1</div>
      <div class="spanner">spanner</div>
      <div class="block2">block2</div>
    </article>
  </article>
</html>