summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/fieldset-columns-001-ref.html
blob: 6b4daba6a45f005acfca5e156ff3cd287d74dfcf (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE HTML>
<html>
<body>
<style>
a {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 0;
  left: 0;
  background: blue;
}
f {
  position: fixed;
  width: 10px;
  height: 10px;
  bottom: 0;
  left: 100px;
  background: lime;
}
fieldset div {
  -moz-columns: 2;
  -moz-column-fill: auto;
}
fieldset {
  border: 1px solid;
}
.rel {
  position: relative;
}
</style>
<fieldset style="overflow:hidden; width:300px; height:200px;">
  <legend>Legend</legend>
<div class="rel" style="-moz-columns: 2; width:100%; height:100%;">
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
<a></a><f></f>
</div>
</fieldset>
<fieldset style="width:600px; height:7em; overflow:hidden">
  <legend>Legend</legend>
<div class="rel" style="-moz-columns: 3; -moz-column-gap:2em; -moz-column-rule:3px solid; -moz-column-width:3em; width:100%; height:100%">
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
<a></a><f style="left:120px"></f>
</div>
</fieldset>
<fieldset style="overflow:hidden; width:300px; height:2em;">
  <legend>Legend</legend>
<div>
  <p>X
<a></a><f style="left:140px"></f>
</div>
</fieldset>
<fieldset style="width:600px; height:2em">
  <legend>Legend</legend>
<div>
  <p>X
<a></a><f style="left:160px"></f>
</div>
</fieldset>

</body>
</html>