Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<head>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/paint_listener.js"></script>
<script src="apz_test_utils.js"></script>
<style>
body {
margin: 0px;
}
#target {
width: 100%;
height: 100vh;
background: blue;
overflow: scroll;
}
</style>
</head>
<body>
<div id="target">
</div>
</body>
<script>
window.addEventListener("wheel", () => {
window.parent.postMessage("child-received-wheel-event", "*");
});
</script>
</html>