blob: 2d21e1cd80107ee2edc6566a196c13d673d096e4 [file] [edit]
<!DOCTYPE html>
<html>
<style>
body { margin: 20px; }
a {
display: block;
width: 400px;
border: 1px black solid;
padding: 20px;
line-height: 25px;
opacity: 0;
}
</style>
<body>
<a href="#">
Some text
<button class="styled">but also a button</button>
<button class="styled-native">and another that overflows</button>
</a>
<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>