From 8ff26a6dba5be3cb3112cfe8b255e8491b107229 Mon Sep 17 00:00:00 2001 From: Ella Ge Date: Tue, 15 Jun 2021 10:45:39 -0400 Subject: [PATCH] Change movementX/Y type to double (#68) Update coordinate field to match [MouseEvent extension](https://drafts.csswg.org/cssom-view/#extensions-to-the-mouseevent-interface) in CCSOM View Module. Close #24 --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 0d634c3..02ce706 100644 --- a/index.html +++ b/index.html @@ -400,8 +400,8 @@

         partial interface MouseEvent {
-          readonly attribute long movementX;
-          readonly attribute long movementY;
+          readonly attribute double movementX;
+          readonly attribute double movementY;
         };
       
@@ -481,8 +481,8 @@

         partial dictionary MouseEventInit {
-          long movementX = 0;
-          long movementY = 0;
+          double movementX = 0;
+          double movementY = 0;
         };