Automatic update from web-platform-tests Update interfaces/pointerlock.idl (#26163) Source: https://github.com/w3c/webref/blob/38e9fdf/ed/idl/pointerlock.idl Build: https://travis-ci.org/w3c/webref/builds/190892914 -- wpt-commits: d0c9044f6ab9ad23679cd977470aeb32378d6274 wpt-pr: 26163
29 lines
711 B
Plaintext
29 lines
711 B
Plaintext
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into webref
|
|
// (https://github.com/w3c/webref)
|
|
// Source: Pointer Lock 2.0 (https://w3c.github.io/pointerlock/)
|
|
|
|
partial interface Element {
|
|
undefined requestPointerLock();
|
|
};
|
|
|
|
partial interface Document {
|
|
attribute EventHandler onpointerlockchange;
|
|
attribute EventHandler onpointerlockerror;
|
|
undefined 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;
|
|
};
|