blob: 71341243fdd03e48e298f7f853abed963c2e4629 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
margin: 10px;
padding: 10px;
box-sizing: border-box;
background-color: silver;
-webkit-transform: scale3d(2, 2, 1);
-webkit-transform-origin: top left;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function doTest()
{
if (window.internals)
document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS)
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div class="box">Box</div>
<pre id="layers">Layer tree goes here when testing</pre>
</body>
</html>