mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests Update interfaces/pointerlock.idl (#14991) Source: https://github.com/tidoust/reffy-reports/blob/8a0d273/whatwg/idl/pointerlock.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/482751671 -- wpt-commits: 7aa7cc0d818afb22f338bf7db355a563d85c1c30 wpt-pr: 14991
28 lines
718 B
Text
28 lines
718 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Pointer Lock 2.0 (https://w3c.github.io/pointerlock/)
|
|
|
|
partial interface Element {
|
|
void requestPointerLock();
|
|
};
|
|
|
|
partial interface Document {
|
|
attribute EventHandler onpointerlockchange;
|
|
attribute EventHandler onpointerlockerror;
|
|
void exitPointerLock();
|
|
};
|
|
|
|
partial interface mixin DocumentOrShadowRoot {
|
|
readonly attribute Element? pointerLockElement;
|
|
};
|
|
|
|
partial interface MouseEvent {
|
|
readonly attribute long movementX;
|
|
readonly attribute long movementY;
|
|
};
|
|
|
|
partial dictionary MouseEventInit {
|
|
long movementX = 0;
|
|
long movementY = 0;
|
|
};
|