summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/multi-column-1.html
blob: 3d711dde81690022bd2464b67a65e5c2fc3b6a72 (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
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
div {
  color: #222;
  padding: 10px;
  border: 2px solid;
  position:relative;

  width:10em;
  column-count:2;
  -webkit-column-count:2;
}

h2, h3 {position:absolute; width:3em; background: #f00; color:#fff;}
h2 { top: 0; left: 0; }
h3 { bottom: 0; right: 0; }

p, h2, h3 {margin:0;}
p { visibility: hidden; }
</style>
</head>
<body>
<div>
<h2>Test</h2>
<h3>Test</h3>
<p>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br> </p>
</div>
</body>
</html>