blob: 074cbe857024cb77784ca6b52ceed3511ab924e1 [file] [log] [blame]
<html>
<head>
<style>
body {
direction: rtl;
overflow: hidden;
}
#indicator {
position: absolute;
top: 58px;
left: 642px;
width: 100px;
height: 100px;
background-color: red;
}
#layer {
-webkit-transform:translateZ(0);
position: relative;
top: 50px;
right: 50px;
width: 100px;
height: 100px;
background-color: green;
}
#layertree {
position: absolute;
top: 10000px;
left: 0px;
}
</style>
<script>
function doTest() {
if (window.testRunner) {
if (top == self)
document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
testRunner.dumpAsText(true);
}
}
window.addEventListener('load', doTest, false);
</script>
<body>
<div id="indicator"></div>
<div id="layer"></div>
<pre id="layertree"></pre>
</body>
</html>