8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
screenLeft
screenTop
1 parent 937ed3c commit 68a0d25Copy full SHA for 68a0d25
css/cssom-view/screenLeftTop.html
@@ -0,0 +1,14 @@
1
+<!DOCTYPE html>
2
+<script src="/resources/testharness.js"></script>
3
+<script src="/resources/testharnessreport.js"></script>
4
+<script>
5
+test(() => {
6
+ assert_equals(typeof window.screenLeft, "number", "screenLeft type");
7
+ assert_equals(window.screenLeft, window.screenX, "alias of screenX");
8
+}, "screenLeft");
9
+
10
11
+ assert_equals(typeof window.screenLeft, "number", "screenTop type");
12
+ assert_equals(window.screenLeft, window.screenX, "alias of screenY");
13
+}, "screenTop");
14
+</script>
0 commit comments