<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals)
    internals.settings.setEditableRegionEnabled(true);
</script>
</head>
<body style="height: 4096px">
<div style="position: fixed; border: 1px solid black; width: 100%; height: 40px" contenteditable="true"></div>
<div style="position: absolute; border: 1px solid black; height: 256px; width: 256px; top: 1000px; left: 200px" contenteditable="true"></div>
<pre id="results"></pre>
<script>
window.scrollTo(0, 1024);

if (window.testRunner)
    testRunner.dumpAsText();
if (window.internals)
    results.textContent = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_EVENT_REGION | internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
</script>
</body>
</html>
