gecko/layout/reftests/margin-collapsing/block-abs-pos-2-ref.html

25 lines
318 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
background-color: green;
width: 200px;
position: absolute;
top: 20px; left: 20px;
padding-top: 40px;
padding-bottom: 40px;
}
#b {
background-color: blue;
height: 100px;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
</div>
</body>
</html>