summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html
blob: c3034d475eee8c58ed1b079fce9466925c5d0379 (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 cs = window.getComputedStyle(document.documentElement).getPropertyValue("pointer-events");
        assert_equals(cs, 'none');
    });
</script>