summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/fieldset-columns-001.html
blob: 705cea0e82f31e72fce1cdbc377112eef6c8789a (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
<!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 {
  columns: 2;
  column-fill: auto;
  border: 1px solid;
}
.rel {
  position: relative;
}
</style>
<fieldset class="rel" style="overflow:hidden; width:300px; height:200px;">
  <legend>Legend</legend>
  <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>
</fieldset>
<fieldset class="rel" style="columns: 3; column-gap:2em; column-rule:3px solid; column-width:3em; width:600px; height:7em">
  <legend>Legend</legend>
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
<a></a><f style="left:120px"></f>
</fieldset>
<fieldset style="overflow:hidden; width:300px; height:2em;">
  <legend>Legend</legend>
  <p>X
<a></a><f style="left:140px"></f>
</fieldset>
<fieldset style="width:600px; height:2em">
  <legend>Legend</legend>
  <p>X
<a></a><f style="left:160px"></f>
</fieldset>

</body>
</html>