@webref/idl 3.29.0 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/ANGLE_instanced_arrays.idl +12 -0
  2. package/CSP.idl +56 -0
  3. package/DOM-Parsing.idl +26 -0
  4. package/EXT_blend_minmax.idl +10 -0
  5. package/EXT_color_buffer_float.idl +8 -0
  6. package/EXT_color_buffer_half_float.idl +12 -0
  7. package/EXT_disjoint_timer_query.idl +30 -0
  8. package/EXT_disjoint_timer_query_webgl2.idl +14 -0
  9. package/EXT_float_blend.idl +8 -0
  10. package/EXT_frag_depth.idl +8 -0
  11. package/EXT_sRGB.idl +12 -0
  12. package/EXT_shader_texture_lod.idl +8 -0
  13. package/EXT_texture_compression_bptc.idl +12 -0
  14. package/EXT_texture_compression_rgtc.idl +12 -0
  15. package/EXT_texture_filter_anisotropic.idl +10 -0
  16. package/EXT_texture_norm16.idl +16 -0
  17. package/FedCM.idl +67 -0
  18. package/FileAPI.idl +100 -0
  19. package/IndexedDB.idl +226 -0
  20. package/KHR_parallel_shader_compile.idl +9 -0
  21. package/OES_draw_buffers_indexed.idl +26 -0
  22. package/OES_element_index_uint.idl +8 -0
  23. package/OES_fbo_render_mipmap.idl +8 -0
  24. package/OES_standard_derivatives.idl +9 -0
  25. package/OES_texture_float.idl +7 -0
  26. package/OES_texture_float_linear.idl +7 -0
  27. package/OES_texture_half_float.idl +9 -0
  28. package/OES_texture_half_float_linear.idl +7 -0
  29. package/OES_vertex_array_object.idl +18 -0
  30. package/OVR_multiview2.idl +14 -0
  31. package/SVG.idl +693 -0
  32. package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
  33. package/WEBGL_clip_cull_distance.idl +20 -0
  34. package/WEBGL_color_buffer_float.idl +11 -0
  35. package/WEBGL_compressed_texture_astc.idl +41 -0
  36. package/WEBGL_compressed_texture_etc.idl +19 -0
  37. package/WEBGL_compressed_texture_etc1.idl +10 -0
  38. package/WEBGL_compressed_texture_pvrtc.idl +13 -0
  39. package/WEBGL_compressed_texture_s3tc.idl +13 -0
  40. package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
  41. package/WEBGL_debug_renderer_info.idl +12 -0
  42. package/WEBGL_debug_shaders.idl +11 -0
  43. package/WEBGL_depth_texture.idl +9 -0
  44. package/WEBGL_draw_buffers.idl +46 -0
  45. package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
  46. package/WEBGL_lose_context.idl +10 -0
  47. package/WEBGL_multi_draw.idl +32 -0
  48. package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
  49. package/WEBGL_provoking_vertex.idl +13 -0
  50. package/WebCryptoAPI.idl +237 -0
  51. package/accelerometer.idl +40 -0
  52. package/ambient-light.idl +14 -0
  53. package/anchors.idl +37 -0
  54. package/attribution-reporting-api.idl +12 -0
  55. package/audio-output.idl +17 -0
  56. package/autoplay-detection.idl +19 -0
  57. package/background-fetch.idl +89 -0
  58. package/background-sync.idl +30 -0
  59. package/badging.idl +15 -0
  60. package/battery-status.idl +21 -0
  61. package/beacon.idl +8 -0
  62. package/capture-handle-identity.idl +27 -0
  63. package/clipboard-apis.idl +51 -0
  64. package/close-watcher.idl +19 -0
  65. package/compat.idl +13 -0
  66. package/compression.idl +22 -0
  67. package/compute-pressure.idl +37 -0
  68. package/console.idl +34 -0
  69. package/contact-picker.idl +44 -0
  70. package/content-index.idl +46 -0
  71. package/cookie-store.idl +110 -0
  72. package/crash-reporting.idl +10 -0
  73. package/credential-management.idl +105 -0
  74. package/csp-embedded-enforcement.idl +8 -0
  75. package/csp-next.idl +21 -0
  76. package/css-animation-worklet.idl +37 -0
  77. package/css-animations-2.idl +9 -0
  78. package/css-animations.idl +47 -0
  79. package/css-cascade-6.idl +10 -0
  80. package/css-cascade.idl +18 -0
  81. package/css-color-5.idl +12 -0
  82. package/css-conditional.idl +27 -0
  83. package/css-contain-3.idl +10 -0
  84. package/css-contain.idl +13 -0
  85. package/css-counter-styles.idl +23 -0
  86. package/css-font-loading.idl +134 -0
  87. package/css-fonts.idl +36 -0
  88. package/css-highlight-api.idl +27 -0
  89. package/css-images-4.idl +8 -0
  90. package/css-layout-api.idl +144 -0
  91. package/css-masking.idl +20 -0
  92. package/css-nav.idl +48 -0
  93. package/css-nesting.idl +10 -0
  94. package/css-paint-api.idl +39 -0
  95. package/css-parser-api.idl +76 -0
  96. package/css-properties-values-api.idl +23 -0
  97. package/css-pseudo.idl +16 -0
  98. package/css-regions.idl +29 -0
  99. package/css-shadow-parts.idl +8 -0
  100. package/css-transitions-2.idl +9 -0
  101. package/css-transitions.idl +25 -0
  102. package/css-typed-om.idl +423 -0
  103. package/css-view-transitions.idl +18 -0
  104. package/cssom-view.idl +200 -0
  105. package/cssom.idl +159 -0
  106. package/custom-state-pseudo-class.idl +14 -0
  107. package/datacue.idl +12 -0
  108. package/deprecation-reporting.idl +15 -0
  109. package/device-memory.idl +14 -0
  110. package/device-posture.idl +21 -0
  111. package/digital-goods.idl +44 -0
  112. package/dom.idl +609 -0
  113. package/edit-context.idl +111 -0
  114. package/element-timing.idl +22 -0
  115. package/encoding.idl +59 -0
  116. package/encrypted-media.idl +125 -0
  117. package/entries-api.idl +71 -0
  118. package/event-timing.idl +29 -0
  119. package/eyedropper-api.idl +18 -0
  120. package/fenced-frame.idl +49 -0
  121. package/fetch.idl +117 -0
  122. package/fido.idl +47 -0
  123. package/file-system-access.idl +72 -0
  124. package/filter-effects.idl +341 -0
  125. package/font-metrics-api.idl +42 -0
  126. package/fs.idl +93 -0
  127. package/fullscreen.idl +35 -0
  128. package/gamepad-extensions.idl +71 -0
  129. package/gamepad.idl +49 -0
  130. package/generic-sensor.idl +60 -0
  131. package/geolocation-sensor.idl +47 -0
  132. package/geolocation.idl +65 -0
  133. package/geometry.idl +290 -0
  134. package/get-installed-related-apps.idl +16 -0
  135. package/gpc-spec.idl +10 -0
  136. package/gyroscope.idl +24 -0
  137. package/hr-time.idl +19 -0
  138. package/html-media-capture.idl +8 -0
  139. package/html.idl +2717 -0
  140. package/idle-detection.idl +31 -0
  141. package/image-capture.idl +160 -0
  142. package/image-resource.idl +11 -0
  143. package/ink-enhancement.idl +32 -0
  144. package/input-device-capabilities.idl +24 -0
  145. package/input-events.idl +14 -0
  146. package/intersection-observer.idl +46 -0
  147. package/intervention-reporting.idl +14 -0
  148. package/is-input-pending.idl +16 -0
  149. package/js-self-profiling.idl +44 -0
  150. package/keyboard-lock.idl +14 -0
  151. package/keyboard-map.idl +15 -0
  152. package/largest-contentful-paint.idl +15 -0
  153. package/layout-instability.idl +20 -0
  154. package/local-font-access.idl +24 -0
  155. package/longtasks.idl +19 -0
  156. package/magnetometer.idl +46 -0
  157. package/manifest-incubations.idl +24 -0
  158. package/mathml-core.idl +9 -0
  159. package/media-capabilities.idl +115 -0
  160. package/media-playback-quality.idl +18 -0
  161. package/media-source.idl +91 -0
  162. package/mediacapture-automation.idl +36 -0
  163. package/mediacapture-fromelement.idl +17 -0
  164. package/mediacapture-handle-actions.idl +31 -0
  165. package/mediacapture-region.idl +15 -0
  166. package/mediacapture-streams.idl +248 -0
  167. package/mediacapture-transform.idl +23 -0
  168. package/mediacapture-viewport.idl +14 -0
  169. package/mediasession.idl +84 -0
  170. package/mediastream-recording.idl +60 -0
  171. package/model-element.idl +9 -0
  172. package/mst-content-hint.idl +18 -0
  173. package/navigation-timing.idl +71 -0
  174. package/netinfo.idl +43 -0
  175. package/notifications.idl +100 -0
  176. package/orientation-event.idl +76 -0
  177. package/orientation-sensor.idl +35 -0
  178. package/package.json +1 -1
  179. package/page-lifecycle.idl +19 -0
  180. package/paint-timing.idl +7 -0
  181. package/payment-handler.idl +131 -0
  182. package/payment-request.idl +112 -0
  183. package/performance-measure-memory.idl +30 -0
  184. package/performance-timeline.idl +49 -0
  185. package/periodic-background-sync.idl +34 -0
  186. package/permissions-policy.idl +28 -0
  187. package/permissions-request.idl +8 -0
  188. package/permissions-revoke.idl +8 -0
  189. package/permissions.idl +41 -0
  190. package/picture-in-picture.idl +41 -0
  191. package/pointerevents.idl +64 -0
  192. package/pointerlock.idl +28 -0
  193. package/portals.idl +50 -0
  194. package/prefer-current-tab.idl +8 -0
  195. package/prerendering-revamped.idl +15 -0
  196. package/presentation-api.idl +95 -0
  197. package/private-click-measurement.idl +8 -0
  198. package/proximity.idl +18 -0
  199. package/push-api.idl +93 -0
  200. package/raw-camera-access.idl +18 -0
  201. package/referrer-policy.idl +16 -0
  202. package/remote-playback.idl +32 -0
  203. package/reporting.idl +39 -0
  204. package/requestStorageAccessFor.idl +12 -0
  205. package/requestidlecallback.idl +20 -0
  206. package/resize-observer.idl +37 -0
  207. package/resource-timing.idl +40 -0
  208. package/sanitizer-api.idl +38 -0
  209. package/savedata.idl +10 -0
  210. package/scheduling-apis.idl +11 -0
  211. package/screen-capture.idl +85 -0
  212. package/screen-orientation.idl +35 -0
  213. package/screen-wake-lock.idl +24 -0
  214. package/scroll-animations.idl +41 -0
  215. package/scroll-to-text-fragment.idl +12 -0
  216. package/secure-payment-confirmation.idl +48 -0
  217. package/selection-api.idl +46 -0
  218. package/serial.idl +85 -0
  219. package/server-timing.idl +17 -0
  220. package/service-workers.idl +220 -0
  221. package/shape-detection-api.idl +69 -0
  222. package/speech-api.idl +202 -0
  223. package/storage-access.idl +9 -0
  224. package/storage.idl +25 -0
  225. package/streams.idl +222 -0
  226. package/svg-animations.idl +68 -0
  227. package/testutils.idl +9 -0
  228. package/text-detection-api.idl +18 -0
  229. package/touch-events.idl +79 -0
  230. package/trust-token-api.idl +29 -0
  231. package/trusted-types.idl +71 -0
  232. package/turtledove.idl +58 -0
  233. package/ua-client-hints.idl +44 -0
  234. package/uievents.idl +248 -0
  235. package/url.idl +46 -0
  236. package/urlpattern.idl +59 -0
  237. package/user-timing.idl +34 -0
  238. package/vibration.idl +10 -0
  239. package/video-rvfc.idl +27 -0
  240. package/virtual-keyboard.idl +21 -0
  241. package/wai-aria.idl +59 -0
  242. package/wasm-js-api.idl +104 -0
  243. package/wasm-web-api.idl +11 -0
  244. package/web-animations-2.idl +102 -0
  245. package/web-animations.idl +149 -0
  246. package/web-app-launch.idl +19 -0
  247. package/web-bluetooth.idl +252 -0
  248. package/web-locks.idl +50 -0
  249. package/web-nfc.idl +81 -0
  250. package/web-otp.idl +21 -0
  251. package/web-share.idl +16 -0
  252. package/webaudio.idl +674 -0
  253. package/webauthn.idl +313 -0
  254. package/webcodecs-aac-codec-registration.idl +17 -0
  255. package/webcodecs-avc-codec-registration.idl +17 -0
  256. package/webcodecs-flac-codec-registration.idl +13 -0
  257. package/webcodecs-hevc-codec-registration.idl +17 -0
  258. package/webcodecs-opus-codec-registration.idl +22 -0
  259. package/webcodecs-vp9-codec-registration.idl +12 -0
  260. package/webcodecs.idl +500 -0
  261. package/webcrypto-secure-curves.idl +8 -0
  262. package/webdriver.idl +9 -0
  263. package/webgl1.idl +745 -0
  264. package/webgl2.idl +582 -0
  265. package/webgpu.idl +1245 -0
  266. package/webhid.idl +127 -0
  267. package/webidl.idl +48 -0
  268. package/webmidi.idl +91 -0
  269. package/webnn.idl +549 -0
  270. package/webrtc-encoded-transform.idl +127 -0
  271. package/webrtc-ice.idl +24 -0
  272. package/webrtc-identity.idl +97 -0
  273. package/webrtc-priority.idl +24 -0
  274. package/webrtc-stats.idl +288 -0
  275. package/webrtc-svc.idl +8 -0
  276. package/webrtc.idl +627 -0
  277. package/websockets.idl +48 -0
  278. package/webtransport.idl +143 -0
  279. package/webusb.idl +249 -0
  280. package/webvtt.idl +40 -0
  281. package/webxr-ar-module.idl +29 -0
  282. package/webxr-depth-sensing.idl +57 -0
  283. package/webxr-dom-overlays.idl +31 -0
  284. package/webxr-gamepads-module.idl +8 -0
  285. package/webxr-hand-input.idl +66 -0
  286. package/webxr-hit-test.idl +69 -0
  287. package/webxr-lighting-estimation.idl +39 -0
  288. package/webxr.idl +295 -0
  289. package/webxrlayers.idl +212 -0
  290. package/window-controls-overlay.idl +28 -0
  291. package/window-placement.idl +42 -0
  292. package/xhr.idl +99 -0
