Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /pointerevents/pointerevent_root_computed_style.html - WPT Dashboard Interop Dashboard
<!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>