Skip to content

Commit

Permalink
Change movementX/Y type to double (#68)
Browse files Browse the repository at this point in the history
Update coordinate field to match [MouseEvent extension](https://drafts.csswg.org/cssom-view/#extensions-to-the-mouseevent-interface) in CCSOM View Module.

Close #24
  • Loading branch information
EiraGe authored Jun 15, 2021
1 parent b043c1b commit 8ff26a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ <h2>
</h2>
<pre class="idl">
partial interface MouseEvent {
readonly attribute long movementX;
readonly attribute long movementY;
readonly attribute double movementX;
readonly attribute double movementY;
};
</pre>
<dl>
Expand Down Expand Up @@ -481,8 +481,8 @@ <h2>
</h2>
<pre class="idl">
partial dictionary MouseEventInit {
long movementX = 0;
long movementY = 0;
double movementX = 0;
double movementY = 0;
};
</pre>
<dl>
Expand Down

0 comments on commit 8ff26a6

Please sign in to comment.