@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.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +15 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +22 -0
- package/compute-pressure.idl +37 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +609 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +93 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2717 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +100 -0
- package/orientation-event.idl +76 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +28 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessFor.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +11 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +48 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +220 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +58 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +46 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +104 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +252 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +313 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1245 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +627 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Layout API Level 1 (https://drafts.css-houdini.org/css-layout-api-1/)
|
|
5
|
+
|
|
6
|
+
partial namespace CSS {
|
|
7
|
+
[SameObject] readonly attribute Worklet layoutWorklet;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Global=(Worklet,LayoutWorklet),Exposed=LayoutWorklet]
|
|
11
|
+
interface LayoutWorkletGlobalScope : WorkletGlobalScope {
|
|
12
|
+
undefined registerLayout(DOMString name, VoidFunction layoutCtor);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
dictionary LayoutOptions {
|
|
16
|
+
ChildDisplayType childDisplay = "block";
|
|
17
|
+
LayoutSizingMode sizing = "block-like";
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
enum ChildDisplayType {
|
|
21
|
+
"block", // default - "blockifies" the child boxes.
|
|
22
|
+
"normal",
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
enum LayoutSizingMode {
|
|
26
|
+
"block-like", // default - Sizing behaves like block containers.
|
|
27
|
+
"manual", // Sizing is specified by the web developer.
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
[Exposed=LayoutWorklet]
|
|
31
|
+
interface LayoutChild {
|
|
32
|
+
readonly attribute StylePropertyMapReadOnly styleMap;
|
|
33
|
+
|
|
34
|
+
Promise<IntrinsicSizes> intrinsicSizes();
|
|
35
|
+
Promise<LayoutFragment> layoutNextFragment(LayoutConstraintsOptions constraints, ChildBreakToken breakToken);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
[Exposed=LayoutWorklet]
|
|
39
|
+
interface LayoutFragment {
|
|
40
|
+
readonly attribute double inlineSize;
|
|
41
|
+
readonly attribute double blockSize;
|
|
42
|
+
|
|
43
|
+
attribute double inlineOffset;
|
|
44
|
+
attribute double blockOffset;
|
|
45
|
+
|
|
46
|
+
readonly attribute any data;
|
|
47
|
+
|
|
48
|
+
readonly attribute ChildBreakToken? breakToken;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
[Exposed=LayoutWorklet]
|
|
52
|
+
interface IntrinsicSizes {
|
|
53
|
+
readonly attribute double minContentSize;
|
|
54
|
+
readonly attribute double maxContentSize;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
[Exposed=LayoutWorklet]
|
|
58
|
+
interface LayoutConstraints {
|
|
59
|
+
readonly attribute double availableInlineSize;
|
|
60
|
+
readonly attribute double availableBlockSize;
|
|
61
|
+
|
|
62
|
+
readonly attribute double? fixedInlineSize;
|
|
63
|
+
readonly attribute double? fixedBlockSize;
|
|
64
|
+
|
|
65
|
+
readonly attribute double percentageInlineSize;
|
|
66
|
+
readonly attribute double percentageBlockSize;
|
|
67
|
+
|
|
68
|
+
readonly attribute double? blockFragmentationOffset;
|
|
69
|
+
readonly attribute BlockFragmentationType blockFragmentationType;
|
|
70
|
+
|
|
71
|
+
readonly attribute any data;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
enum BlockFragmentationType { "none", "page", "column", "region" };
|
|
75
|
+
|
|
76
|
+
dictionary LayoutConstraintsOptions {
|
|
77
|
+
double availableInlineSize;
|
|
78
|
+
double availableBlockSize;
|
|
79
|
+
|
|
80
|
+
double fixedInlineSize;
|
|
81
|
+
double fixedBlockSize;
|
|
82
|
+
|
|
83
|
+
double percentageInlineSize;
|
|
84
|
+
double percentageBlockSize;
|
|
85
|
+
|
|
86
|
+
double blockFragmentationOffset;
|
|
87
|
+
BlockFragmentationType blockFragmentationType = "none";
|
|
88
|
+
|
|
89
|
+
any data;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
[Exposed=LayoutWorklet]
|
|
93
|
+
interface ChildBreakToken {
|
|
94
|
+
readonly attribute BreakType breakType;
|
|
95
|
+
readonly attribute LayoutChild child;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
[Exposed=LayoutWorklet]
|
|
99
|
+
interface BreakToken {
|
|
100
|
+
readonly attribute FrozenArray<ChildBreakToken> childBreakTokens;
|
|
101
|
+
readonly attribute any data;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
dictionary BreakTokenOptions {
|
|
105
|
+
sequence<ChildBreakToken> childBreakTokens;
|
|
106
|
+
any data = null;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
enum BreakType { "none", "line", "column", "page", "region" };
|
|
110
|
+
|
|
111
|
+
[Exposed=LayoutWorklet]
|
|
112
|
+
interface LayoutEdges {
|
|
113
|
+
readonly attribute double inlineStart;
|
|
114
|
+
readonly attribute double inlineEnd;
|
|
115
|
+
|
|
116
|
+
readonly attribute double blockStart;
|
|
117
|
+
readonly attribute double blockEnd;
|
|
118
|
+
|
|
119
|
+
// Convenience attributes for the sum in one direction.
|
|
120
|
+
readonly attribute double inline;
|
|
121
|
+
readonly attribute double block;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
// This is the final return value from the author defined layout() method.
|
|
125
|
+
dictionary FragmentResultOptions {
|
|
126
|
+
double inlineSize = 0;
|
|
127
|
+
double blockSize = 0;
|
|
128
|
+
double autoBlockSize = 0;
|
|
129
|
+
sequence<LayoutFragment> childFragments = [];
|
|
130
|
+
any data = null;
|
|
131
|
+
BreakTokenOptions breakToken = null;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
[Exposed=LayoutWorklet]
|
|
135
|
+
interface FragmentResult {
|
|
136
|
+
constructor(optional FragmentResultOptions options = {});
|
|
137
|
+
readonly attribute double inlineSize;
|
|
138
|
+
readonly attribute double blockSize;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
dictionary IntrinsicSizesResultOptions {
|
|
142
|
+
double maxContentSize;
|
|
143
|
+
double minContentSize;
|
|
144
|
+
};
|
package/css-masking.idl
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Masking Module Level 1 (https://drafts.fxtf.org/css-masking-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface SVGClipPathElement : SVGElement {
|
|
8
|
+
readonly attribute SVGAnimatedEnumeration clipPathUnits;
|
|
9
|
+
readonly attribute SVGAnimatedTransformList transform;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
[Exposed=Window]
|
|
13
|
+
interface SVGMaskElement : SVGElement {
|
|
14
|
+
readonly attribute SVGAnimatedEnumeration maskUnits;
|
|
15
|
+
readonly attribute SVGAnimatedEnumeration maskContentUnits;
|
|
16
|
+
readonly attribute SVGAnimatedLength x;
|
|
17
|
+
readonly attribute SVGAnimatedLength y;
|
|
18
|
+
readonly attribute SVGAnimatedLength width;
|
|
19
|
+
readonly attribute SVGAnimatedLength height;
|
|
20
|
+
};
|
package/css-nav.idl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Spatial Navigation Level 1 (https://drafts.csswg.org/css-nav-1/)
|
|
5
|
+
|
|
6
|
+
enum SpatialNavigationDirection {
|
|
7
|
+
"up",
|
|
8
|
+
"down",
|
|
9
|
+
"left",
|
|
10
|
+
"right",
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
partial interface Window {
|
|
14
|
+
undefined navigate(SpatialNavigationDirection dir);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
enum FocusableAreaSearchMode {
|
|
18
|
+
"visible",
|
|
19
|
+
"all"
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary FocusableAreasOption {
|
|
23
|
+
FocusableAreaSearchMode mode;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
dictionary SpatialNavigationSearchOptions {
|
|
27
|
+
sequence<Node>? candidates;
|
|
28
|
+
Node? container;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
partial interface Element {
|
|
32
|
+
Node getSpatialNavigationContainer();
|
|
33
|
+
sequence<Node> focusableAreas(optional FocusableAreasOption option = {});
|
|
34
|
+
Node? spatialNavigationSearch(SpatialNavigationDirection dir, optional SpatialNavigationSearchOptions options = {});
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
[Exposed=Window]
|
|
38
|
+
interface NavigationEvent : UIEvent {
|
|
39
|
+
constructor(DOMString type,
|
|
40
|
+
optional NavigationEventInit eventInitDict = {});
|
|
41
|
+
readonly attribute SpatialNavigationDirection dir;
|
|
42
|
+
readonly attribute EventTarget? relatedTarget;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
dictionary NavigationEventInit : UIEventInit {
|
|
46
|
+
SpatialNavigationDirection dir;
|
|
47
|
+
EventTarget? relatedTarget = null;
|
|
48
|
+
};
|
package/css-nesting.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: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
|
|
5
|
+
|
|
6
|
+
partial interface CSSStyleRule {
|
|
7
|
+
[SameObject] readonly attribute CSSRuleList cssRules;
|
|
8
|
+
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
|
9
|
+
undefined deleteRule(unsigned long index);
|
|
10
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Painting API Level 1 (https://drafts.css-houdini.org/css-paint-api-1/)
|
|
5
|
+
|
|
6
|
+
partial namespace CSS {
|
|
7
|
+
[SameObject] readonly attribute Worklet paintWorklet;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Global=(Worklet,PaintWorklet),Exposed=PaintWorklet]
|
|
11
|
+
interface PaintWorkletGlobalScope : WorkletGlobalScope {
|
|
12
|
+
undefined registerPaint(DOMString name, VoidFunction paintCtor);
|
|
13
|
+
readonly attribute unrestricted double devicePixelRatio;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary PaintRenderingContext2DSettings {
|
|
17
|
+
boolean alpha = true;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
[Exposed=PaintWorklet]
|
|
21
|
+
interface PaintRenderingContext2D {
|
|
22
|
+
};
|
|
23
|
+
PaintRenderingContext2D includes CanvasState;
|
|
24
|
+
PaintRenderingContext2D includes CanvasTransform;
|
|
25
|
+
PaintRenderingContext2D includes CanvasCompositing;
|
|
26
|
+
PaintRenderingContext2D includes CanvasImageSmoothing;
|
|
27
|
+
PaintRenderingContext2D includes CanvasFillStrokeStyles;
|
|
28
|
+
PaintRenderingContext2D includes CanvasShadowStyles;
|
|
29
|
+
PaintRenderingContext2D includes CanvasRect;
|
|
30
|
+
PaintRenderingContext2D includes CanvasDrawPath;
|
|
31
|
+
PaintRenderingContext2D includes CanvasDrawImage;
|
|
32
|
+
PaintRenderingContext2D includes CanvasPathDrawingStyles;
|
|
33
|
+
PaintRenderingContext2D includes CanvasPath;
|
|
34
|
+
|
|
35
|
+
[Exposed=PaintWorklet]
|
|
36
|
+
interface PaintSize {
|
|
37
|
+
readonly attribute double width;
|
|
38
|
+
readonly attribute double height;
|
|
39
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Parser API (https://wicg.github.io/css-parser-api/)
|
|
5
|
+
|
|
6
|
+
typedef (DOMString or ReadableStream) CSSStringSource;
|
|
7
|
+
typedef (DOMString or CSSStyleValue or CSSParserValue) CSSToken;
|
|
8
|
+
|
|
9
|
+
partial namespace CSS {
|
|
10
|
+
Promise<sequence<CSSParserRule>> parseStylesheet(CSSStringSource css, optional CSSParserOptions options = {});
|
|
11
|
+
Promise<sequence<CSSParserRule>> parseRuleList(CSSStringSource css, optional CSSParserOptions options = {});
|
|
12
|
+
Promise<CSSParserRule> parseRule(CSSStringSource css, optional CSSParserOptions options = {});
|
|
13
|
+
Promise<sequence<CSSParserRule>> parseDeclarationList(CSSStringSource css, optional CSSParserOptions options = {});
|
|
14
|
+
CSSParserDeclaration parseDeclaration(DOMString css, optional CSSParserOptions options = {});
|
|
15
|
+
CSSToken parseValue(DOMString css);
|
|
16
|
+
sequence<CSSToken> parseValueList(DOMString css);
|
|
17
|
+
sequence<sequence<CSSToken>> parseCommaValueList(DOMString css);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
dictionary CSSParserOptions {
|
|
21
|
+
object atRules;
|
|
22
|
+
/* dict of at-rule name => at-rule type
|
|
23
|
+
(contains decls or contains qualified rules) */
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window]
|
|
27
|
+
interface CSSParserRule {
|
|
28
|
+
/* Just a superclass. */
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
[Exposed=Window]
|
|
32
|
+
interface CSSParserAtRule : CSSParserRule {
|
|
33
|
+
constructor(DOMString name, sequence<CSSToken> prelude, optional sequence<CSSParserRule>? body);
|
|
34
|
+
readonly attribute DOMString name;
|
|
35
|
+
readonly attribute FrozenArray<CSSParserValue> prelude;
|
|
36
|
+
readonly attribute FrozenArray<CSSParserRule>? body;
|
|
37
|
+
/* nullable to handle at-statements */
|
|
38
|
+
stringifier;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
[Exposed=Window]
|
|
42
|
+
interface CSSParserQualifiedRule : CSSParserRule {
|
|
43
|
+
constructor(sequence<CSSToken> prelude, optional sequence<CSSParserRule>? body);
|
|
44
|
+
readonly attribute FrozenArray<CSSParserValue> prelude;
|
|
45
|
+
readonly attribute FrozenArray<CSSParserRule> body;
|
|
46
|
+
stringifier;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
[Exposed=Window]
|
|
50
|
+
interface CSSParserDeclaration : CSSParserRule {
|
|
51
|
+
constructor(DOMString name, optional sequence<CSSParserRule> body);
|
|
52
|
+
readonly attribute DOMString name;
|
|
53
|
+
readonly attribute FrozenArray<CSSParserValue> body;
|
|
54
|
+
stringifier;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
[Exposed=Window]
|
|
58
|
+
interface CSSParserValue {
|
|
59
|
+
/* Just a superclass. */
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
[Exposed=Window]
|
|
63
|
+
interface CSSParserBlock : CSSParserValue {
|
|
64
|
+
constructor(DOMString name, sequence<CSSParserValue> body);
|
|
65
|
+
readonly attribute DOMString name; /* "[]", "{}", or "()" */
|
|
66
|
+
readonly attribute FrozenArray<CSSParserValue> body;
|
|
67
|
+
stringifier;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
[Exposed=Window]
|
|
71
|
+
interface CSSParserFunction : CSSParserValue {
|
|
72
|
+
constructor(DOMString name, sequence<sequence<CSSParserValue>> args);
|
|
73
|
+
readonly attribute DOMString name;
|
|
74
|
+
readonly attribute FrozenArray<FrozenArray<CSSParserValue>> args;
|
|
75
|
+
stringifier;
|
|
76
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Properties and Values API Level 1 (https://drafts.css-houdini.org/css-properties-values-api-1/)
|
|
5
|
+
|
|
6
|
+
dictionary PropertyDefinition {
|
|
7
|
+
required DOMString name;
|
|
8
|
+
DOMString syntax = "*";
|
|
9
|
+
required boolean inherits;
|
|
10
|
+
DOMString initialValue;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
partial namespace CSS {
|
|
14
|
+
undefined registerProperty(PropertyDefinition definition);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=Window]
|
|
18
|
+
interface CSSPropertyRule : CSSRule {
|
|
19
|
+
readonly attribute CSSOMString name;
|
|
20
|
+
readonly attribute CSSOMString syntax;
|
|
21
|
+
readonly attribute boolean inherits;
|
|
22
|
+
readonly attribute CSSOMString? initialValue;
|
|
23
|
+
};
|
package/css-pseudo.idl
ADDED
|
@@ -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: CSS Pseudo-Elements Module Level 4 (https://drafts.csswg.org/css-pseudo-4/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSPseudoElement : EventTarget {
|
|
8
|
+
readonly attribute CSSOMString type;
|
|
9
|
+
readonly attribute Element element;
|
|
10
|
+
readonly attribute (Element or CSSPseudoElement) parent;
|
|
11
|
+
CSSPseudoElement? pseudo(CSSOMString type);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
partial interface Element {
|
|
15
|
+
CSSPseudoElement? pseudo(CSSOMString type);
|
|
16
|
+
};
|
package/css-regions.idl
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions-1/)
|
|
5
|
+
|
|
6
|
+
partial interface Document {
|
|
7
|
+
readonly attribute NamedFlowMap namedFlows;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window] interface NamedFlowMap {
|
|
11
|
+
maplike<CSSOMString, NamedFlow>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
[Exposed=Window]
|
|
15
|
+
interface NamedFlow : EventTarget {
|
|
16
|
+
readonly attribute CSSOMString name;
|
|
17
|
+
readonly attribute boolean overset;
|
|
18
|
+
sequence<Element> getRegions();
|
|
19
|
+
readonly attribute short firstEmptyRegionIndex;
|
|
20
|
+
sequence<Node> getContent();
|
|
21
|
+
sequence<Element> getRegionsByContent(Node node);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
interface mixin Region {
|
|
25
|
+
readonly attribute CSSOMString regionOverset;
|
|
26
|
+
sequence<Range>? getRegionFlowRanges();
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
Element includes Region;
|
|
@@ -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: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts-1/)
|
|
5
|
+
|
|
6
|
+
partial interface Element {
|
|
7
|
+
[SameObject, PutForwards=value] readonly attribute DOMTokenList part;
|
|
8
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Transitions Level 2 (https://drafts.csswg.org/css-transitions-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSTransition : Animation {
|
|
8
|
+
readonly attribute CSSOMString transitionProperty;
|
|
9
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Transitions (https://drafts.csswg.org/css-transitions-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface TransitionEvent : Event {
|
|
8
|
+
constructor(CSSOMString type, optional TransitionEventInit transitionEventInitDict = {});
|
|
9
|
+
readonly attribute CSSOMString propertyName;
|
|
10
|
+
readonly attribute double elapsedTime;
|
|
11
|
+
readonly attribute CSSOMString pseudoElement;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
dictionary TransitionEventInit : EventInit {
|
|
15
|
+
CSSOMString propertyName = "";
|
|
16
|
+
double elapsedTime = 0.0;
|
|
17
|
+
CSSOMString pseudoElement = "";
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
partial interface mixin GlobalEventHandlers {
|
|
21
|
+
attribute EventHandler ontransitionrun;
|
|
22
|
+
attribute EventHandler ontransitionstart;
|
|
23
|
+
attribute EventHandler ontransitionend;
|
|
24
|
+
attribute EventHandler ontransitioncancel;
|
|
25
|
+
};
|