blob: 0686e701170a33ec75c67987a4a22e06a4d957c6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.box {
height: 100px;
width: 100px;
position: absolute;
z-index: 0;
}
.parent {
border: 1px solid black;
}
.child {
top: 10px;
left: 10px;
background-color: silver;
z-index: -1;
}
</style>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
testRunner.dumpAsText();
function doTest() {
document.getElementById('child').style.webkitTransform = 'translateZ(0)';
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<p>This test should not assert in debug builds.</p>
<div class="parent box">
<div id="child" class="child box"></div>
</div>
</body>
</html>