blob: 95c89456ff29edcb236e16fa47919bf2ce2847b2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<iframe id="testFrame" srcdoc="<div style='width: 100px; height: 100px; border:1px solid black'></div>" onload="runTest()"></iframe>
<pre id="results"></pre>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function runTest()
{
testFrame.contentDocument.querySelector("div").style.touchAction = "none";
if (window.internals)
results.innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_EVENT_REGION | internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</body>
</html>