gecko-dev/testing/web-platform/tests/interfaces/pointerlock.idl
autofoolip 29f9a616a9 Bug 1523562 [wpt PR 14991] - Update interfaces/pointerlock.idl, a=testonly
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
2019-02-07 21:50:50 +00:00

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;
};