blob: 5ee24ab5ca4c66390a8affc4c40af9aed9310c74 [file] [edit]
<!DOCTYPE html>
<html>
<style>
body { margin: 0; }
#button, #occlusion {
display: inline-block;
width: 135800px;
height: 35000px;
background-color: green;
cursor: pointer;
border-radius: 10px;
}
#occlusion {
display: block;
z-index: 1;
cursor: auto;
}
</style>
<body>
<div id="button" onclick="click()"></div>
<div id="occlusion"></div>
<pre id="results"></pre>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function () {
if (window.internals)
results.textContent = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_EVENT_REGION | internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
};
</script>
</body>
</html>