@webref/idl 3.27.1 → 3.29.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 (289) hide show
  1. package/package.json +1 -1
  2. package/ANGLE_instanced_arrays.idl +0 -12
  3. package/CSP.idl +0 -56
  4. package/DOM-Parsing.idl +0 -26
  5. package/EXT_blend_minmax.idl +0 -10
  6. package/EXT_color_buffer_float.idl +0 -8
  7. package/EXT_color_buffer_half_float.idl +0 -12
  8. package/EXT_disjoint_timer_query.idl +0 -30
  9. package/EXT_disjoint_timer_query_webgl2.idl +0 -14
  10. package/EXT_float_blend.idl +0 -8
  11. package/EXT_frag_depth.idl +0 -8
  12. package/EXT_sRGB.idl +0 -12
  13. package/EXT_shader_texture_lod.idl +0 -8
  14. package/EXT_texture_compression_bptc.idl +0 -12
  15. package/EXT_texture_compression_rgtc.idl +0 -12
  16. package/EXT_texture_filter_anisotropic.idl +0 -10
  17. package/EXT_texture_norm16.idl +0 -16
  18. package/FedCM.idl +0 -67
  19. package/FileAPI.idl +0 -100
  20. package/IndexedDB.idl +0 -226
  21. package/KHR_parallel_shader_compile.idl +0 -9
  22. package/OES_draw_buffers_indexed.idl +0 -26
  23. package/OES_element_index_uint.idl +0 -8
  24. package/OES_fbo_render_mipmap.idl +0 -8
  25. package/OES_standard_derivatives.idl +0 -9
  26. package/OES_texture_float.idl +0 -7
  27. package/OES_texture_float_linear.idl +0 -7
  28. package/OES_texture_half_float.idl +0 -9
  29. package/OES_texture_half_float_linear.idl +0 -7
  30. package/OES_vertex_array_object.idl +0 -18
  31. package/OVR_multiview2.idl +0 -14
  32. package/SVG.idl +0 -693
  33. package/WEBGL_blend_equation_advanced_coherent.idl +0 -23
  34. package/WEBGL_clip_cull_distance.idl +0 -20
  35. package/WEBGL_color_buffer_float.idl +0 -11
  36. package/WEBGL_compressed_texture_astc.idl +0 -41
  37. package/WEBGL_compressed_texture_etc.idl +0 -19
  38. package/WEBGL_compressed_texture_etc1.idl +0 -10
  39. package/WEBGL_compressed_texture_pvrtc.idl +0 -13
  40. package/WEBGL_compressed_texture_s3tc.idl +0 -13
  41. package/WEBGL_compressed_texture_s3tc_srgb.idl +0 -13
  42. package/WEBGL_debug_renderer_info.idl +0 -12
  43. package/WEBGL_debug_shaders.idl +0 -11
  44. package/WEBGL_depth_texture.idl +0 -9
  45. package/WEBGL_draw_buffers.idl +0 -46
  46. package/WEBGL_draw_instanced_base_vertex_base_instance.idl +0 -14
  47. package/WEBGL_lose_context.idl +0 -10
  48. package/WEBGL_multi_draw.idl +0 -32
  49. package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +0 -26
  50. package/WEBGL_provoking_vertex.idl +0 -13
  51. package/WebCryptoAPI.idl +0 -237
  52. package/accelerometer.idl +0 -40
  53. package/ambient-light.idl +0 -14
  54. package/anchors.idl +0 -35
  55. package/attribution-reporting-api.idl +0 -12
  56. package/audio-output.idl +0 -17
  57. package/autoplay-detection.idl +0 -19
  58. package/background-fetch.idl +0 -89
  59. package/background-sync.idl +0 -30
  60. package/badging.idl +0 -19
  61. package/battery-status.idl +0 -21
  62. package/beacon.idl +0 -8
  63. package/capture-handle-identity.idl +0 -27
  64. package/clipboard-apis.idl +0 -51
  65. package/close-watcher.idl +0 -19
  66. package/compat.idl +0 -13
  67. package/compression.idl +0 -16
  68. package/compute-pressure.idl +0 -40
  69. package/console.idl +0 -34
  70. package/contact-picker.idl +0 -44
  71. package/content-index.idl +0 -46
  72. package/cookie-store.idl +0 -110
  73. package/crash-reporting.idl +0 -10
  74. package/credential-management.idl +0 -105
  75. package/csp-embedded-enforcement.idl +0 -8
  76. package/csp-next.idl +0 -21
  77. package/css-animation-worklet.idl +0 -37
  78. package/css-animations-2.idl +0 -9
  79. package/css-animations.idl +0 -47
  80. package/css-cascade-6.idl +0 -10
  81. package/css-cascade.idl +0 -18
  82. package/css-color-5.idl +0 -12
  83. package/css-conditional.idl +0 -27
  84. package/css-contain-3.idl +0 -10
  85. package/css-contain.idl +0 -13
  86. package/css-counter-styles.idl +0 -23
  87. package/css-font-loading.idl +0 -134
  88. package/css-fonts.idl +0 -36
  89. package/css-highlight-api.idl +0 -27
  90. package/css-images-4.idl +0 -8
  91. package/css-layout-api.idl +0 -144
  92. package/css-masking.idl +0 -20
  93. package/css-nav.idl +0 -48
  94. package/css-nesting.idl +0 -10
  95. package/css-paint-api.idl +0 -39
  96. package/css-parser-api.idl +0 -76
  97. package/css-properties-values-api.idl +0 -23
  98. package/css-pseudo.idl +0 -16
  99. package/css-regions.idl +0 -29
  100. package/css-shadow-parts.idl +0 -8
  101. package/css-transitions-2.idl +0 -9
  102. package/css-transitions.idl +0 -25
  103. package/css-typed-om.idl +0 -425
  104. package/css-view-transitions.idl +0 -18
  105. package/cssom-view.idl +0 -200
  106. package/cssom.idl +0 -159
  107. package/custom-state-pseudo-class.idl +0 -14
  108. package/datacue.idl +0 -12
  109. package/deprecation-reporting.idl +0 -15
  110. package/device-memory.idl +0 -14
  111. package/device-posture.idl +0 -21
  112. package/digital-goods.idl +0 -44
  113. package/dom.idl +0 -645
  114. package/edit-context.idl +0 -113
  115. package/element-timing.idl +0 -22
  116. package/encoding.idl +0 -59
  117. package/encrypted-media.idl +0 -125
  118. package/entries-api.idl +0 -71
  119. package/event-timing.idl +0 -29
  120. package/eyedropper-api.idl +0 -18
  121. package/fetch.idl +0 -117
  122. package/fido.idl +0 -47
  123. package/file-system-access.idl +0 -72
  124. package/filter-effects.idl +0 -341
  125. package/font-metrics-api.idl +0 -42
  126. package/fs.idl +0 -97
  127. package/fullscreen.idl +0 -35
  128. package/gamepad-extensions.idl +0 -71
  129. package/gamepad.idl +0 -49
  130. package/generic-sensor.idl +0 -60
  131. package/geolocation-sensor.idl +0 -47
  132. package/geolocation.idl +0 -65
  133. package/geometry.idl +0 -290
  134. package/get-installed-related-apps.idl +0 -16
  135. package/gpc-spec.idl +0 -10
  136. package/gyroscope.idl +0 -24
  137. package/hr-time.idl +0 -19
  138. package/html-media-capture.idl +0 -8
  139. package/html.idl +0 -2717
  140. package/idle-detection.idl +0 -31
  141. package/image-capture.idl +0 -160
  142. package/image-resource.idl +0 -11
  143. package/ink-enhancement.idl +0 -32
  144. package/input-device-capabilities.idl +0 -24
  145. package/input-events.idl +0 -14
  146. package/intersection-observer.idl +0 -46
  147. package/intervention-reporting.idl +0 -14
  148. package/is-input-pending.idl +0 -16
  149. package/js-self-profiling.idl +0 -44
  150. package/keyboard-lock.idl +0 -14
  151. package/keyboard-map.idl +0 -15
  152. package/largest-contentful-paint.idl +0 -15
  153. package/layout-instability.idl +0 -20
  154. package/local-font-access.idl +0 -24
  155. package/longtasks.idl +0 -19
  156. package/magnetometer.idl +0 -46
  157. package/manifest-incubations.idl +0 -24
  158. package/mathml-core.idl +0 -9
  159. package/media-capabilities.idl +0 -115
  160. package/media-playback-quality.idl +0 -18
  161. package/media-source.idl +0 -91
  162. package/mediacapture-automation.idl +0 -36
  163. package/mediacapture-fromelement.idl +0 -17
  164. package/mediacapture-handle-actions.idl +0 -31
  165. package/mediacapture-region.idl +0 -15
  166. package/mediacapture-streams.idl +0 -248
  167. package/mediacapture-transform.idl +0 -23
  168. package/mediacapture-viewport.idl +0 -14
  169. package/mediasession.idl +0 -84
  170. package/mediastream-recording.idl +0 -60
  171. package/model-element.idl +0 -9
  172. package/mst-content-hint.idl +0 -18
  173. package/navigation-api.idl +0 -158
  174. package/navigation-timing.idl +0 -71
  175. package/netinfo.idl +0 -43
  176. package/notifications.idl +0 -101
  177. package/orientation-event.idl +0 -82
  178. package/orientation-sensor.idl +0 -35
  179. package/page-lifecycle.idl +0 -19
  180. package/paint-timing.idl +0 -7
  181. package/payment-handler.idl +0 -131
  182. package/payment-request.idl +0 -112
  183. package/performance-measure-memory.idl +0 -30
  184. package/performance-timeline.idl +0 -49
  185. package/periodic-background-sync.idl +0 -34
  186. package/permissions-policy.idl +0 -29
  187. package/permissions-request.idl +0 -8
  188. package/permissions-revoke.idl +0 -8
  189. package/permissions.idl +0 -41
  190. package/picture-in-picture.idl +0 -41
  191. package/pointerevents.idl +0 -64
  192. package/pointerlock.idl +0 -28
  193. package/portals.idl +0 -50
  194. package/prefer-current-tab.idl +0 -8
  195. package/prerendering-revamped.idl +0 -15
  196. package/presentation-api.idl +0 -95
  197. package/private-click-measurement.idl +0 -8
  198. package/proximity.idl +0 -18
  199. package/push-api.idl +0 -93
  200. package/raw-camera-access.idl +0 -18
  201. package/referrer-policy.idl +0 -16
  202. package/remote-playback.idl +0 -32
  203. package/reporting.idl +0 -39
  204. package/requestStorageAccessForOrigin.idl +0 -12
  205. package/requestidlecallback.idl +0 -20
  206. package/resize-observer.idl +0 -37
  207. package/resource-timing.idl +0 -39
  208. package/sanitizer-api.idl +0 -38
  209. package/savedata.idl +0 -10
  210. package/scheduling-apis.idl +0 -57
  211. package/screen-capture.idl +0 -85
  212. package/screen-orientation.idl +0 -35
  213. package/screen-wake-lock.idl +0 -24
  214. package/scroll-animations.idl +0 -41
  215. package/scroll-to-text-fragment.idl +0 -12
  216. package/secure-payment-confirmation.idl +0 -52
  217. package/selection-api.idl +0 -46
  218. package/serial.idl +0 -85
  219. package/server-timing.idl +0 -17
  220. package/service-workers.idl +0 -240
  221. package/shape-detection-api.idl +0 -69
  222. package/speech-api.idl +0 -202
  223. package/storage-access.idl +0 -9
  224. package/storage.idl +0 -25
  225. package/streams.idl +0 -222
  226. package/svg-animations.idl +0 -68
  227. package/testutils.idl +0 -9
  228. package/text-detection-api.idl +0 -18
  229. package/touch-events.idl +0 -79
  230. package/trusted-types.idl +0 -71
  231. package/ua-client-hints.idl +0 -44
  232. package/uievents.idl +0 -248
  233. package/url.idl +0 -44
  234. package/urlpattern.idl +0 -59
  235. package/user-timing.idl +0 -34
  236. package/vibration.idl +0 -10
  237. package/video-rvfc.idl +0 -27
  238. package/virtual-keyboard.idl +0 -21
  239. package/wai-aria.idl +0 -59
  240. package/wasm-js-api.idl +0 -110
  241. package/wasm-web-api.idl +0 -11
  242. package/web-animations-2.idl +0 -102
  243. package/web-animations.idl +0 -149
  244. package/web-app-launch.idl +0 -19
  245. package/web-bluetooth.idl +0 -251
  246. package/web-locks.idl +0 -50
  247. package/web-nfc.idl +0 -81
  248. package/web-otp.idl +0 -21
  249. package/web-share.idl +0 -16
  250. package/webaudio.idl +0 -674
  251. package/webauthn.idl +0 -349
  252. package/webcodecs-aac-codec-registration.idl +0 -17
  253. package/webcodecs-avc-codec-registration.idl +0 -17
  254. package/webcodecs-flac-codec-registration.idl +0 -13
  255. package/webcodecs-hevc-codec-registration.idl +0 -17
  256. package/webcodecs-opus-codec-registration.idl +0 -22
  257. package/webcodecs.idl +0 -494
  258. package/webcrypto-secure-curves.idl +0 -8
  259. package/webdriver.idl +0 -9
  260. package/webgl1.idl +0 -745
  261. package/webgl2.idl +0 -582
  262. package/webgpu.idl +0 -1265
  263. package/webhid.idl +0 -127
  264. package/webidl.idl +0 -48
  265. package/webmidi.idl +0 -91
  266. package/webnn.idl +0 -542
  267. package/webrtc-encoded-transform.idl +0 -127
  268. package/webrtc-ice.idl +0 -24
  269. package/webrtc-identity.idl +0 -97
  270. package/webrtc-priority.idl +0 -24
  271. package/webrtc-stats.idl +0 -288
  272. package/webrtc-svc.idl +0 -8
  273. package/webrtc.idl +0 -628
  274. package/websockets.idl +0 -48
  275. package/webtransport.idl +0 -151
  276. package/webusb.idl +0 -249
  277. package/webvtt.idl +0 -40
  278. package/webxr-ar-module.idl +0 -29
  279. package/webxr-depth-sensing.idl +0 -57
  280. package/webxr-dom-overlays.idl +0 -31
  281. package/webxr-gamepads-module.idl +0 -8
  282. package/webxr-hand-input.idl +0 -66
  283. package/webxr-hit-test.idl +0 -69
  284. package/webxr-lighting-estimation.idl +0 -39
  285. package/webxr.idl +0 -294
  286. package/webxrlayers.idl +0 -212
  287. package/window-controls-overlay.idl +0 -28
  288. package/window-placement.idl +0 -42
  289. package/xhr.idl +0 -99
