gecko/layout/reftests/margin-collapsing/block-percent-1.html

29 lines
366 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
height: 200px; width: 200px;
}
#b {
height: 50px;
background-color: green;
padding-top: 15%;
margin-bottom: 10%;
}
#c {
height: 30px;
background-color: blue;
padding-bottom: 20%;
margin-top: 25%;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
<div id="c"></div>
</div>
</body>
</html>