summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/column-balancing-nested-000.html
blob: 66a955930927fdaf9a8c781d0c0e8523245d060a (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
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/licenses/publicdomain/
-->
<!DOCTYPE html>
<html lang="en-US">
<head>
  <title>Testing nested balancing column sets</title>
  <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=822053">
<style type="text/css">
        html,body {
            color:black; background-color:white; font-size:16px; padding:0; margin:0;
        }

  .colset {
    column-count: 2;
    column-gap: 1px;
    column-rule: 1px solid black;
    border: solid silver;
    width:30ch;
  }
  p { margin: 0; }
</style>
</head>
<body>
<div class="colset">
  <p>one one one one one</p>
  <div class="colset">
    <p>two two two two two</p>
  </div>
</div>
<br>
<div class="colset">
  <p>one one one one one</p>
  <div class="colset">
    <p>two two two two two</p>
    <div class="colset">
      <p>three three three three three</p>
    </div>
  </div>
</div>
<br>
<div class="colset">
  <p>one one one one one</p>
  <div class="colset">
    <p>two two two two two</p>
    <div class="colset">
      <p>three three</p>
      <div class="colset">
        <p>four four four four four</p>
      </div>
    </div>
  </div>
</div>
</body>
</html>