@webref/idl 3.29.0 → 3.30.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 +19 -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 +16 -0
- package/compute-pressure.idl +40 -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 +645 -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 +97 -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 +2716 -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 +101 -0
- package/orientation-event.idl +82 -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 +29 -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/requestStorageAccessForOrigin.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 +57 -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 +52 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +240 -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 +63 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +44 -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 +110 -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 +251 -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 +349 -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 +1267 -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 +628 -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,72 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: File System Access (https://wicg.github.io/file-system-access/)
|
|
5
|
+
|
|
6
|
+
enum FileSystemPermissionMode {
|
|
7
|
+
"read",
|
|
8
|
+
"readwrite"
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
dictionary FileSystemPermissionDescriptor : PermissionDescriptor {
|
|
12
|
+
required FileSystemHandle handle;
|
|
13
|
+
FileSystemPermissionMode mode = "read";
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary FileSystemHandlePermissionDescriptor {
|
|
17
|
+
FileSystemPermissionMode mode = "read";
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
21
|
+
partial interface FileSystemHandle {
|
|
22
|
+
Promise<PermissionState> queryPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
|
|
23
|
+
Promise<PermissionState> requestPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
enum WellKnownDirectory {
|
|
27
|
+
"desktop",
|
|
28
|
+
"documents",
|
|
29
|
+
"downloads",
|
|
30
|
+
"music",
|
|
31
|
+
"pictures",
|
|
32
|
+
"videos",
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
typedef (WellKnownDirectory or FileSystemHandle) StartInDirectory;
|
|
36
|
+
|
|
37
|
+
dictionary FilePickerAcceptType {
|
|
38
|
+
USVString description;
|
|
39
|
+
record<USVString, (USVString or sequence<USVString>)> accept;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
dictionary FilePickerOptions {
|
|
43
|
+
sequence<FilePickerAcceptType> types;
|
|
44
|
+
boolean excludeAcceptAllOption = false;
|
|
45
|
+
DOMString id;
|
|
46
|
+
StartInDirectory startIn;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
dictionary OpenFilePickerOptions : FilePickerOptions {
|
|
50
|
+
boolean multiple = false;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
dictionary SaveFilePickerOptions : FilePickerOptions {
|
|
54
|
+
USVString? suggestedName;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
dictionary DirectoryPickerOptions {
|
|
58
|
+
DOMString id;
|
|
59
|
+
StartInDirectory startIn;
|
|
60
|
+
FileSystemPermissionMode mode = "read";
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
[SecureContext]
|
|
64
|
+
partial interface Window {
|
|
65
|
+
Promise<sequence<FileSystemFileHandle>> showOpenFilePicker(optional OpenFilePickerOptions options = {});
|
|
66
|
+
Promise<FileSystemFileHandle> showSaveFilePicker(optional SaveFilePickerOptions options = {});
|
|
67
|
+
Promise<FileSystemDirectoryHandle> showDirectoryPicker(optional DirectoryPickerOptions options = {});
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
partial interface DataTransferItem {
|
|
71
|
+
Promise<FileSystemHandle?> getAsFileSystemHandle();
|
|
72
|
+
};
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Filter Effects Module Level 1 (https://drafts.fxtf.org/filter-effects-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface SVGFilterElement : SVGElement {
|
|
8
|
+
readonly attribute SVGAnimatedEnumeration filterUnits;
|
|
9
|
+
readonly attribute SVGAnimatedEnumeration primitiveUnits;
|
|
10
|
+
readonly attribute SVGAnimatedLength x;
|
|
11
|
+
readonly attribute SVGAnimatedLength y;
|
|
12
|
+
readonly attribute SVGAnimatedLength width;
|
|
13
|
+
readonly attribute SVGAnimatedLength height;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
SVGFilterElement includes SVGURIReference;
|
|
17
|
+
|
|
18
|
+
interface mixin SVGFilterPrimitiveStandardAttributes {
|
|
19
|
+
readonly attribute SVGAnimatedLength x;
|
|
20
|
+
readonly attribute SVGAnimatedLength y;
|
|
21
|
+
readonly attribute SVGAnimatedLength width;
|
|
22
|
+
readonly attribute SVGAnimatedLength height;
|
|
23
|
+
readonly attribute SVGAnimatedString result;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window]
|
|
27
|
+
interface SVGFEBlendElement : SVGElement {
|
|
28
|
+
|
|
29
|
+
// Blend Mode Types
|
|
30
|
+
const unsigned short SVG_FEBLEND_MODE_UNKNOWN = 0;
|
|
31
|
+
const unsigned short SVG_FEBLEND_MODE_NORMAL = 1;
|
|
32
|
+
const unsigned short SVG_FEBLEND_MODE_MULTIPLY = 2;
|
|
33
|
+
const unsigned short SVG_FEBLEND_MODE_SCREEN = 3;
|
|
34
|
+
const unsigned short SVG_FEBLEND_MODE_DARKEN = 4;
|
|
35
|
+
const unsigned short SVG_FEBLEND_MODE_LIGHTEN = 5;
|
|
36
|
+
const unsigned short SVG_FEBLEND_MODE_OVERLAY = 6;
|
|
37
|
+
const unsigned short SVG_FEBLEND_MODE_COLOR_DODGE = 7;
|
|
38
|
+
const unsigned short SVG_FEBLEND_MODE_COLOR_BURN = 8;
|
|
39
|
+
const unsigned short SVG_FEBLEND_MODE_HARD_LIGHT = 9;
|
|
40
|
+
const unsigned short SVG_FEBLEND_MODE_SOFT_LIGHT = 10;
|
|
41
|
+
const unsigned short SVG_FEBLEND_MODE_DIFFERENCE = 11;
|
|
42
|
+
const unsigned short SVG_FEBLEND_MODE_EXCLUSION = 12;
|
|
43
|
+
const unsigned short SVG_FEBLEND_MODE_HUE = 13;
|
|
44
|
+
const unsigned short SVG_FEBLEND_MODE_SATURATION = 14;
|
|
45
|
+
const unsigned short SVG_FEBLEND_MODE_COLOR = 15;
|
|
46
|
+
const unsigned short SVG_FEBLEND_MODE_LUMINOSITY = 16;
|
|
47
|
+
|
|
48
|
+
readonly attribute SVGAnimatedString in1;
|
|
49
|
+
readonly attribute SVGAnimatedString in2;
|
|
50
|
+
readonly attribute SVGAnimatedEnumeration mode;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
SVGFEBlendElement includes SVGFilterPrimitiveStandardAttributes;
|
|
54
|
+
|
|
55
|
+
[Exposed=Window]
|
|
56
|
+
interface SVGFEColorMatrixElement : SVGElement {
|
|
57
|
+
|
|
58
|
+
// Color Matrix Types
|
|
59
|
+
const unsigned short SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
|
|
60
|
+
const unsigned short SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
|
|
61
|
+
const unsigned short SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
|
|
62
|
+
const unsigned short SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
|
|
63
|
+
const unsigned short SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
|
|
64
|
+
|
|
65
|
+
readonly attribute SVGAnimatedString in1;
|
|
66
|
+
readonly attribute SVGAnimatedEnumeration type;
|
|
67
|
+
readonly attribute SVGAnimatedNumberList values;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
SVGFEColorMatrixElement includes SVGFilterPrimitiveStandardAttributes;
|
|
71
|
+
|
|
72
|
+
[Exposed=Window]
|
|
73
|
+
interface SVGFEComponentTransferElement : SVGElement {
|
|
74
|
+
readonly attribute SVGAnimatedString in1;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
SVGFEComponentTransferElement includes SVGFilterPrimitiveStandardAttributes;
|
|
78
|
+
|
|
79
|
+
[Exposed=Window]
|
|
80
|
+
interface SVGComponentTransferFunctionElement : SVGElement {
|
|
81
|
+
|
|
82
|
+
// Component Transfer Types
|
|
83
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
|
|
84
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
|
|
85
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
|
|
86
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
|
|
87
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
|
|
88
|
+
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
|
|
89
|
+
|
|
90
|
+
readonly attribute SVGAnimatedEnumeration type;
|
|
91
|
+
readonly attribute SVGAnimatedNumberList tableValues;
|
|
92
|
+
readonly attribute SVGAnimatedNumber slope;
|
|
93
|
+
readonly attribute SVGAnimatedNumber intercept;
|
|
94
|
+
readonly attribute SVGAnimatedNumber amplitude;
|
|
95
|
+
readonly attribute SVGAnimatedNumber exponent;
|
|
96
|
+
readonly attribute SVGAnimatedNumber offset;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
[Exposed=Window]
|
|
100
|
+
interface SVGFEFuncRElement : SVGComponentTransferFunctionElement {
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
[Exposed=Window]
|
|
104
|
+
interface SVGFEFuncGElement : SVGComponentTransferFunctionElement {
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
[Exposed=Window]
|
|
108
|
+
interface SVGFEFuncBElement : SVGComponentTransferFunctionElement {
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
[Exposed=Window]
|
|
112
|
+
interface SVGFEFuncAElement : SVGComponentTransferFunctionElement {
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
[Exposed=Window]
|
|
116
|
+
interface SVGFECompositeElement : SVGElement {
|
|
117
|
+
|
|
118
|
+
// Composite Operators
|
|
119
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
|
|
120
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_OVER = 1;
|
|
121
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_IN = 2;
|
|
122
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_OUT = 3;
|
|
123
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
|
|
124
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_XOR = 5;
|
|
125
|
+
const unsigned short SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
|
|
126
|
+
|
|
127
|
+
readonly attribute SVGAnimatedString in1;
|
|
128
|
+
readonly attribute SVGAnimatedString in2;
|
|
129
|
+
readonly attribute SVGAnimatedEnumeration operator;
|
|
130
|
+
readonly attribute SVGAnimatedNumber k1;
|
|
131
|
+
readonly attribute SVGAnimatedNumber k2;
|
|
132
|
+
readonly attribute SVGAnimatedNumber k3;
|
|
133
|
+
readonly attribute SVGAnimatedNumber k4;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
SVGFECompositeElement includes SVGFilterPrimitiveStandardAttributes;
|
|
137
|
+
|
|
138
|
+
[Exposed=Window]
|
|
139
|
+
interface SVGFEConvolveMatrixElement : SVGElement {
|
|
140
|
+
|
|
141
|
+
// Edge Mode Values
|
|
142
|
+
const unsigned short SVG_EDGEMODE_UNKNOWN = 0;
|
|
143
|
+
const unsigned short SVG_EDGEMODE_DUPLICATE = 1;
|
|
144
|
+
const unsigned short SVG_EDGEMODE_WRAP = 2;
|
|
145
|
+
const unsigned short SVG_EDGEMODE_NONE = 3;
|
|
146
|
+
|
|
147
|
+
readonly attribute SVGAnimatedString in1;
|
|
148
|
+
readonly attribute SVGAnimatedInteger orderX;
|
|
149
|
+
readonly attribute SVGAnimatedInteger orderY;
|
|
150
|
+
readonly attribute SVGAnimatedNumberList kernelMatrix;
|
|
151
|
+
readonly attribute SVGAnimatedNumber divisor;
|
|
152
|
+
readonly attribute SVGAnimatedNumber bias;
|
|
153
|
+
readonly attribute SVGAnimatedInteger targetX;
|
|
154
|
+
readonly attribute SVGAnimatedInteger targetY;
|
|
155
|
+
readonly attribute SVGAnimatedEnumeration edgeMode;
|
|
156
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
|
157
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
|
158
|
+
readonly attribute SVGAnimatedBoolean preserveAlpha;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
SVGFEConvolveMatrixElement includes SVGFilterPrimitiveStandardAttributes;
|
|
162
|
+
|
|
163
|
+
[Exposed=Window]
|
|
164
|
+
interface SVGFEDiffuseLightingElement : SVGElement {
|
|
165
|
+
readonly attribute SVGAnimatedString in1;
|
|
166
|
+
readonly attribute SVGAnimatedNumber surfaceScale;
|
|
167
|
+
readonly attribute SVGAnimatedNumber diffuseConstant;
|
|
168
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
|
169
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
SVGFEDiffuseLightingElement includes SVGFilterPrimitiveStandardAttributes;
|
|
173
|
+
|
|
174
|
+
[Exposed=Window]
|
|
175
|
+
interface SVGFEDistantLightElement : SVGElement {
|
|
176
|
+
readonly attribute SVGAnimatedNumber azimuth;
|
|
177
|
+
readonly attribute SVGAnimatedNumber elevation;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
[Exposed=Window]
|
|
181
|
+
interface SVGFEPointLightElement : SVGElement {
|
|
182
|
+
readonly attribute SVGAnimatedNumber x;
|
|
183
|
+
readonly attribute SVGAnimatedNumber y;
|
|
184
|
+
readonly attribute SVGAnimatedNumber z;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
[Exposed=Window]
|
|
188
|
+
interface SVGFESpotLightElement : SVGElement {
|
|
189
|
+
readonly attribute SVGAnimatedNumber x;
|
|
190
|
+
readonly attribute SVGAnimatedNumber y;
|
|
191
|
+
readonly attribute SVGAnimatedNumber z;
|
|
192
|
+
readonly attribute SVGAnimatedNumber pointsAtX;
|
|
193
|
+
readonly attribute SVGAnimatedNumber pointsAtY;
|
|
194
|
+
readonly attribute SVGAnimatedNumber pointsAtZ;
|
|
195
|
+
readonly attribute SVGAnimatedNumber specularExponent;
|
|
196
|
+
readonly attribute SVGAnimatedNumber limitingConeAngle;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
[Exposed=Window]
|
|
200
|
+
interface SVGFEDisplacementMapElement : SVGElement {
|
|
201
|
+
|
|
202
|
+
// Channel Selectors
|
|
203
|
+
const unsigned short SVG_CHANNEL_UNKNOWN = 0;
|
|
204
|
+
const unsigned short SVG_CHANNEL_R = 1;
|
|
205
|
+
const unsigned short SVG_CHANNEL_G = 2;
|
|
206
|
+
const unsigned short SVG_CHANNEL_B = 3;
|
|
207
|
+
const unsigned short SVG_CHANNEL_A = 4;
|
|
208
|
+
|
|
209
|
+
readonly attribute SVGAnimatedString in1;
|
|
210
|
+
readonly attribute SVGAnimatedString in2;
|
|
211
|
+
readonly attribute SVGAnimatedNumber scale;
|
|
212
|
+
readonly attribute SVGAnimatedEnumeration xChannelSelector;
|
|
213
|
+
readonly attribute SVGAnimatedEnumeration yChannelSelector;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
SVGFEDisplacementMapElement includes SVGFilterPrimitiveStandardAttributes;
|
|
217
|
+
|
|
218
|
+
[Exposed=Window]
|
|
219
|
+
interface SVGFEDropShadowElement : SVGElement {
|
|
220
|
+
readonly attribute SVGAnimatedString in1;
|
|
221
|
+
readonly attribute SVGAnimatedNumber dx;
|
|
222
|
+
readonly attribute SVGAnimatedNumber dy;
|
|
223
|
+
readonly attribute SVGAnimatedNumber stdDeviationX;
|
|
224
|
+
readonly attribute SVGAnimatedNumber stdDeviationY;
|
|
225
|
+
|
|
226
|
+
undefined setStdDeviation(float stdDeviationX, float stdDeviationY);
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
SVGFEDropShadowElement includes SVGFilterPrimitiveStandardAttributes;
|
|
230
|
+
|
|
231
|
+
[Exposed=Window]
|
|
232
|
+
interface SVGFEFloodElement : SVGElement {
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
SVGFEFloodElement includes SVGFilterPrimitiveStandardAttributes;
|
|
236
|
+
|
|
237
|
+
[Exposed=Window]
|
|
238
|
+
interface SVGFEGaussianBlurElement : SVGElement {
|
|
239
|
+
|
|
240
|
+
// Edge Mode Values
|
|
241
|
+
const unsigned short SVG_EDGEMODE_UNKNOWN = 0;
|
|
242
|
+
const unsigned short SVG_EDGEMODE_DUPLICATE = 1;
|
|
243
|
+
const unsigned short SVG_EDGEMODE_WRAP = 2;
|
|
244
|
+
const unsigned short SVG_EDGEMODE_NONE = 3;
|
|
245
|
+
|
|
246
|
+
readonly attribute SVGAnimatedString in1;
|
|
247
|
+
readonly attribute SVGAnimatedNumber stdDeviationX;
|
|
248
|
+
readonly attribute SVGAnimatedNumber stdDeviationY;
|
|
249
|
+
readonly attribute SVGAnimatedEnumeration edgeMode;
|
|
250
|
+
|
|
251
|
+
undefined setStdDeviation(float stdDeviationX, float stdDeviationY);
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
SVGFEGaussianBlurElement includes SVGFilterPrimitiveStandardAttributes;
|
|
255
|
+
|
|
256
|
+
[Exposed=Window]
|
|
257
|
+
interface SVGFEImageElement : SVGElement {
|
|
258
|
+
readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
|
259
|
+
readonly attribute SVGAnimatedString crossOrigin;
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
SVGFEImageElement includes SVGFilterPrimitiveStandardAttributes;
|
|
263
|
+
SVGFEImageElement includes SVGURIReference;
|
|
264
|
+
|
|
265
|
+
[Exposed=Window]
|
|
266
|
+
interface SVGFEMergeElement : SVGElement {
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
SVGFEMergeElement includes SVGFilterPrimitiveStandardAttributes;
|
|
270
|
+
|
|
271
|
+
[Exposed=Window]
|
|
272
|
+
interface SVGFEMergeNodeElement : SVGElement {
|
|
273
|
+
readonly attribute SVGAnimatedString in1;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
[Exposed=Window]
|
|
277
|
+
interface SVGFEMorphologyElement : SVGElement {
|
|
278
|
+
|
|
279
|
+
// Morphology Operators
|
|
280
|
+
const unsigned short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
|
|
281
|
+
const unsigned short SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
|
|
282
|
+
const unsigned short SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
|
|
283
|
+
|
|
284
|
+
readonly attribute SVGAnimatedString in1;
|
|
285
|
+
readonly attribute SVGAnimatedEnumeration operator;
|
|
286
|
+
readonly attribute SVGAnimatedNumber radiusX;
|
|
287
|
+
readonly attribute SVGAnimatedNumber radiusY;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
SVGFEMorphologyElement includes SVGFilterPrimitiveStandardAttributes;
|
|
291
|
+
|
|
292
|
+
[Exposed=Window]
|
|
293
|
+
interface SVGFEOffsetElement : SVGElement {
|
|
294
|
+
readonly attribute SVGAnimatedString in1;
|
|
295
|
+
readonly attribute SVGAnimatedNumber dx;
|
|
296
|
+
readonly attribute SVGAnimatedNumber dy;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
SVGFEOffsetElement includes SVGFilterPrimitiveStandardAttributes;
|
|
300
|
+
|
|
301
|
+
[Exposed=Window]
|
|
302
|
+
interface SVGFESpecularLightingElement : SVGElement {
|
|
303
|
+
readonly attribute SVGAnimatedString in1;
|
|
304
|
+
readonly attribute SVGAnimatedNumber surfaceScale;
|
|
305
|
+
readonly attribute SVGAnimatedNumber specularConstant;
|
|
306
|
+
readonly attribute SVGAnimatedNumber specularExponent;
|
|
307
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthX;
|
|
308
|
+
readonly attribute SVGAnimatedNumber kernelUnitLengthY;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
SVGFESpecularLightingElement includes SVGFilterPrimitiveStandardAttributes;
|
|
312
|
+
|
|
313
|
+
[Exposed=Window]
|
|
314
|
+
interface SVGFETileElement : SVGElement {
|
|
315
|
+
readonly attribute SVGAnimatedString in1;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
SVGFETileElement includes SVGFilterPrimitiveStandardAttributes;
|
|
319
|
+
|
|
320
|
+
[Exposed=Window]
|
|
321
|
+
interface SVGFETurbulenceElement : SVGElement {
|
|
322
|
+
|
|
323
|
+
// Turbulence Types
|
|
324
|
+
const unsigned short SVG_TURBULENCE_TYPE_UNKNOWN = 0;
|
|
325
|
+
const unsigned short SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
|
|
326
|
+
const unsigned short SVG_TURBULENCE_TYPE_TURBULENCE = 2;
|
|
327
|
+
|
|
328
|
+
// Stitch Options
|
|
329
|
+
const unsigned short SVG_STITCHTYPE_UNKNOWN = 0;
|
|
330
|
+
const unsigned short SVG_STITCHTYPE_STITCH = 1;
|
|
331
|
+
const unsigned short SVG_STITCHTYPE_NOSTITCH = 2;
|
|
332
|
+
|
|
333
|
+
readonly attribute SVGAnimatedNumber baseFrequencyX;
|
|
334
|
+
readonly attribute SVGAnimatedNumber baseFrequencyY;
|
|
335
|
+
readonly attribute SVGAnimatedInteger numOctaves;
|
|
336
|
+
readonly attribute SVGAnimatedNumber seed;
|
|
337
|
+
readonly attribute SVGAnimatedEnumeration stitchTiles;
|
|
338
|
+
readonly attribute SVGAnimatedEnumeration type;
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
SVGFETurbulenceElement includes SVGFilterPrimitiveStandardAttributes;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Font Metrics API Level 1 (https://drafts.css-houdini.org/font-metrics-api-1/)
|
|
5
|
+
|
|
6
|
+
partial interface Document {
|
|
7
|
+
FontMetrics measureElement(Element element);
|
|
8
|
+
FontMetrics measureText(DOMString text, StylePropertyMapReadOnly styleMap);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window]
|
|
12
|
+
interface FontMetrics {
|
|
13
|
+
readonly attribute double width;
|
|
14
|
+
readonly attribute FrozenArray<double> advances;
|
|
15
|
+
|
|
16
|
+
readonly attribute double boundingBoxLeft;
|
|
17
|
+
readonly attribute double boundingBoxRight;
|
|
18
|
+
|
|
19
|
+
readonly attribute double height;
|
|
20
|
+
readonly attribute double emHeightAscent;
|
|
21
|
+
readonly attribute double emHeightDescent;
|
|
22
|
+
readonly attribute double boundingBoxAscent;
|
|
23
|
+
readonly attribute double boundingBoxDescent;
|
|
24
|
+
readonly attribute double fontBoundingBoxAscent;
|
|
25
|
+
readonly attribute double fontBoundingBoxDescent;
|
|
26
|
+
|
|
27
|
+
readonly attribute Baseline dominantBaseline;
|
|
28
|
+
readonly attribute FrozenArray<Baseline> baselines;
|
|
29
|
+
readonly attribute FrozenArray<Font> fonts;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
[Exposed=Window]
|
|
33
|
+
interface Baseline {
|
|
34
|
+
readonly attribute DOMString name;
|
|
35
|
+
readonly attribute double value;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
[Exposed=Window]
|
|
39
|
+
interface Font {
|
|
40
|
+
readonly attribute DOMString name;
|
|
41
|
+
readonly attribute unsigned long glyphsRendered;
|
|
42
|
+
};
|
package/fs.idl
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: File System Standard (https://fs.spec.whatwg.org/)
|
|
5
|
+
|
|
6
|
+
enum FileSystemHandleKind {
|
|
7
|
+
"file",
|
|
8
|
+
"directory",
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
12
|
+
interface FileSystemHandle {
|
|
13
|
+
readonly attribute FileSystemHandleKind kind;
|
|
14
|
+
readonly attribute USVString name;
|
|
15
|
+
|
|
16
|
+
Promise<boolean> isSameEntry(FileSystemHandle other);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
dictionary FileSystemCreateWritableOptions {
|
|
20
|
+
boolean keepExistingData = false;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
24
|
+
interface FileSystemFileHandle : FileSystemHandle {
|
|
25
|
+
Promise<File> getFile();
|
|
26
|
+
Promise<FileSystemWritableFileStream> createWritable(optional FileSystemCreateWritableOptions options = {});
|
|
27
|
+
[Exposed=DedicatedWorker]
|
|
28
|
+
Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
dictionary FileSystemGetFileOptions {
|
|
32
|
+
boolean create = false;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
dictionary FileSystemGetDirectoryOptions {
|
|
36
|
+
boolean create = false;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
dictionary FileSystemRemoveOptions {
|
|
40
|
+
boolean recursive = false;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
44
|
+
interface FileSystemDirectoryHandle : FileSystemHandle {
|
|
45
|
+
async iterable<USVString, FileSystemHandle>;
|
|
46
|
+
|
|
47
|
+
Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
|
|
48
|
+
Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
|
|
49
|
+
|
|
50
|
+
Promise<undefined> removeEntry(USVString name, optional FileSystemRemoveOptions options = {});
|
|
51
|
+
|
|
52
|
+
Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
enum WriteCommandType {
|
|
56
|
+
"write",
|
|
57
|
+
"seek",
|
|
58
|
+
"truncate",
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
dictionary WriteParams {
|
|
62
|
+
required WriteCommandType type;
|
|
63
|
+
unsigned long long? size;
|
|
64
|
+
unsigned long long? position;
|
|
65
|
+
(BufferSource or Blob or USVString)? data;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
typedef (BufferSource or Blob or USVString or WriteParams) FileSystemWriteChunkType;
|
|
69
|
+
|
|
70
|
+
[Exposed=(Window,Worker), SecureContext]
|
|
71
|
+
interface FileSystemWritableFileStream : WritableStream {
|
|
72
|
+
Promise<undefined> write(FileSystemWriteChunkType data);
|
|
73
|
+
Promise<undefined> seek(unsigned long long position);
|
|
74
|
+
Promise<undefined> truncate(unsigned long long size);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
dictionary FileSystemReadWriteOptions {
|
|
78
|
+
[EnforceRange] unsigned long long at;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
[Exposed=DedicatedWorker, SecureContext]
|
|
82
|
+
interface FileSystemSyncAccessHandle {
|
|
83
|
+
unsigned long long read([AllowShared] BufferSource buffer,
|
|
84
|
+
optional FileSystemReadWriteOptions options = {});
|
|
85
|
+
unsigned long long write([AllowShared] BufferSource buffer,
|
|
86
|
+
optional FileSystemReadWriteOptions options = {});
|
|
87
|
+
|
|
88
|
+
undefined truncate([EnforceRange] unsigned long long newSize);
|
|
89
|
+
unsigned long long getSize();
|
|
90
|
+
undefined flush();
|
|
91
|
+
undefined close();
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
[SecureContext]
|
|
95
|
+
partial interface StorageManager {
|
|
96
|
+
Promise<FileSystemDirectoryHandle> getDirectory();
|
|
97
|
+
};
|
package/fullscreen.idl
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/)
|
|
5
|
+
|
|
6
|
+
enum FullscreenNavigationUI {
|
|
7
|
+
"auto",
|
|
8
|
+
"show",
|
|
9
|
+
"hide"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary FullscreenOptions {
|
|
13
|
+
FullscreenNavigationUI navigationUI = "auto";
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface Element {
|
|
17
|
+
Promise<undefined> requestFullscreen(optional FullscreenOptions options = {});
|
|
18
|
+
|
|
19
|
+
attribute EventHandler onfullscreenchange;
|
|
20
|
+
attribute EventHandler onfullscreenerror;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
partial interface Document {
|
|
24
|
+
[LegacyLenientSetter] readonly attribute boolean fullscreenEnabled;
|
|
25
|
+
[LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
|
|
26
|
+
|
|
27
|
+
Promise<undefined> exitFullscreen();
|
|
28
|
+
|
|
29
|
+
attribute EventHandler onfullscreenchange;
|
|
30
|
+
attribute EventHandler onfullscreenerror;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
partial interface mixin DocumentOrShadowRoot {
|
|
34
|
+
[LegacyLenientSetter] readonly attribute Element? fullscreenElement;
|
|
35
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Gamepad Extensions (https://w3c.github.io/gamepad/extensions.html)
|
|
5
|
+
|
|
6
|
+
enum GamepadHand {
|
|
7
|
+
"", /* unknown, both hands, or not applicable */
|
|
8
|
+
"left",
|
|
9
|
+
"right"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
[Exposed=Window]
|
|
13
|
+
interface GamepadHapticActuator {
|
|
14
|
+
readonly attribute GamepadHapticActuatorType type;
|
|
15
|
+
boolean canPlayEffectType(GamepadHapticEffectType type);
|
|
16
|
+
Promise<GamepadHapticsResult> playEffect(
|
|
17
|
+
GamepadHapticEffectType type,
|
|
18
|
+
optional GamepadEffectParameters params = {});
|
|
19
|
+
Promise<boolean> pulse(double value, double duration);
|
|
20
|
+
Promise<GamepadHapticsResult> reset();
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
enum GamepadHapticsResult {
|
|
24
|
+
"complete",
|
|
25
|
+
"preempted"
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
enum GamepadHapticActuatorType {
|
|
29
|
+
"vibration",
|
|
30
|
+
"dual-rumble"
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
enum GamepadHapticEffectType {
|
|
34
|
+
"dual-rumble"
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary GamepadEffectParameters {
|
|
38
|
+
double duration = 0.0;
|
|
39
|
+
double startDelay = 0.0;
|
|
40
|
+
double strongMagnitude = 0.0;
|
|
41
|
+
double weakMagnitude = 0.0;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
[Exposed=Window]
|
|
45
|
+
interface GamepadPose {
|
|
46
|
+
readonly attribute boolean hasOrientation;
|
|
47
|
+
readonly attribute boolean hasPosition;
|
|
48
|
+
|
|
49
|
+
readonly attribute Float32Array? position;
|
|
50
|
+
readonly attribute Float32Array? linearVelocity;
|
|
51
|
+
readonly attribute Float32Array? linearAcceleration;
|
|
52
|
+
readonly attribute Float32Array? orientation;
|
|
53
|
+
readonly attribute Float32Array? angularVelocity;
|
|
54
|
+
readonly attribute Float32Array? angularAcceleration;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
[Exposed=Window, SecureContext]
|
|
58
|
+
interface GamepadTouch {
|
|
59
|
+
readonly attribute unsigned long touchId;
|
|
60
|
+
readonly attribute octet surfaceId;
|
|
61
|
+
readonly attribute Float32Array position;
|
|
62
|
+
readonly attribute Uint32Array? surfaceDimensions;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
partial interface Gamepad {
|
|
66
|
+
readonly attribute GamepadHand hand;
|
|
67
|
+
readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
|
|
68
|
+
readonly attribute GamepadPose? pose;
|
|
69
|
+
readonly attribute FrozenArray<GamepadTouch>? touchEvents;
|
|
70
|
+
[SameObject] readonly attribute GamepadHapticActuator? vibrationActuator;
|
|
71
|
+
};
|