blob: 00a2ade19e03a2827828b3192a0d2d5c91fa2027 [file] [log] [blame]
<!DOCTYPE html>
<html><head>
<title>CSS filter blur occlusion test.</title>
<style type="text/css">
.composited {
transform: translateZ(0);
}
.yellow-parent {
width: 600px;
height: 600px;
-webkit-filter: blur(10px);
}
.centered {
width: 200px;
height: 200px;
position: absolute;
left: 100px;
top: 100px;
}
</style>
</head>
<body>
<!--
This test guards against over-culling of the "hidden" yellow box. Since the yellow box is blurred,
it becomes visible around the outside of the green box.
-->
<div class="yellow-parent composited" style="position:absolute; left:0; top:0">
<div class="centered composited" style="background-color: yellow;">
</div>
</div>
<div class="composited centered" style="background-color: green;">
</div>
</body>
</html>