35 lines
781 B
HTML
35 lines
781 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<style>
|
|
html {
|
|
background-color: white;
|
|
}
|
|
body {
|
|
background-color: silver;
|
|
margin: 0;
|
|
}
|
|
|
|
.tall {
|
|
position: absolute;
|
|
top: 0;
|
|
background-color: gray;
|
|
height: 2000px;
|
|
width: 20px;
|
|
}
|
|
</style>
|
|
<script>
|
|
window.onload = () => {
|
|
window.addEventListener('wheel', () => { results.textContent += 'passive wheel\n' }, { passive: true });
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
if (window.internals)
|
|
results.innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_EVENT_REGION | internals.LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES);
|
|
}
|
|
</script>
|
|
<body>
|
|
<div class="tall"></div>
|
|
<pre id="results"></pre>
|
|
</body>
|
|
</html>
|