Bug 1940304 - Fix browser_sidebar_button_reset.js intermittent r=sidebar-reviewers...
[gecko.git] / layout / reftests / forms / fieldset / abs-pos-child-sizing.html
blob72d47deac9bd794303be13ff7eade053960c4f85
1 <!DOCTYPE HTML>
2 <html><head>
3 <meta charset="utf-8">
4 <title>Testcase for bug 971653</title>
5 <style type="text/css">
6 html,body {
7 color:black; background-color:white; font-size:16px; padding:0; margin:0;
10 div {
11 position: absolute;
12 background: rgba(0,255,0,0.5);
13 top:0; bottom:0;
14 left:0; right:0;
15 z-index: 0;
17 c {
18 display: block;
19 background: blue;
20 height:100%;
23 legend { height: 24px; }
25 fieldset {
26 position: absolute;
27 border: 2px green solid;
28 width: 100px;
29 height: 100px;
30 margin-bottom:40px;
33 #t1,#t3 { padding: 3px 5px 7px 11px; }
34 #t2,#t4 { padding: 0; }
36 #t2 { top: 120px; }
37 #t3 { top: 240px; }
38 #t4 { top: 360px; }
39 </style>
40 </head>
41 <body>
44 <fieldset id="t1">
45 <legend>legend</legend>
46 <div></div><c></c>
47 </fieldset>
49 <fieldset id="t2">
50 <legend>legend</legend>
51 <div></div>
52 </fieldset>
54 <fieldset id="t3">
55 <div></div><c></c>
56 </fieldset>
58 <fieldset id="t4">
59 <div></div>
60 </fieldset>
63 </body>
64 </html>