blob: 99026ddf3ee09523a3c45472f79dc03e2c51c708 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we properly reparent containing block descendants.</title>
<style>
.container {
position: relative;
height: 20px;
width: 20px;
border: 10px solid gray;
}
.indented {
left: 10px;
}
.box {
left: 0px;
top: 0px;
height: 10px;
width: 10px;
background-color: blue;
}
</style>
</head>
<body>
<div class=box style="position: absolute"></div>
<div class="container indented"><div class=box></div></div>
<div class=container><div class=box></div></div>
<div class="container indented"><div class=box></div></div>
<div class="container indented"><div class=box></div></div>
<div class="container indented"><div class=box></div></div>
<div class=container><div class=box></div></div>
<div class=container></div>
</body>
</html>