mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad
This commit is contained in:
parent
ff58cb0a3f
commit
44c252aede
56 changed files with 1921 additions and 67 deletions
|
@ -6,10 +6,16 @@ interface OrientationSensor : Sensor {
|
|||
void populateMatrix(RotationMatrixType targetMatrix);
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
enum LocalCoordinateSystem { "device", "screen" };
|
||||
|
||||
dictionary OrientationSensorOptions : SensorOptions {
|
||||
LocalCoordinateSystem referenceFrame = "device";
|
||||
};
|
||||
|
||||
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface AbsoluteOrientationSensor : OrientationSensor {
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface RelativeOrientationSensor : OrientationSensor {
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue