blob: cbb16439d5f69112a3789f979f583769936a0251 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
body { background-color:silver }
.box {
height: 200px;
width: 200px;
margin: 10px;
padding: 5px;
background-color: blue;
}
.composited {
-webkit-transform: translateZ(0);
}
</style>
<script type="text/javascript" charset="utf-8">
function doTest()
{
window.setTimeout(function() {
document.getElementById('test').className = 'composited box';
parent.testDone();
}, 50);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div id="test" class="box">
</div>
</body>
</html>