summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_hittest_iframe_perspective_child.html
blob: 37f20ad7258b51036c86232fde571666f26e95f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<script>
  window.addEventListener("mousedown", event => {
    let data = JSON.stringify({
      type: "got-mouse-down",
      coords: {
        offsetX: event.clientX,
        offsetY: event.clientY
      }
    });
    window.parent.postMessage(data, "*");
  });
</script>