@@ -0,0 +1,60 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Generic Sensor API (https://w3c.github.io/sensors/)
5
+
6
+ [SecureContext, Exposed=(DedicatedWorker, Window)]
7
+ interface Sensor : EventTarget {
8
+ readonly attribute boolean activated;
9
+ readonly attribute boolean hasReading;
10
+ readonly attribute DOMHighResTimeStamp? timestamp;
11
+ undefined start();
12
+ undefined stop();
13
+ attribute EventHandler onreading;
14
+ attribute EventHandler onactivate;
15
+ attribute EventHandler onerror;
16
+ };
17
+
18
+ dictionary SensorOptions {
19
+ double frequency;
20
+ };
21
+
22
+ [SecureContext, Exposed=(DedicatedWorker, Window)]
23
+ interface SensorErrorEvent : Event {
24
+ constructor(DOMString type, SensorErrorEventInit errorEventInitDict);
25
+ readonly attribute DOMException error;
26
+ };
27
+
28
+ dictionary SensorErrorEventInit : EventInit {
29
+ required DOMException error;
30
+ };
31
+
32
+ dictionary MockSensorConfiguration {
33
+ required MockSensorType mockSensorType;
34
+ boolean connected = true;
35
+ double? maxSamplingFrequency;
36
+ double? minSamplingFrequency;
37
+ };
38
+
39
+ dictionary MockSensor {
40
+ double maxSamplingFrequency;
41
+ double minSamplingFrequency;
42
+ double requestedSamplingFrequency;
43
+ };
44
+
45
+ enum MockSensorType {
46
+ "ambient-light",
47
+ "accelerometer",
48
+ "linear-acceleration",
49
+ "gravity",
50
+ "gyroscope",
51
+ "magnetometer",
52
+ "uncalibrated-magnetometer",
53
+ "absolute-orientation",
54
+ "relative-orientation",
55
+ "geolocation",
56
+ "proximity",
57
+ };
58
+
59
+ dictionary MockSensorReadingValues {
60
+ };
@@ -0,0 +1,47 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Geolocation Sensor (https://w3c.github.io/geolocation-sensor/)
5
+
6
+ [SecureContext,
7
+ Exposed=(DedicatedWorker, Window)]
8
+ interface GeolocationSensor : Sensor {
9
+ constructor(optional GeolocationSensorOptions options = {});
10
+ static Promise<GeolocationSensorReading> read(optional ReadOptions readOptions = {});
11
+ readonly attribute unrestricted double? latitude;
12
+ readonly attribute unrestricted double? longitude;
13
+ readonly attribute unrestricted double? altitude;
14
+ readonly attribute unrestricted double? accuracy;
15
+ readonly attribute unrestricted double? altitudeAccuracy;
16
+ readonly attribute unrestricted double? heading;
17
+ readonly attribute unrestricted double? speed;
18
+ };
19
+
20
+ dictionary GeolocationSensorOptions : SensorOptions {
21
+ // placeholder for GeolocationSensor-specific options
22
+ };
23
+
24
+ dictionary ReadOptions : GeolocationSensorOptions {
25
+ AbortSignal? signal;
26
+ };
27
+
28
+ dictionary GeolocationSensorReading {
29
+ DOMHighResTimeStamp? timestamp;
30
+ double? latitude;
31
+ double? longitude;
32
+ double? altitude;
33
+ double? accuracy;
34
+ double? altitudeAccuracy;
35
+ double? heading;
36
+ double? speed;
37
+ };
38
+
39
+ dictionary GeolocationReadingValues {
40
+ required double? latitude;
41
+ required double? longitude;
42
+ required double? altitude;
43
+ required double? accuracy;
44
+ required double? altitudeAccuracy;
45
+ required double? heading;
46
+ required double? speed;
47
+ };
@@ -0,0 +1,65 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Geolocation API (https://w3c.github.io/geolocation-api/)
5
+
6
+ partial interface Navigator {
7
+ [SameObject] readonly attribute Geolocation geolocation;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface Geolocation {
12
+ undefined getCurrentPosition (
13
+ PositionCallback successCallback,
14
+ optional PositionErrorCallback? errorCallback = null,
15
+ optional PositionOptions options = {}
16
+ );
17
+
18
+ long watchPosition (
19
+ PositionCallback successCallback,
20
+ optional PositionErrorCallback? errorCallback = null,
21
+ optional PositionOptions options = {}
22
+ );
23
+
24
+ undefined clearWatch (long watchId);
25
+ };
26
+
27
+ callback PositionCallback = undefined (
28
+ GeolocationPosition position
29
+ );
30
+
31
+ callback PositionErrorCallback = undefined (
32
+ GeolocationPositionError positionError
33
+ );
34
+
35
+ dictionary PositionOptions {
36
+ boolean enableHighAccuracy = false;
37
+ [Clamp] unsigned long timeout = 0xFFFFFFFF;
38
+ [Clamp] unsigned long maximumAge = 0;
39
+ };
40
+
41
+ [Exposed=Window, SecureContext]
42
+ interface GeolocationPosition {
43
+ readonly attribute GeolocationCoordinates coords;
44
+ readonly attribute EpochTimeStamp timestamp;
45
+ };
46
+
47
+ [Exposed=Window, SecureContext]
48
+ interface GeolocationCoordinates {
49
+ readonly attribute double accuracy;
50
+ readonly attribute double latitude;
51
+ readonly attribute double longitude;
52
+ readonly attribute double? altitude;
53
+ readonly attribute double? altitudeAccuracy;
54
+ readonly attribute double? heading;
55
+ readonly attribute double? speed;
56
+ };
57
+
58
+ [Exposed=Window]
59
+ interface GeolocationPositionError {
60
+ const unsigned short PERMISSION_DENIED = 1;
61
+ const unsigned short POSITION_UNAVAILABLE = 2;
62
+ const unsigned short TIMEOUT = 3;
63
+ readonly attribute unsigned short code;
64
+ readonly attribute DOMString message;
65
+ };
package/geometry.idl ADDED
@@ -0,0 +1,290 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry-1/)
5
+
6
+ [Exposed=(Window,Worker),
7
+ Serializable]
8
+ interface DOMPointReadOnly {
9
+ constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
10
+ optional unrestricted double z = 0, optional unrestricted double w = 1);
11
+
12
+ [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
13
+
14
+ readonly attribute unrestricted double x;
15
+ readonly attribute unrestricted double y;
16
+ readonly attribute unrestricted double z;
17
+ readonly attribute unrestricted double w;
18
+
19
+ [NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
20
+
21
+ [Default] object toJSON();
22
+ };
23
+
24
+ [Exposed=(Window,Worker),
25
+ Serializable,
26
+ LegacyWindowAlias=SVGPoint]
27
+ interface DOMPoint : DOMPointReadOnly {
28
+ constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
29
+ optional unrestricted double z = 0, optional unrestricted double w = 1);
30
+
31
+ [NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
32
+
33
+ inherit attribute unrestricted double x;
34
+ inherit attribute unrestricted double y;
35
+ inherit attribute unrestricted double z;
36
+ inherit attribute unrestricted double w;
37
+ };
38
+
39
+ dictionary DOMPointInit {
40
+ unrestricted double x = 0;
41
+ unrestricted double y = 0;
42
+ unrestricted double z = 0;
43
+ unrestricted double w = 1;
44
+ };
45
+
46
+ [Exposed=(Window,Worker),
47
+ Serializable]
48
+ interface DOMRectReadOnly {
49
+ constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
50
+ optional unrestricted double width = 0, optional unrestricted double height = 0);
51
+
52
+ [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other = {});
53
+
54
+ readonly attribute unrestricted double x;
55
+ readonly attribute unrestricted double y;
56
+ readonly attribute unrestricted double width;
57
+ readonly attribute unrestricted double height;
58
+ readonly attribute unrestricted double top;
59
+ readonly attribute unrestricted double right;
60
+ readonly attribute unrestricted double bottom;
61
+ readonly attribute unrestricted double left;
62
+
63
+ [Default] object toJSON();
64
+ };
65
+
66
+ [Exposed=(Window,Worker),
67
+ Serializable,
68
+ LegacyWindowAlias=SVGRect]
69
+ interface DOMRect : DOMRectReadOnly {
70
+ constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
71
+ optional unrestricted double width = 0, optional unrestricted double height = 0);
72
+
73
+ [NewObject] static DOMRect fromRect(optional DOMRectInit other = {});
74
+
75
+ inherit attribute unrestricted double x;
76
+ inherit attribute unrestricted double y;
77
+ inherit attribute unrestricted double width;
78
+ inherit attribute unrestricted double height;
79
+ };
80
+
81
+ dictionary DOMRectInit {
82
+ unrestricted double x = 0;
83
+ unrestricted double y = 0;
84
+ unrestricted double width = 0;
85
+ unrestricted double height = 0;
86
+ };
87
+
88
+ [Exposed=Window]
89
+ interface DOMRectList {
90
+ readonly attribute unsigned long length;
91
+ getter DOMRect? item(unsigned long index);
92
+ };
93
+
94
+ [Exposed=(Window,Worker),
95
+ Serializable]
96
+ interface DOMQuad {
97
+ constructor(optional DOMPointInit p1 = {}, optional DOMPointInit p2 = {},
98
+ optional DOMPointInit p3 = {}, optional DOMPointInit p4 = {});
99
+
100
+ [NewObject] static DOMQuad fromRect(optional DOMRectInit other = {});
101
+ [NewObject] static DOMQuad fromQuad(optional DOMQuadInit other = {});
102
+
103
+ [SameObject] readonly attribute DOMPoint p1;
104
+ [SameObject] readonly attribute DOMPoint p2;
105
+ [SameObject] readonly attribute DOMPoint p3;
106
+ [SameObject] readonly attribute DOMPoint p4;
107
+ [NewObject] DOMRect getBounds();
108
+
109
+ [Default] object toJSON();
110
+ };
111
+
112
+ dictionary DOMQuadInit {
113
+ DOMPointInit p1;
114
+ DOMPointInit p2;
115
+ DOMPointInit p3;
116
+ DOMPointInit p4;
117
+ };
118
+
119
+ [Exposed=(Window,Worker),
120
+ Serializable]
121
+ interface DOMMatrixReadOnly {
122
+ constructor(optional (DOMString or sequence<unrestricted double>) init);
123
+
124
+ [NewObject] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other = {});
125
+ [NewObject] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
126
+ [NewObject] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
127
+
128
+ // These attributes are simple aliases for certain elements of the 4x4 matrix
129
+ readonly attribute unrestricted double a;
130
+ readonly attribute unrestricted double b;
131
+ readonly attribute unrestricted double c;
132
+ readonly attribute unrestricted double d;
133
+ readonly attribute unrestricted double e;
134
+ readonly attribute unrestricted double f;
135
+
136
+ readonly attribute unrestricted double m11;
137
+ readonly attribute unrestricted double m12;
138
+ readonly attribute unrestricted double m13;
139
+ readonly attribute unrestricted double m14;
140
+ readonly attribute unrestricted double m21;
141
+ readonly attribute unrestricted double m22;
142
+ readonly attribute unrestricted double m23;
143
+ readonly attribute unrestricted double m24;
144
+ readonly attribute unrestricted double m31;
145
+ readonly attribute unrestricted double m32;
146
+ readonly attribute unrestricted double m33;
147
+ readonly attribute unrestricted double m34;
148
+ readonly attribute unrestricted double m41;
149
+ readonly attribute unrestricted double m42;
150
+ readonly attribute unrestricted double m43;
151
+ readonly attribute unrestricted double m44;
152
+
153
+ readonly attribute boolean is2D;
154
+ readonly attribute boolean isIdentity;
155
+
156
+ // Immutable transform methods
157
+ [NewObject] DOMMatrix translate(optional unrestricted double tx = 0,
158
+ optional unrestricted double ty = 0,
159
+ optional unrestricted double tz = 0);
160
+ [NewObject] DOMMatrix scale(optional unrestricted double scaleX = 1,
161
+ optional unrestricted double scaleY,
162
+ optional unrestricted double scaleZ = 1,
163
+ optional unrestricted double originX = 0,
164
+ optional unrestricted double originY = 0,
165
+ optional unrestricted double originZ = 0);
166
+ [NewObject] DOMMatrix scaleNonUniform(optional unrestricted double scaleX = 1,
167
+ optional unrestricted double scaleY = 1);
168
+ [NewObject] DOMMatrix scale3d(optional unrestricted double scale = 1,
169
+ optional unrestricted double originX = 0,
170
+ optional unrestricted double originY = 0,
171
+ optional unrestricted double originZ = 0);
172
+ [NewObject] DOMMatrix rotate(optional unrestricted double rotX = 0,
173
+ optional unrestricted double rotY,
174
+ optional unrestricted double rotZ);
175
+ [NewObject] DOMMatrix rotateFromVector(optional unrestricted double x = 0,
176
+ optional unrestricted double y = 0);
177
+ [NewObject] DOMMatrix rotateAxisAngle(optional unrestricted double x = 0,
178
+ optional unrestricted double y = 0,
179
+ optional unrestricted double z = 0,
180
+ optional unrestricted double angle = 0);
181
+ [NewObject] DOMMatrix skewX(optional unrestricted double sx = 0);
182
+ [NewObject] DOMMatrix skewY(optional unrestricted double sy = 0);
183
+ [NewObject] DOMMatrix multiply(optional DOMMatrixInit other = {});
184
+ [NewObject] DOMMatrix flipX();
185
+ [NewObject] DOMMatrix flipY();
186
+ [NewObject] DOMMatrix inverse();
187
+
188
+ [NewObject] DOMPoint transformPoint(optional DOMPointInit point = {});
189
+ [NewObject] Float32Array toFloat32Array();
190
+ [NewObject] Float64Array toFloat64Array();
191
+
192
+ [Exposed=Window] stringifier;
193
+ [Default] object toJSON();
194
+ };
195
+
196
+ [Exposed=(Window,Worker),
197
+ Serializable,
198
+ LegacyWindowAlias=(SVGMatrix,WebKitCSSMatrix)]
199
+ interface DOMMatrix : DOMMatrixReadOnly {
200
+ constructor(optional (DOMString or sequence<unrestricted double>) init);
201
+
202
+ [NewObject] static DOMMatrix fromMatrix(optional DOMMatrixInit other = {});
203
+ [NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
204
+ [NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
205
+
206
+ // These attributes are simple aliases for certain elements of the 4x4 matrix
207
+ inherit attribute unrestricted double a;
208
+ inherit attribute unrestricted double b;
209
+ inherit attribute unrestricted double c;
210
+ inherit attribute unrestricted double d;
211
+ inherit attribute unrestricted double e;
212
+ inherit attribute unrestricted double f;
213
+
214
+ inherit attribute unrestricted double m11;
215
+ inherit attribute unrestricted double m12;
216
+ inherit attribute unrestricted double m13;
217
+ inherit attribute unrestricted double m14;
218
+ inherit attribute unrestricted double m21;
219
+ inherit attribute unrestricted double m22;
220
+ inherit attribute unrestricted double m23;
221
+ inherit attribute unrestricted double m24;
222
+ inherit attribute unrestricted double m31;
223
+ inherit attribute unrestricted double m32;
224
+ inherit attribute unrestricted double m33;
225
+ inherit attribute unrestricted double m34;
226
+ inherit attribute unrestricted double m41;
227
+ inherit attribute unrestricted double m42;
228
+ inherit attribute unrestricted double m43;
229
+ inherit attribute unrestricted double m44;
230
+
231
+ // Mutable transform methods
232
+ DOMMatrix multiplySelf(optional DOMMatrixInit other = {});
233
+ DOMMatrix preMultiplySelf(optional DOMMatrixInit other = {});
234
+ DOMMatrix translateSelf(optional unrestricted double tx = 0,
235
+ optional unrestricted double ty = 0,
236
+ optional unrestricted double tz = 0);
237
+ DOMMatrix scaleSelf(optional unrestricted double scaleX = 1,
238
+ optional unrestricted double scaleY,
239
+ optional unrestricted double scaleZ = 1,
240
+ optional unrestricted double originX = 0,
241
+ optional unrestricted double originY = 0,
242
+ optional unrestricted double originZ = 0);
243
+ DOMMatrix scale3dSelf(optional unrestricted double scale = 1,
244
+ optional unrestricted double originX = 0,
245
+ optional unrestricted double originY = 0,
246
+ optional unrestricted double originZ = 0);
247
+ DOMMatrix rotateSelf(optional unrestricted double rotX = 0,
248
+ optional unrestricted double rotY,
249
+ optional unrestricted double rotZ);
250
+ DOMMatrix rotateFromVectorSelf(optional unrestricted double x = 0,
251
+ optional unrestricted double y = 0);
252
+ DOMMatrix rotateAxisAngleSelf(optional unrestricted double x = 0,
253
+ optional unrestricted double y = 0,
254
+ optional unrestricted double z = 0,
255
+ optional unrestricted double angle = 0);
256
+ DOMMatrix skewXSelf(optional unrestricted double sx = 0);
257
+ DOMMatrix skewYSelf(optional unrestricted double sy = 0);
258
+ DOMMatrix invertSelf();
259
+
260
+ [Exposed=Window] DOMMatrix setMatrixValue(DOMString transformList);
261
+ };
262
+
263
+ dictionary DOMMatrix2DInit {
264
+ unrestricted double a;
265
+ unrestricted double b;
266
+ unrestricted double c;
267
+ unrestricted double d;
268
+ unrestricted double e;
269
+ unrestricted double f;
270
+ unrestricted double m11;
271
+ unrestricted double m12;
272
+ unrestricted double m21;
273
+ unrestricted double m22;
274
+ unrestricted double m41;
275
+ unrestricted double m42;
276
+ };
277
+
278
+ dictionary DOMMatrixInit : DOMMatrix2DInit {
279
+ unrestricted double m13 = 0;
280
+ unrestricted double m14 = 0;
281
+ unrestricted double m23 = 0;
282
+ unrestricted double m24 = 0;
283
+ unrestricted double m31 = 0;
284
+ unrestricted double m32 = 0;
285
+ unrestricted double m33 = 1;
286
+ unrestricted double m34 = 0;
287
+ unrestricted double m43 = 0;
288
+ unrestricted double m44 = 1;
289
+ boolean is2D;
290
+ };
@@ -0,0 +1,16 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Get Installed Related Apps API (https://wicg.github.io/get-installed-related-apps/spec/)
5
+
6
+ dictionary RelatedApplication {
7
+ required USVString platform;
8
+ USVString url;
9
+ DOMString id;
10
+ USVString version;
11
+ };
12
+
13
+ [Exposed=Window]
14
+ partial interface Navigator {
15
+ [SecureContext] Promise<sequence<RelatedApplication>> getInstalledRelatedApps();
16
+ };
package/gpc-spec.idl ADDED
@@ -0,0 +1,10 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Global Privacy Control (GPC) (https://privacycg.github.io/gpc-spec/)
5
+
6
+ interface mixin GlobalPrivacyControl {
7
+ readonly attribute boolean globalPrivacyControl;
8
+ };
9
+ Navigator includes GlobalPrivacyControl;
10
+ WorkerNavigator includes GlobalPrivacyControl;
package/gyroscope.idl ADDED
@@ -0,0 +1,24 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Gyroscope (https://w3c.github.io/gyroscope/)
5
+
6
+ [SecureContext, Exposed=Window]
7
+ interface Gyroscope : Sensor {
8
+ constructor(optional GyroscopeSensorOptions sensorOptions = {});
9
+ readonly attribute double? x;
10
+ readonly attribute double? y;
11
+ readonly attribute double? z;
12
+ };
13
+
14
+ enum GyroscopeLocalCoordinateSystem { "device", "screen" };
15
+
16
+ dictionary GyroscopeSensorOptions : SensorOptions {
17
+ GyroscopeLocalCoordinateSystem referenceFrame = "device";
18
+ };
19
+
20
+ dictionary GyroscopeReadingValues {
21
+ required double? x;
22
+ required double? y;
23
+ required double? z;
24
+ };
package/hr-time.idl ADDED
@@ -0,0 +1,19 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: High Resolution Time (https://w3c.github.io/hr-time/)
5
+
6
+ typedef double DOMHighResTimeStamp;
7
+
8
+ typedef unsigned long long EpochTimeStamp;
9
+
10
+ [Exposed=(Window,Worker)]
11
+ interface Performance : EventTarget {
12
+ DOMHighResTimeStamp now();
13
+ readonly attribute DOMHighResTimeStamp timeOrigin;
14
+ [Default] object toJSON();
15
+ };
16
+
17
+ partial interface mixin WindowOrWorkerGlobalScope {
18
+ [Replaceable] readonly attribute Performance performance;
19
+ };
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: HTML Media Capture (https://w3c.github.io/html-media-capture/)
5
+
6
+ partial interface HTMLInputElement {
7
+ [CEReactions] attribute DOMString capture;
8
+ };