blob: e383c662c17afee9140d22494cacc990f23e0f4e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
background-color: blue;
}
.composited {
transform: translate3d(0, 0, 1px);
}
</style>
<script>
function doCompositingChange()
{
document.getElementById('target').classList.add('composited');
}
</script>
</head>
<body>
<p>This text and the blue box should not disappear</p>
<div id="target" class="box">box</div>
</body>
</html>