mirror of
https://github.com/servo/servo.git
synced 2025-06-30 12:03:38 +01:00
27 lines
657 B
Text
27 lines
657 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the Pointer Lock spec.
|
|
// See https://w3c.github.io/pointerlock/
|
|
|
|
partial interface Element {
|
|
void requestPointerLock();
|
|
};
|
|
|
|
partial interface Document {
|
|
attribute EventHandler onpointerlockchange;
|
|
attribute EventHandler onpointerlockerror;
|
|
void exitPointerLock();
|
|
};
|
|
|
|
partial interface 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;
|
|
};
|