Files
tubestation/testing/web-platform/tests/interfaces/pointerlock.idl
github-actions[bot] 9e3919a5f8 Bug 1716997 [wpt PR 29414] - Sync interfaces/ with @webref/idl 2.4.0, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 2.4.0 (#29414)

--

wpt-commits: 35acd0f4fc15606b1e4010e13e99e57df90d7ca7
wpt-pr: 29414
2021-10-04 00:19:09 +00:00

29 lines
719 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 double movementX;
readonly attribute double movementY;
};
partial dictionary MouseEventInit {
double movementX = 0;
double movementY = 0;
};