Skip to content

Commit

Permalink
Change movementX/Y type to double
Browse files Browse the repository at this point in the history
close w3c#24
  • Loading branch information
EiraGe committed Nov 2, 2018
1 parent dc3bff1 commit 6f96d9a
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 @@ -433,8 +433,8 @@ <h2>Extensions to the <a>MouseEvent</a> Interface</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 @@ -505,8 +505,8 @@ <h2>Extensions to the <a>MouseEventInit</a> Dictionary</h2>

<pre class="idl">
partial dictionary MouseEventInit {
long movementX = 0;
long movementY = 0;
double movementX = 0;
double movementY = 0;
};
</pre>
<dl>
Expand Down

1 comment on commit 6f96d9a

@mustaqahmed
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go into the main repository. Please create a PR to it. Thanks.

Please sign in to comment.