blob: 56e4570a03c8e1a04f5d9b72fa84c2473e115a68 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#caption {
background-color: green;
will-change: transform;
}
.inner {
width: 200px;
height: 100px;
visibility: visible;
background-color: blue;
}
</style>
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
function doTest() {
document.getElementById("caption").style.visibility = "hidden";
if (window.testRunner && window.internals)
document.getElementById('layertree').innerText = internals.layerTreeAsText(document);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div id="caption" style="position: fixed; background: green;">
<div class="inner"></div>
</div>
<pre id="layertree"></pre>
</body>
</html>