34 lines
795 B
HTML
34 lines
795 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
width: 1200px;
|
|
height: 2000px;
|
|
}
|
|
</style>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function doTest()
|
|
{
|
|
if (window.eventSender)
|
|
eventSender.scalePageBy(2.3, 0, 0);
|
|
|
|
window.scrollTo(800, 1000);
|
|
|
|
if (window.internals) {
|
|
document.getElementById('layers').innerText = internals.layerTreeAsText(document,
|
|
internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
|
|
}
|
|
}
|
|
window.addEventListener('load', doTest, false);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<pre id="layers">Layer tree goes here</p>
|
|
</body>
|
|
</html>
|