blob: f8fa52725e15187e5703f88826a87ad5a02d2d51 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
background-color: silver;
border: 2px solid black;
-webkit-box-reflect: below 5px;
}
.box.changed {
background-color: orange;
}
.composited {
-webkit-transform: translateZ(0);
}
</style>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function doTest()
{
window.setTimeout(function() {
document.getElementById('box').classList.add('changed');
if (window.testRunner)
testRunner.notifyDone();
}, 0);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div id="box" class="composited box">
</div>
</body>
</html>