mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Explicitly expose MouseEvent only in Window
This commit is contained in:
parent
2221203359
commit
ba0bf3a066
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://w3c.github.io/uievents/#interface-mouseevent
|
||||
[Constructor(DOMString typeArg, optional MouseEventInit mouseEventInitDict)]
|
||||
[Constructor(DOMString typeArg, optional MouseEventInit mouseEventInitDict),
|
||||
Exposed=Window]
|
||||
interface MouseEvent : UIEvent {
|
||||
readonly attribute long screenX;
|
||||
readonly attribute long screenY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue