blob: 8af1ecfbd06610ff9f6e0f875eb6ad8ea1d97c8e [file] [log] [blame]
<!DOCTYPE html>
<style>
.container {
width: 100px;
height:100px;
position:absolute;
transform:translateZ(0);
overflow:auto;
}
.content {
transform: translateZ(0);
position:absolute;
width:10px;
height:10px;
}
.tall {
height:200px;
}
.wide {
width:200px;
}
.resizeWidget {
resize: both;
}
</style>
<pre id="layerTree"></pre>
<div class="container">
<div class="content tall"></div>
</div>
<div class="container">
<div class="content wide"></div>
</div>
<div class="container">
<div class="content wide tall"></div>
</div>
<div class="container resizeWidget">
<div class="content"></div>
</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
document.getElementById("layerTree").innerText = window.internals.layerTreeAsText(document);
}
</script>