blob: 48324017feaa01832255b500c8c9327abb8de555 [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 {
will-change: transform;
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 = internals.layerTreeAsText(document);
testRunner.dumpAsTextWithPixelResults();
}
}
window.addEventListener('load', doTest, false);
</script>
<body>
<div id="indicator"></div>
<div id="layer"></div>
<pre id="layertree"></pre>
</body>
</html>