blob: 30b3fa41dffa8a5db7130a8e32c8ebca8cb6763b [file] [log] [blame]
<!DOCTYPE>
<html>
<head>
<style>
body {
margin: 0;
}
.box {
height: 200px;
width: 200px;
background-color: red;
-webkit-transform: translateZ(1px);
}
.indicator {
position: absolute;
top: 200px;
background-color: green;
}
.reflected {
-webkit-box-reflect: below 0;
}
</style>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText(true);
layoutTestController.waitUntilDone();
}
function doTest()
{
window.setTimeout(function() {
document.getElementById('test').style.backgroundColor = 'transparent';
if (window.layoutTestController)
layoutTestController.notifyDone();
}, 0);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div class="indicator box"></div>
<!-- You should see no red box below -->
<div id="test" class="reflected box"></div>
</body>
</html>