mirror of
https://github.com/servo/servo.git
synced 2025-08-18 20:05:34 +01:00
Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1
This commit is contained in:
parent
2f8fa32e91
commit
db5631a086
381 changed files with 11610 additions and 4232 deletions
|
@ -1,28 +1,34 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the Screen Orientation API spec.
|
||||
// See https://w3c.github.io/screen-orientation/
|
||||
|
||||
partial interface Screen {
|
||||
[SameObject]
|
||||
readonly attribute ScreenOrientation orientation;
|
||||
[SameObject] readonly attribute ScreenOrientation orientation;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface ScreenOrientation : EventTarget {
|
||||
Promise<void> lock(OrientationLockType orientation);
|
||||
void unlock();
|
||||
readonly attribute OrientationType type;
|
||||
readonly attribute unsigned short angle;
|
||||
attribute EventHandler onchange;
|
||||
Promise<void> lock(OrientationLockType orientation);
|
||||
void unlock();
|
||||
readonly attribute OrientationType type;
|
||||
readonly attribute unsigned short angle;
|
||||
attribute EventHandler onchange;
|
||||
};
|
||||
|
||||
enum OrientationType {
|
||||
"portrait-primary",
|
||||
"portrait-secondary",
|
||||
"landscape-primary",
|
||||
"landscape-secondary"
|
||||
"portrait-primary",
|
||||
"portrait-secondary",
|
||||
"landscape-primary",
|
||||
"landscape-secondary"
|
||||
};
|
||||
|
||||
enum OrientationLockType {
|
||||
"any",
|
||||
"natural",
|
||||
"landscape",
|
||||
"portrait",
|
||||
"portrait-primary",
|
||||
"portrait-secondary",
|
||||
"landscape-primary",
|
||||
"landscape-secondary"
|
||||
"any",
|
||||
"natural",
|
||||
"landscape",
|
||||
"portrait",
|
||||
"portrait-primary",
|
||||
"portrait-secondary",
|
||||
"landscape-primary",
|
||||
"landscape-secondary"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue