summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/fieldset-overflow-auto-1-ref.html
blob: 9732c7feab43c63c0fe91d21368ee763c9a970ff (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
<!DOCTYPE HTML>
<html><head>
    <meta charset="utf-8">
    <title>Testcase for bug 261037</title>
    <style type="text/css">
fieldset, div { 
  background:pink;
  overflow:auto;
  height:100px;
  margin:0; padding:0; border:0;
}
p {
  background:blue;
  height:100px;
  margin:0; padding:0;
}
.overflow {
  height:110px;
}
.abs {
  position:absolute;
  width:100px;
  top:250px;
}
p.abs {
  top:0;left:0;
}
.b { border:10px solid black; }
.p { padding: 7px 0; }
.p p { height:114px; }
    </style>
</head>
<body>

<div><p></p></div>
<br>
<div><p class="overflow"></p></div>
<br>
<div class="abs"><p class="abs"></p></div>
<br>
<div class="abs" style="left:120px"><p class="abs overflow"></p></div>
<br>
<div class="abs b" style="left:240px"><p class="abs"></p></div>
<br>
<div class="abs b" style="left:370px"><p class="abs overflow"></p></div>
<br>
<div class="abs b p" style="left:510px"><p class="abs"></p></div>
<br>
<div class="abs b p" style="left:640px"><p class="abs overflow"></p></div>

</body>
</html>