summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_hittest_bug1715187_oopif.html
blob: c0f5baf467d9b151c53922543a217c4e4ea338e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<style>
body, html { margin: 0; }
</style>
<div id="thediv" style="position: absolute; top: 0; left: 0; width: 10px; height: 10px; background: blue;">
</div>
<div style="width:10px; height: 500vh;"></div>
<script>
let target = document.getElementById("thediv");
target.addEventListener("click", listener);
function listener() {
	parent.postMessage("gotclick", "*");
}
</script>