diff options
Diffstat (limited to 'testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html')
-rw-r--r-- | testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html b/testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html new file mode 100644 index 0000000000..c3034d475e --- /dev/null +++ b/testing/web-platform/tests/pointerevents/pointerevent_root_computed_style.html @@ -0,0 +1,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> |