mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision 6d85a3b422cab97d032ad3db47cb741ca364185f
This commit is contained in:
parent
cd663ea332
commit
b524b7c279
37 changed files with 1446 additions and 178 deletions
|
@ -1,11 +1,17 @@
|
|||
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
||||
enum LocalCoordinateSystem { "device", "screen" };
|
||||
|
||||
dictionary SpatialSensorOptions : SensorOptions {
|
||||
LocalCoordinateSystem referenceFrame = "device";
|
||||
};
|
||||
|
||||
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
|
||||
interface Accelerometer : Sensor {
|
||||
readonly attribute double? x;
|
||||
readonly attribute double? y;
|
||||
readonly attribute double? z;
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
||||
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
|
||||
interface LinearAccelerationSensor : Accelerometer {
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue