1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Margin collapsing - absolute positioning and siblings
</title>
5 <script src=
"../../resources/ahem.js"></script>
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/box.html#collapsing-margins">
7 <meta name=
"flags" content=
"ahem image">
8 <meta name=
"assert" content=
"Absolutely positioned boxes do not collapse margins with siblings.">
9 <style type=
"text/css">
12 border-top: 1em solid green
;
16 border-bottom: 1em solid green
;
21 <p>Test passes if there is no red visible on the page.
</p>