summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/pointerevents/pointerevent_root_hit_test.html
blob: b09dfafe69d78985545453b4207d41353362defd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<meta charset=utf-8>
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style type="text/css">
    :root {
        pointer-events: none;
    }
</style>
<html>
    <body>
    </body>
</html>
<script>
    test(() => {
        let element = document.elementFromPoint(50, 50);
        assert_equals(element, document.documentElement);
    });
</script>