blob: 3f14645af2c69b035a82ffae2da221becad703af [file] [log] [blame]
<!DOCTYPE html>
<html>
<style>
body { margin: 0; }
#button {
display: inline-block;
width: 100px;
height: 100px;
background-color: green;
cursor: pointer;
border-radius: 10px;
}
</style>
<body>
<div id="button" onclick="click()"></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>