package/css-typed-om.idl DELETED
@@ -1,425 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: CSS Typed OM Level 1 (https://drafts.css-houdini.org/css-typed-om-1/)
5
-
6
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
7
- interface CSSStyleValue {
8
- stringifier;
9
- [Exposed=Window] static CSSStyleValue parse(USVString property, USVString cssText);
10
- [Exposed=Window] static sequence<CSSStyleValue> parseAll(USVString property, USVString cssText);
11
- };
12
-
13
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
14
- interface StylePropertyMapReadOnly {
15
- iterable<USVString, sequence<CSSStyleValue>>;
16
- any get(USVString property);
17
- /* 'any' means (undefined or CSSStyleValue) here,
18
- see https://github.com/heycam/webidl/issues/60 */
19
- sequence<CSSStyleValue> getAll(USVString property);
20
- boolean has(USVString property);
21
- readonly attribute unsigned long size;
22
- };
23
-
24
- [Exposed=Window]
25
- interface StylePropertyMap : StylePropertyMapReadOnly {
26
- undefined set(USVString property, (CSSStyleValue or USVString)... values);
27
- undefined append(USVString property, (CSSStyleValue or USVString)... values);
28
- undefined delete(USVString property);
29
- undefined clear();
30
- };
31
-
32
- partial interface Element {
33
- [SameObject] StylePropertyMapReadOnly computedStyleMap();
34
- };
35
-
36
- partial interface CSSStyleRule {
37
- [SameObject] readonly attribute StylePropertyMap styleMap;
38
- };
39
-
40
- partial interface mixin ElementCSSInlineStyle {
41
- [SameObject] readonly attribute StylePropertyMap attributeStyleMap;
42
- };
43
-
44
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
45
- interface CSSUnparsedValue : CSSStyleValue {
46
- constructor(sequence<CSSUnparsedSegment> members);
47
- iterable<CSSUnparsedSegment>;
48
- readonly attribute unsigned long length;
49
- getter CSSUnparsedSegment (unsigned long index);
50
- setter CSSUnparsedSegment (unsigned long index, CSSUnparsedSegment val);
51
- };
52
-
53
- typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment;
54
-
55
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
56
- interface CSSVariableReferenceValue {
57
- constructor(USVString variable, optional CSSUnparsedValue? fallback = null);
58
- attribute USVString variable;
59
- readonly attribute CSSUnparsedValue? fallback;
60
- };
61
-
62
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
63
- interface CSSKeywordValue : CSSStyleValue {
64
- constructor(USVString value);
65
- attribute USVString value;
66
- };
67
-
68
- typedef (DOMString or CSSKeywordValue) CSSKeywordish;
69
-
70
- typedef (double or CSSNumericValue) CSSNumberish;
71
-
72
- enum CSSNumericBaseType {
73
- "length",
74
- "angle",
75
- "time",
76
- "frequency",
77
- "resolution",
78
- "flex",
79
- "percent",
80
- };
81
-
82
- dictionary CSSNumericType {
83
- long length;
84
- long angle;
85
- long time;
86
- long frequency;
87
- long resolution;
88
- long flex;
89
- long percent;
90
- CSSNumericBaseType percentHint;
91
- };
92
-
93
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
94
- interface CSSNumericValue : CSSStyleValue {
95
- CSSNumericValue add(CSSNumberish... values);
96
- CSSNumericValue sub(CSSNumberish... values);
97
- CSSNumericValue mul(CSSNumberish... values);
98
- CSSNumericValue div(CSSNumberish... values);
99
- CSSNumericValue min(CSSNumberish... values);
100
- CSSNumericValue max(CSSNumberish... values);
101
-
102
- boolean equals(CSSNumberish... value);
103
-
104
- CSSUnitValue to(USVString unit);
105
- CSSMathSum toSum(USVString... units);
106
- CSSNumericType type();
107
-
108
- [Exposed=Window] static CSSNumericValue parse(USVString cssText);
109
- };
110
-
111
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
112
- interface CSSUnitValue : CSSNumericValue {
113
- constructor(double value, USVString unit);
114
- attribute double value;
115
- readonly attribute USVString unit;
116
- };
117
-
118
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
119
- interface CSSMathValue : CSSNumericValue {
120
- readonly attribute CSSMathOperator operator;
121
- };
122
-
123
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
124
- interface CSSMathSum : CSSMathValue {
125
- constructor(CSSNumberish... args);
126
- readonly attribute CSSNumericArray values;
127
- };
128
-
129
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
130
- interface CSSMathProduct : CSSMathValue {
131
- constructor(CSSNumberish... args);
132
- readonly attribute CSSNumericArray values;
133
- };
134
-
135
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
136
- interface CSSMathNegate : CSSMathValue {
137
- constructor(CSSNumberish arg);
138
- readonly attribute CSSNumericValue value;
139
- };
140
-
141
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
142
- interface CSSMathInvert : CSSMathValue {
143
- constructor(CSSNumberish arg);
144
- readonly attribute CSSNumericValue value;
145
- };
146
-
147
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
148
- interface CSSMathMin : CSSMathValue {
149
- constructor(CSSNumberish... args);
150
- readonly attribute CSSNumericArray values;
151
- };
152
-
153
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
154
- interface CSSMathMax : CSSMathValue {
155
- constructor(CSSNumberish... args);
156
- readonly attribute CSSNumericArray values;
157
- };
158
-
159
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
160
- interface CSSMathClamp : CSSMathValue {
161
- constructor(CSSNumberish lower, CSSNumberish value, CSSNumberish upper);
162
- readonly attribute CSSNumericValue lower;
163
- readonly attribute CSSNumericValue value;
164
- readonly attribute CSSNumericValue upper;
165
- };
166
-
167
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
168
- interface CSSNumericArray {
169
- iterable<CSSNumericValue>;
170
- readonly attribute unsigned long length;
171
- getter CSSNumericValue (unsigned long index);
172
- };
173
-
174
- enum CSSMathOperator {
175
- "sum",
176
- "product",
177
- "negate",
178
- "invert",
179
- "min",
180
- "max",
181
- "clamp",
182
- };
183
-
184
- partial namespace CSS {
185
- CSSUnitValue number(double value);
186
- CSSUnitValue percent(double value);
187
-
188
- // <length>
189
- CSSUnitValue em(double value);
190
- CSSUnitValue ex(double value);
191
- CSSUnitValue ch(double value);
192
- CSSUnitValue ic(double value);
193
- CSSUnitValue rem(double value);
194
- CSSUnitValue lh(double value);
195
- CSSUnitValue rlh(double value);
196
- CSSUnitValue vw(double value);
197
- CSSUnitValue vh(double value);
198
- CSSUnitValue vi(double value);
199
- CSSUnitValue vb(double value);
200
- CSSUnitValue vmin(double value);
201
- CSSUnitValue vmax(double value);
202
- CSSUnitValue svw(double value);
203
- CSSUnitValue svh(double value);
204
- CSSUnitValue svi(double value);
205
- CSSUnitValue svb(double value);
206
- CSSUnitValue svmin(double value);
207
- CSSUnitValue svmax(double value);
208
- CSSUnitValue lvw(double value);
209
- CSSUnitValue lvh(double value);
210
- CSSUnitValue lvi(double value);
211
- CSSUnitValue lvb(double value);
212
- CSSUnitValue lvmin(double value);
213
- CSSUnitValue lvmax(double value);
214
- CSSUnitValue dvw(double value);
215
- CSSUnitValue dvh(double value);
216
- CSSUnitValue dvi(double value);
217
- CSSUnitValue dvb(double value);
218
- CSSUnitValue dvmin(double value);
219
- CSSUnitValue dvmax(double value);
220
- CSSUnitValue cqw(double value);
221
- CSSUnitValue cqh(double value);
222
- CSSUnitValue cqi(double value);
223
- CSSUnitValue cqb(double value);
224
- CSSUnitValue cqmin(double value);
225
- CSSUnitValue cqmax(double value);
226
- CSSUnitValue cm(double value);
227
- CSSUnitValue mm(double value);
228
- CSSUnitValue Q(double value);
229
- CSSUnitValue in(double value);
230
- CSSUnitValue pt(double value);
231
- CSSUnitValue pc(double value);
232
- CSSUnitValue px(double value);
233
-
234
- // <angle>
235
- CSSUnitValue deg(double value);
236
- CSSUnitValue grad(double value);
237
- CSSUnitValue rad(double value);
238
- CSSUnitValue turn(double value);
239
-
240
- // <time>
241
- CSSUnitValue s(double value);
242
- CSSUnitValue ms(double value);
243
-
244
- // <frequency>
245
- CSSUnitValue Hz(double value);
246
- CSSUnitValue kHz(double value);
247
-
248
- // <resolution>
249
- CSSUnitValue dpi(double value);
250
- CSSUnitValue dpcm(double value);
251
- CSSUnitValue dppx(double value);
252
-
253
- // <flex>
254
- CSSUnitValue fr(double value);
255
- };
256
-
257
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
258
- interface CSSTransformValue : CSSStyleValue {
259
- constructor(sequence<CSSTransformComponent> transforms);
260
- iterable<CSSTransformComponent>;
261
- readonly attribute unsigned long length;
262
- getter CSSTransformComponent (unsigned long index);
263
- setter CSSTransformComponent (unsigned long index, CSSTransformComponent val);
264
-
265
- readonly attribute boolean is2D;
266
- DOMMatrix toMatrix();
267
- };
268
-
269
- typedef (CSSNumericValue or CSSKeywordish) CSSPerspectiveValue;
270
-
271
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
272
- interface CSSTransformComponent {
273
- stringifier;
274
- attribute boolean is2D;
275
- DOMMatrix toMatrix();
276
- };
277
-
278
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
279
- interface CSSTranslate : CSSTransformComponent {
280
- constructor(CSSNumericValue x, CSSNumericValue y, optional CSSNumericValue z);
281
- attribute CSSNumericValue x;
282
- attribute CSSNumericValue y;
283
- attribute CSSNumericValue z;
284
- };
285
-
286
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
287
- interface CSSRotate : CSSTransformComponent {
288
- constructor(CSSNumericValue angle);
289
- constructor(CSSNumberish x, CSSNumberish y, CSSNumberish z, CSSNumericValue angle);
290
- attribute CSSNumberish x;
291
- attribute CSSNumberish y;
292
- attribute CSSNumberish z;
293
- attribute CSSNumericValue angle;
294
- };
295
-
296
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
297
- interface CSSScale : CSSTransformComponent {
298
- constructor(CSSNumberish x, CSSNumberish y, optional CSSNumberish z);
299
- attribute CSSNumberish x;
300
- attribute CSSNumberish y;
301
- attribute CSSNumberish z;
302
- };
303
-
304
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
305
- interface CSSSkew : CSSTransformComponent {
306
- constructor(CSSNumericValue ax, CSSNumericValue ay);
307
- attribute CSSNumericValue ax;
308
- attribute CSSNumericValue ay;
309
- };
310
-
311
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
312
- interface CSSSkewX : CSSTransformComponent {
313
- constructor(CSSNumericValue ax);
314
- attribute CSSNumericValue ax;
315
- };
316
-
317
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
318
- interface CSSSkewY : CSSTransformComponent {
319
- constructor(CSSNumericValue ay);
320
- attribute CSSNumericValue ay;
321
- };
322
-
323
- /* Note that skew(x,y) is *not* the same as skewX(x) skewY(y),
324
- thus the separate interfaces for all three. */
325
-
326
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
327
- interface CSSPerspective : CSSTransformComponent {
328
- constructor(CSSPerspectiveValue length);
329
- attribute CSSPerspectiveValue length;
330
- };
331
-
332
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
333
- interface CSSMatrixComponent : CSSTransformComponent {
334
- constructor(DOMMatrixReadOnly matrix, optional CSSMatrixComponentOptions options = {});
335
- attribute DOMMatrix matrix;
336
- };
337
-
338
- dictionary CSSMatrixComponentOptions {
339
- boolean is2D;
340
- };
341
-
342
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
343
- interface CSSImageValue : CSSStyleValue {
344
- };
345
-
346
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
347
- interface CSSColorValue : CSSStyleValue {
348
- [Exposed=Window] static (CSSColorValue or CSSStyleValue) parse(USVString cssText);
349
- };
350
-
351
- typedef (CSSNumberish or CSSKeywordish) CSSColorRGBComp;
352
- typedef (CSSNumberish or CSSKeywordish) CSSColorPercent;
353
- typedef (CSSNumberish or CSSKeywordish) CSSColorNumber;
354
- typedef (CSSNumberish or CSSKeywordish) CSSColorAngle;
355
-
356
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
357
- interface CSSRGB : CSSColorValue {
358
- constructor(CSSColorRGBComp r, CSSColorRGBComp g, CSSColorRGBComp b, optional CSSColorPercent alpha = 1);
359
- attribute CSSColorRGBComp r;
360
- attribute CSSColorRGBComp g;
361
- attribute CSSColorRGBComp b;
362
- attribute CSSColorPercent alpha;
363
- };
364
-
365
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
366
- interface CSSHSL : CSSColorValue {
367
- constructor(CSSColorAngle h, CSSColorPercent s, CSSColorPercent l, optional CSSColorPercent alpha = 1);
368
- attribute CSSColorAngle h;
369
- attribute CSSColorPercent s;
370
- attribute CSSColorPercent l;
371
- attribute CSSColorPercent alpha;
372
- };
373
-
374
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
375
- interface CSSHWB : CSSColorValue {
376
- constructor(CSSNumericValue h, CSSNumberish w, CSSNumberish b, optional CSSNumberish alpha = 1);
377
- attribute CSSNumericValue h;
378
- attribute CSSNumberish w;
379
- attribute CSSNumberish b;
380
- attribute CSSNumberish alpha;
381
- };
382
-
383
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
384
- interface CSSLab : CSSColorValue {
385
- constructor(CSSColorPercent l, CSSColorNumber a, CSSColorNumber b, optional CSSColorPercent alpha = 1);
386
- attribute CSSColorPercent l;
387
- attribute CSSColorNumber a;
388
- attribute CSSColorNumber b;
389
- attribute CSSColorPercent alpha;
390
- };
391
-
392
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
393
- interface CSSLCH : CSSColorValue {
394
- constructor(CSSColorPercent l, CSSColorPercent c, CSSColorAngle h, optional CSSColorPercent alpha = 1);
395
- attribute CSSColorPercent l;
396
- attribute CSSColorPercent c;
397
- attribute CSSColorAngle h;
398
- attribute CSSColorPercent alpha;
399
- };
400
-
401
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
402
- interface CSSOKLab : CSSColorValue {
403
- constructor(CSSColorPercent l, CSSColorNumber a, CSSColorNumber b, optional CSSColorPercent alpha = 1);
404
- attribute CSSColorPercent l;
405
- attribute CSSColorNumber a;
406
- attribute CSSColorNumber b;
407
- attribute CSSColorPercent alpha;
408
- };
409
-
410
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
411
- interface CSSOKLCH : CSSColorValue {
412
- constructor(CSSColorPercent l, CSSColorPercent c, CSSColorAngle h, optional CSSColorPercent alpha = 1);
413
- attribute CSSColorPercent l;
414
- attribute CSSColorPercent c;
415
- attribute CSSColorAngle h;
416
- attribute CSSColorPercent alpha;
417
- };
418
-
419
- [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
420
- interface CSSColor : CSSColorValue {
421
- constructor(CSSKeywordish colorSpace, sequence<CSSColorPercent> channels, optional CSSNumberish alpha = 1);
422
- attribute CSSKeywordish colorSpace;
423
- attribute ObservableArray<CSSColorPercent> channels;
424
- attribute CSSNumberish alpha;
425
- };
@@ -1,18 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
-
6
- partial interface Document {
7
- ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
8
- };
9
-
10
- callback UpdateCallback = Promise<any> ();
11
-
12
- [Exposed=Window]
13
- interface ViewTransition {
14
- readonly attribute Promise<undefined> updateCallbackDone;
15
- readonly attribute Promise<undefined> ready;
16
- readonly attribute Promise<undefined> finished;
17
- undefined skipTransition();
18
- };
package/cssom-view.idl DELETED
@@ -1,200 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
5
-
6
- enum ScrollBehavior { "auto", "instant", "smooth" };
7
-
8
- dictionary ScrollOptions {
9
- ScrollBehavior behavior = "auto";
10
- };
11
- dictionary ScrollToOptions : ScrollOptions {
12
- unrestricted double left;
13
- unrestricted double top;
14
- };
15
-
16
- partial interface Window {
17
- [NewObject] MediaQueryList matchMedia(CSSOMString query);
18
- [SameObject, Replaceable] readonly attribute Screen screen;
19
- [SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
20
-
21
- // browsing context
22
- undefined moveTo(long x, long y);
23
- undefined moveBy(long x, long y);
24
- undefined resizeTo(long width, long height);
25
- undefined resizeBy(long x, long y);
26
-
27
- // viewport
28
- [Replaceable] readonly attribute long innerWidth;
29
- [Replaceable] readonly attribute long innerHeight;
30
-
31
- // viewport scrolling
32
- [Replaceable] readonly attribute double scrollX;
33
- [Replaceable] readonly attribute double pageXOffset;
34
- [Replaceable] readonly attribute double scrollY;
35
- [Replaceable] readonly attribute double pageYOffset;
36
- undefined scroll(optional ScrollToOptions options = {});
37
- undefined scroll(unrestricted double x, unrestricted double y);
38
- undefined scrollTo(optional ScrollToOptions options = {});
39
- undefined scrollTo(unrestricted double x, unrestricted double y);
40
- undefined scrollBy(optional ScrollToOptions options = {});
41
- undefined scrollBy(unrestricted double x, unrestricted double y);
42
-
43
- // client
44
- [Replaceable] readonly attribute long screenX;
45
- [Replaceable] readonly attribute long screenLeft;
46
- [Replaceable] readonly attribute long screenY;
47
- [Replaceable] readonly attribute long screenTop;
48
- [Replaceable] readonly attribute long outerWidth;
49
- [Replaceable] readonly attribute long outerHeight;
50
- [Replaceable] readonly attribute double devicePixelRatio;
51
- };
52
-
53
- [Exposed=Window]
54
- interface MediaQueryList : EventTarget {
55
- readonly attribute CSSOMString media;
56
- readonly attribute boolean matches;
57
- undefined addListener(EventListener? callback);
58
- undefined removeListener(EventListener? callback);
59
- attribute EventHandler onchange;
60
- };
61
-
62
- [Exposed=Window]
63
- interface MediaQueryListEvent : Event {
64
- constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {});
65
- readonly attribute CSSOMString media;
66
- readonly attribute boolean matches;
67
- };
68
-
69
- dictionary MediaQueryListEventInit : EventInit {
70
- CSSOMString media = "";
71
- boolean matches = false;
72
- };
73
-
74
- [Exposed=Window]
75
- interface Screen {
76
- readonly attribute long availWidth;
77
- readonly attribute long availHeight;
78
- readonly attribute long width;
79
- readonly attribute long height;
80
- readonly attribute unsigned long colorDepth;
81
- readonly attribute unsigned long pixelDepth;
82
- };
83
-
84
- partial interface Document {
85
- Element? elementFromPoint(double x, double y);
86
- sequence<Element> elementsFromPoint(double x, double y);
87
- CaretPosition? caretPositionFromPoint(double x, double y);
88
- readonly attribute Element? scrollingElement;
89
- };
90
-
91
- [Exposed=Window]
92
- interface CaretPosition {
93
- readonly attribute Node offsetNode;
94
- readonly attribute unsigned long offset;
95
- [NewObject] DOMRect? getClientRect();
96
- };
97
-
98
- enum ScrollLogicalPosition { "start", "center", "end", "nearest" };
99
- dictionary ScrollIntoViewOptions : ScrollOptions {
100
- ScrollLogicalPosition block = "start";
101
- ScrollLogicalPosition inline = "nearest";
102
- };
103
-
104
- dictionary CheckVisibilityOptions {
105
- boolean checkOpacity = false;
106
- boolean checkVisibilityCSS = false;
107
- };
108
-
109
- partial interface Element {
110
- DOMRectList getClientRects();
111
- [NewObject] DOMRect getBoundingClientRect();
112
-
113
- boolean checkVisibility(optional CheckVisibilityOptions options = {});
114
-
115
- undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
116
- undefined scroll(optional ScrollToOptions options = {});
117
- undefined scroll(unrestricted double x, unrestricted double y);
118
- undefined scrollTo(optional ScrollToOptions options = {});
119
- undefined scrollTo(unrestricted double x, unrestricted double y);
120
- undefined scrollBy(optional ScrollToOptions options = {});
121
- undefined scrollBy(unrestricted double x, unrestricted double y);
122
- attribute unrestricted double scrollTop;
123
- attribute unrestricted double scrollLeft;
124
- readonly attribute long scrollWidth;
125
- readonly attribute long scrollHeight;
126
- readonly attribute long clientTop;
127
- readonly attribute long clientLeft;
128
- readonly attribute long clientWidth;
129
- readonly attribute long clientHeight;
130
- };
131
-
132
- partial interface HTMLElement {
133
- readonly attribute Element? offsetParent;
134
- readonly attribute long offsetTop;
135
- readonly attribute long offsetLeft;
136
- readonly attribute long offsetWidth;
137
- readonly attribute long offsetHeight;
138
- };
139
-
140
- partial interface HTMLImageElement {
141
- readonly attribute long x;
142
- readonly attribute long y;
143
- };
144
-
145
- partial interface Range {
146
- DOMRectList getClientRects();
147
- [NewObject] DOMRect getBoundingClientRect();
148
- };
149
-
150
- partial interface MouseEvent {
151
- readonly attribute double pageX;
152
- readonly attribute double pageY;
153
- readonly attribute double x;
154
- readonly attribute double y;
155
- readonly attribute double offsetX;
156
- readonly attribute double offsetY;
157
- };
158
-
159
- enum CSSBoxType { "margin", "border", "padding", "content" };
160
- dictionary BoxQuadOptions {
161
- CSSBoxType box = "border";
162
- GeometryNode relativeTo; // XXX default document (i.e. viewport)
163
- };
164
-
165
- dictionary ConvertCoordinateOptions {
166
- CSSBoxType fromBox = "border";
167
- CSSBoxType toBox = "border";
168
- };
169
-
170
- interface mixin GeometryUtils {
171
- sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options = {});
172
- DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options = {});
173
- DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options = {});
174
- DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options = {}); // XXX z,w turns into 0
175
- };
176
-
177
- Text includes GeometryUtils; // like Range
178
- Element includes GeometryUtils;
179
- CSSPseudoElement includes GeometryUtils;
180
- Document includes GeometryUtils;
181
-
182
- typedef (Text or Element or CSSPseudoElement or Document) GeometryNode;
183
-
184
- [Exposed=Window]
185
- interface VisualViewport : EventTarget {
186
- readonly attribute double offsetLeft;
187
- readonly attribute double offsetTop;
188
-
189
- readonly attribute double pageLeft;
190
- readonly attribute double pageTop;
191
-
192
- readonly attribute double width;
193
- readonly attribute double height;
194
-
195
- readonly attribute double scale;
196
-
197
- attribute EventHandler onresize;
198
- attribute EventHandler onscroll;
199
- attribute EventHandler onscrollend;
200
- };