blob: 7a84baf59596b6603be26615b7d3dcf380be0a8b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#caption {
width: 200px;
height: 100px;
background-color: green;
-webkit-transform: translateZ(0);
}
.inner {
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 = window.internals.layerTreeAsText(document);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div id="caption" style="position: fixed; background: green;">
<div class="inner">
Inner
</div>
</div>
<pre id="layertree"></pre>
</body>
</html>