<!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.willChange = 'transform';
}
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>