blob: f3f6543c5898396739e657be8988132b78b9d526 [file] [log] [blame]
<!DOCTYPE html>
<html>
<style>
body { margin: 0; }
#layer {
width: 200px;
height: 200px;
will-change: opacity;
}
</style>
<body>
<a href="#">This</a> is a link, outside the layer.
<div id="layer">
<a href="#">This</a> is a link, inside the layer.
</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>