Fixed GCC complaints (recursion fallout 3, yay).
[mozilla-central.git] / layout / reftests / margin-collapsing / block-abs-pos-1.html
blobf5d24a21e0433a30d7c8ad8db8f2fab1fc5f4274
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <!-- The interaction of "static position" with margin collapsing is not well
5 defined. In CSS 2.1, there is no hint regarding the expected rendering,
6 so this test may turn out invalid. -->
7 <style type="text/css">
8 #a {
9 height: 20px;
10 background-color: red;
11 margin-bottom: 20px;
13 #b {
14 width: 20px; height: 20px;
15 background-color: blue;
16 margin-top: 10px;
17 margin-bottom: 10px;
18 position: absolute;
20 #c {
21 height: 20px;
22 background-color: green;
23 margin-top: 20px;
25 </style>
26 </head>
27 <body>
28 <div id="a"></div>
29 <div id="b"></div>
30 <div id="c"></div>
31 </body>
32 </html>