mirror of
https://github.com/servo/servo.git
synced 2025-09-03 11:38:22 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -7,14 +7,8 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/WebIDLParser.js"></script>
|
||||
<script src="/resources/idlharness.js"></script>
|
||||
<style>
|
||||
pre {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<div id="log"></div>
|
||||
|
||||
<pre id="untested_idl">
|
||||
<script type="text/plain" id="untested_idl">
|
||||
interface Event {
|
||||
};
|
||||
|
||||
|
@ -26,12 +20,12 @@ dictionary EventInit {
|
|||
|
||||
interface Window {
|
||||
};
|
||||
</pre>
|
||||
</script>
|
||||
|
||||
<pre id='idl'>
|
||||
<script type="text/plain" id="idl">
|
||||
partial interface Window {
|
||||
attribute EventHandler ondeviceorientation;
|
||||
attribute EventHandler ondevicemotion;
|
||||
attribute EventHandler ondeviceorientation;
|
||||
attribute EventHandler ondevicemotion;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional DeviceOrientationEventInit eventInitDict)]
|
||||
|
@ -43,10 +37,10 @@ interface DeviceOrientationEvent : Event {
|
|||
};
|
||||
|
||||
dictionary DeviceOrientationEventInit : EventInit {
|
||||
double? alpha = null;
|
||||
double? beta = null;
|
||||
double? gamma = null;
|
||||
boolean absolute = false;
|
||||
double? alpha = null;
|
||||
double? beta = null;
|
||||
double? gamma = null;
|
||||
boolean absolute = false;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
|
@ -68,7 +62,7 @@ interface DeviceMotionEvent : Event {
|
|||
readonly attribute DeviceAcceleration? acceleration;
|
||||
readonly attribute DeviceAcceleration? accelerationIncludingGravity;
|
||||
readonly attribute DeviceRotationRate? rotationRate;
|
||||
readonly attribute double? interval;
|
||||
readonly attribute double interval;
|
||||
};
|
||||
|
||||
dictionary DeviceAccelerationInit {
|
||||
|
@ -87,9 +81,9 @@ dictionary DeviceMotionEventInit : EventInit {
|
|||
DeviceAcceleration? acceleration;
|
||||
DeviceAcceleration? accelerationIncludingGravity;
|
||||
DeviceRotationRate? rotationRate;
|
||||
double? interval = null;
|
||||
double interval = 0;
|
||||
};
|
||||
</pre>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
"use strict";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue