blob: b055cd91280bc1fd2e43ede1f1fe0e0be59e5f44 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that that sibling container gets composited when composition of the inner content is forced by its child container.</title>
<style>
.container {
transform: translateZ(0);
height: 200px;
width: 200px;
}
.inner {
z-index: 1;
overflow: hidden;
position: absolute;
width: 200px;
height: 200px;
background-color: silver;
}
.inner-most {
transform: translateZ(0);
display: inline-block;
width: 100px;
height: 100px;
border: 1px solid green;
margin-top: 60px;
}
.sibling {
z-index: 1;
position: relative;
width: 200px;
height: 40px;
background-color: green;
}
</style>
<body>
<div class=container>
<div class=inner>
<div class=inner-most>composited</div>
</div>
<div class=sibling></div>
</div>
</body>
</html>