@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
package/SVG.idl
ADDED
|
@@ -0,0 +1,693 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Scalable Vector Graphics (SVG) 2 (https://svgwg.org/svg2-draft/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface SVGElement : Element {
|
|
8
|
+
|
|
9
|
+
[SameObject] readonly attribute SVGAnimatedString className;
|
|
10
|
+
|
|
11
|
+
readonly attribute SVGSVGElement? ownerSVGElement;
|
|
12
|
+
readonly attribute SVGElement? viewportElement;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
SVGElement includes GlobalEventHandlers;
|
|
16
|
+
SVGElement includes SVGElementInstance;
|
|
17
|
+
SVGElement includes HTMLOrSVGElement;
|
|
18
|
+
|
|
19
|
+
dictionary SVGBoundingBoxOptions {
|
|
20
|
+
boolean fill = true;
|
|
21
|
+
boolean stroke = false;
|
|
22
|
+
boolean markers = false;
|
|
23
|
+
boolean clipped = false;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window]
|
|
27
|
+
interface SVGGraphicsElement : SVGElement {
|
|
28
|
+
[SameObject] readonly attribute SVGAnimatedTransformList transform;
|
|
29
|
+
|
|
30
|
+
DOMRect getBBox(optional SVGBoundingBoxOptions options = {});
|
|
31
|
+
DOMMatrix? getCTM();
|
|
32
|
+
DOMMatrix? getScreenCTM();
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
SVGGraphicsElement includes SVGTests;
|
|
36
|
+
|
|
37
|
+
[Exposed=Window]
|
|
38
|
+
interface SVGGeometryElement : SVGGraphicsElement {
|
|
39
|
+
[SameObject] readonly attribute SVGAnimatedNumber pathLength;
|
|
40
|
+
|
|
41
|
+
boolean isPointInFill(optional DOMPointInit point = {});
|
|
42
|
+
boolean isPointInStroke(optional DOMPointInit point = {});
|
|
43
|
+
float getTotalLength();
|
|
44
|
+
DOMPoint getPointAtLength(float distance);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
[Exposed=Window]
|
|
48
|
+
interface SVGNumber {
|
|
49
|
+
attribute float value;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
[Exposed=Window]
|
|
53
|
+
interface SVGLength {
|
|
54
|
+
|
|
55
|
+
// Length Unit Types
|
|
56
|
+
const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
|
|
57
|
+
const unsigned short SVG_LENGTHTYPE_NUMBER = 1;
|
|
58
|
+
const unsigned short SVG_LENGTHTYPE_PERCENTAGE = 2;
|
|
59
|
+
const unsigned short SVG_LENGTHTYPE_EMS = 3;
|
|
60
|
+
const unsigned short SVG_LENGTHTYPE_EXS = 4;
|
|
61
|
+
const unsigned short SVG_LENGTHTYPE_PX = 5;
|
|
62
|
+
const unsigned short SVG_LENGTHTYPE_CM = 6;
|
|
63
|
+
const unsigned short SVG_LENGTHTYPE_MM = 7;
|
|
64
|
+
const unsigned short SVG_LENGTHTYPE_IN = 8;
|
|
65
|
+
const unsigned short SVG_LENGTHTYPE_PT = 9;
|
|
66
|
+
const unsigned short SVG_LENGTHTYPE_PC = 10;
|
|
67
|
+
|
|
68
|
+
readonly attribute unsigned short unitType;
|
|
69
|
+
attribute float value;
|
|
70
|
+
attribute float valueInSpecifiedUnits;
|
|
71
|
+
attribute DOMString valueAsString;
|
|
72
|
+
|
|
73
|
+
undefined newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
|
|
74
|
+
undefined convertToSpecifiedUnits(unsigned short unitType);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
[Exposed=Window]
|
|
78
|
+
interface SVGAngle {
|
|
79
|
+
|
|
80
|
+
// Angle Unit Types
|
|
81
|
+
const unsigned short SVG_ANGLETYPE_UNKNOWN = 0;
|
|
82
|
+
const unsigned short SVG_ANGLETYPE_UNSPECIFIED = 1;
|
|
83
|
+
const unsigned short SVG_ANGLETYPE_DEG = 2;
|
|
84
|
+
const unsigned short SVG_ANGLETYPE_RAD = 3;
|
|
85
|
+
const unsigned short SVG_ANGLETYPE_GRAD = 4;
|
|
86
|
+
|
|
87
|
+
readonly attribute unsigned short unitType;
|
|
88
|
+
attribute float value;
|
|
89
|
+
attribute float valueInSpecifiedUnits;
|
|
90
|
+
attribute DOMString valueAsString;
|
|
91
|
+
|
|
92
|
+
undefined newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
|
|
93
|
+
undefined convertToSpecifiedUnits(unsigned short unitType);
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
[Exposed=Window]
|
|
97
|
+
interface SVGNumberList {
|
|
98
|
+
|
|
99
|
+
readonly attribute unsigned long length;
|
|
100
|
+
readonly attribute unsigned long numberOfItems;
|
|
101
|
+
|
|
102
|
+
undefined clear();
|
|
103
|
+
SVGNumber initialize(SVGNumber newItem);
|
|
104
|
+
getter SVGNumber getItem(unsigned long index);
|
|
105
|
+
SVGNumber insertItemBefore(SVGNumber newItem, unsigned long index);
|
|
106
|
+
SVGNumber replaceItem(SVGNumber newItem, unsigned long index);
|
|
107
|
+
SVGNumber removeItem(unsigned long index);
|
|
108
|
+
SVGNumber appendItem(SVGNumber newItem);
|
|
109
|
+
setter undefined (unsigned long index, SVGNumber newItem);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
[Exposed=Window]
|
|
113
|
+
interface SVGLengthList {
|
|
114
|
+
|
|
115
|
+
readonly attribute unsigned long length;
|
|
116
|
+
readonly attribute unsigned long numberOfItems;
|
|
117
|
+
|
|
118
|
+
undefined clear();
|
|
119
|
+
SVGLength initialize(SVGLength newItem);
|
|
120
|
+
getter SVGLength getItem(unsigned long index);
|
|
121
|
+
SVGLength insertItemBefore(SVGLength newItem, unsigned long index);
|
|
122
|
+
SVGLength replaceItem(SVGLength newItem, unsigned long index);
|
|
123
|
+
SVGLength removeItem(unsigned long index);
|
|
124
|
+
SVGLength appendItem(SVGLength newItem);
|
|
125
|
+
setter undefined (unsigned long index, SVGLength newItem);
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
[Exposed=Window]
|
|
129
|
+
interface SVGStringList {
|
|
130
|
+
|
|
131
|
+
readonly attribute unsigned long length;
|
|
132
|
+
readonly attribute unsigned long numberOfItems;
|
|
133
|
+
|
|
134
|
+
undefined clear();
|
|
135
|
+
DOMString initialize(DOMString newItem);
|
|
136
|
+
getter DOMString getItem(unsigned long index);
|
|
137
|
+
DOMString insertItemBefore(DOMString newItem, unsigned long index);
|
|
138
|
+
DOMString replaceItem(DOMString newItem, unsigned long index);
|
|
139
|
+
DOMString removeItem(unsigned long index);
|
|
140
|
+
DOMString appendItem(DOMString newItem);
|
|
141
|
+
setter undefined (unsigned long index, DOMString newItem);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
[Exposed=Window]
|
|
145
|
+
interface SVGAnimatedBoolean {
|
|
146
|
+
attribute boolean baseVal;
|
|
147
|
+
readonly attribute boolean animVal;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
[Exposed=Window]
|
|
151
|
+
interface SVGAnimatedEnumeration {
|
|
152
|
+
attribute unsigned short baseVal;
|
|
153
|
+
readonly attribute unsigned short animVal;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
[Exposed=Window]
|
|
157
|
+
interface SVGAnimatedInteger {
|
|
158
|
+
attribute long baseVal;
|
|
159
|
+
readonly attribute long animVal;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
[Exposed=Window]
|
|
163
|
+
interface SVGAnimatedNumber {
|
|
164
|
+
attribute float baseVal;
|
|
165
|
+
readonly attribute float animVal;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
[Exposed=Window]
|
|
169
|
+
interface SVGAnimatedLength {
|
|
170
|
+
[SameObject] readonly attribute SVGLength baseVal;
|
|
171
|
+
[SameObject] readonly attribute SVGLength animVal;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
[Exposed=Window]
|
|
175
|
+
interface SVGAnimatedAngle {
|
|
176
|
+
[SameObject] readonly attribute SVGAngle baseVal;
|
|
177
|
+
[SameObject] readonly attribute SVGAngle animVal;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
[Exposed=Window]
|
|
181
|
+
interface SVGAnimatedString {
|
|
182
|
+
attribute DOMString baseVal;
|
|
183
|
+
readonly attribute DOMString animVal;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
[Exposed=Window]
|
|
187
|
+
interface SVGAnimatedRect {
|
|
188
|
+
[SameObject] readonly attribute DOMRect baseVal;
|
|
189
|
+
[SameObject] readonly attribute DOMRectReadOnly animVal;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
[Exposed=Window]
|
|
193
|
+
interface SVGAnimatedNumberList {
|
|
194
|
+
[SameObject] readonly attribute SVGNumberList baseVal;
|
|
195
|
+
[SameObject] readonly attribute SVGNumberList animVal;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
[Exposed=Window]
|
|
199
|
+
interface SVGAnimatedLengthList {
|
|
200
|
+
[SameObject] readonly attribute SVGLengthList baseVal;
|
|
201
|
+
[SameObject] readonly attribute SVGLengthList animVal;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
[Exposed=Window]
|
|
205
|
+
interface SVGUnitTypes {
|
|
206
|
+
// Unit Types
|
|
207
|
+
const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0;
|
|
208
|
+
const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
|
|
209
|
+
const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
interface mixin SVGTests {
|
|
213
|
+
[SameObject] readonly attribute SVGStringList requiredExtensions;
|
|
214
|
+
[SameObject] readonly attribute SVGStringList systemLanguage;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
interface mixin SVGFitToViewBox {
|
|
218
|
+
[SameObject] readonly attribute SVGAnimatedRect viewBox;
|
|
219
|
+
[SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
interface mixin SVGURIReference {
|
|
223
|
+
[SameObject] readonly attribute SVGAnimatedString href;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
partial interface Document {
|
|
227
|
+
readonly attribute SVGSVGElement? rootElement;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
[Exposed=Window]
|
|
231
|
+
interface SVGSVGElement : SVGGraphicsElement {
|
|
232
|
+
|
|
233
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
234
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
235
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
236
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
237
|
+
|
|
238
|
+
attribute float currentScale;
|
|
239
|
+
[SameObject] readonly attribute DOMPointReadOnly currentTranslate;
|
|
240
|
+
|
|
241
|
+
NodeList getIntersectionList(DOMRectReadOnly rect, SVGElement? referenceElement);
|
|
242
|
+
NodeList getEnclosureList(DOMRectReadOnly rect, SVGElement? referenceElement);
|
|
243
|
+
boolean checkIntersection(SVGElement element, DOMRectReadOnly rect);
|
|
244
|
+
boolean checkEnclosure(SVGElement element, DOMRectReadOnly rect);
|
|
245
|
+
|
|
246
|
+
undefined deselectAll();
|
|
247
|
+
|
|
248
|
+
SVGNumber createSVGNumber();
|
|
249
|
+
SVGLength createSVGLength();
|
|
250
|
+
SVGAngle createSVGAngle();
|
|
251
|
+
DOMPoint createSVGPoint();
|
|
252
|
+
DOMMatrix createSVGMatrix();
|
|
253
|
+
DOMRect createSVGRect();
|
|
254
|
+
SVGTransform createSVGTransform();
|
|
255
|
+
SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
|
256
|
+
|
|
257
|
+
Element getElementById(DOMString elementId);
|
|
258
|
+
|
|
259
|
+
// Deprecated methods that have no effect when called,
|
|
260
|
+
// but which are kept for compatibility reasons.
|
|
261
|
+
unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
|
|
262
|
+
undefined unsuspendRedraw(unsigned long suspendHandleID);
|
|
263
|
+
undefined unsuspendRedrawAll();
|
|
264
|
+
undefined forceRedraw();
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
SVGSVGElement includes SVGFitToViewBox;
|
|
268
|
+
SVGSVGElement includes WindowEventHandlers;
|
|
269
|
+
|
|
270
|
+
[Exposed=Window]
|
|
271
|
+
interface SVGGElement : SVGGraphicsElement {
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
[Exposed=Window]
|
|
275
|
+
interface SVGDefsElement : SVGGraphicsElement {
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
[Exposed=Window]
|
|
279
|
+
interface SVGDescElement : SVGElement {
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
[Exposed=Window]
|
|
283
|
+
interface SVGMetadataElement : SVGElement {
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
[Exposed=Window]
|
|
287
|
+
interface SVGTitleElement : SVGElement {
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
[Exposed=Window]
|
|
291
|
+
interface SVGSymbolElement : SVGGraphicsElement {
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
SVGSymbolElement includes SVGFitToViewBox;
|
|
295
|
+
|
|
296
|
+
[Exposed=Window]
|
|
297
|
+
interface SVGUseElement : SVGGraphicsElement {
|
|
298
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
299
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
300
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
301
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
302
|
+
[SameObject] readonly attribute SVGElement? instanceRoot;
|
|
303
|
+
[SameObject] readonly attribute SVGElement? animatedInstanceRoot;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
SVGUseElement includes SVGURIReference;
|
|
307
|
+
|
|
308
|
+
[Exposed=Window]
|
|
309
|
+
interface SVGUseElementShadowRoot : ShadowRoot {
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
interface mixin SVGElementInstance {
|
|
313
|
+
[SameObject] readonly attribute SVGElement? correspondingElement;
|
|
314
|
+
[SameObject] readonly attribute SVGUseElement? correspondingUseElement;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
[Exposed=Window]
|
|
318
|
+
interface ShadowAnimation : Animation {
|
|
319
|
+
constructor(Animation source, (Element or CSSPseudoElement) newTarget);
|
|
320
|
+
[SameObject] readonly attribute Animation sourceAnimation;
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
[Exposed=Window]
|
|
324
|
+
interface SVGSwitchElement : SVGGraphicsElement {
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
interface mixin GetSVGDocument {
|
|
328
|
+
Document getSVGDocument();
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
[Exposed=Window]
|
|
332
|
+
interface SVGStyleElement : SVGElement {
|
|
333
|
+
attribute DOMString type;
|
|
334
|
+
attribute DOMString media;
|
|
335
|
+
attribute DOMString title;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
SVGStyleElement includes LinkStyle;
|
|
339
|
+
|
|
340
|
+
[Exposed=Window]
|
|
341
|
+
interface SVGTransform {
|
|
342
|
+
|
|
343
|
+
// Transform Types
|
|
344
|
+
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
|
|
345
|
+
const unsigned short SVG_TRANSFORM_MATRIX = 1;
|
|
346
|
+
const unsigned short SVG_TRANSFORM_TRANSLATE = 2;
|
|
347
|
+
const unsigned short SVG_TRANSFORM_SCALE = 3;
|
|
348
|
+
const unsigned short SVG_TRANSFORM_ROTATE = 4;
|
|
349
|
+
const unsigned short SVG_TRANSFORM_SKEWX = 5;
|
|
350
|
+
const unsigned short SVG_TRANSFORM_SKEWY = 6;
|
|
351
|
+
|
|
352
|
+
readonly attribute unsigned short type;
|
|
353
|
+
[SameObject] readonly attribute DOMMatrix matrix;
|
|
354
|
+
readonly attribute float angle;
|
|
355
|
+
|
|
356
|
+
undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
|
357
|
+
undefined setTranslate(float tx, float ty);
|
|
358
|
+
undefined setScale(float sx, float sy);
|
|
359
|
+
undefined setRotate(float angle, float cx, float cy);
|
|
360
|
+
undefined setSkewX(float angle);
|
|
361
|
+
undefined setSkewY(float angle);
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
[Exposed=Window]
|
|
365
|
+
interface SVGTransformList {
|
|
366
|
+
|
|
367
|
+
readonly attribute unsigned long length;
|
|
368
|
+
readonly attribute unsigned long numberOfItems;
|
|
369
|
+
|
|
370
|
+
undefined clear();
|
|
371
|
+
SVGTransform initialize(SVGTransform newItem);
|
|
372
|
+
getter SVGTransform getItem(unsigned long index);
|
|
373
|
+
SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index);
|
|
374
|
+
SVGTransform replaceItem(SVGTransform newItem, unsigned long index);
|
|
375
|
+
SVGTransform removeItem(unsigned long index);
|
|
376
|
+
SVGTransform appendItem(SVGTransform newItem);
|
|
377
|
+
setter undefined (unsigned long index, SVGTransform newItem);
|
|
378
|
+
|
|
379
|
+
// Additional methods not common to other list interfaces.
|
|
380
|
+
SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
|
381
|
+
SVGTransform? consolidate();
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
[Exposed=Window]
|
|
385
|
+
interface SVGAnimatedTransformList {
|
|
386
|
+
[SameObject] readonly attribute SVGTransformList baseVal;
|
|
387
|
+
[SameObject] readonly attribute SVGTransformList animVal;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
[Exposed=Window]
|
|
391
|
+
interface SVGPreserveAspectRatio {
|
|
392
|
+
|
|
393
|
+
// Alignment Types
|
|
394
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
|
|
395
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_NONE = 1;
|
|
396
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
|
|
397
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
|
|
398
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
|
|
399
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
|
|
400
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
|
|
401
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
|
|
402
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
|
|
403
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
|
|
404
|
+
const unsigned short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
|
|
405
|
+
|
|
406
|
+
// Meet-or-slice Types
|
|
407
|
+
const unsigned short SVG_MEETORSLICE_UNKNOWN = 0;
|
|
408
|
+
const unsigned short SVG_MEETORSLICE_MEET = 1;
|
|
409
|
+
const unsigned short SVG_MEETORSLICE_SLICE = 2;
|
|
410
|
+
|
|
411
|
+
attribute unsigned short align;
|
|
412
|
+
attribute unsigned short meetOrSlice;
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
[Exposed=Window]
|
|
416
|
+
interface SVGAnimatedPreserveAspectRatio {
|
|
417
|
+
[SameObject] readonly attribute SVGPreserveAspectRatio baseVal;
|
|
418
|
+
[SameObject] readonly attribute SVGPreserveAspectRatio animVal;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
[Exposed=Window]
|
|
422
|
+
interface SVGPathElement : SVGGeometryElement {
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
[Exposed=Window]
|
|
426
|
+
interface SVGRectElement : SVGGeometryElement {
|
|
427
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
428
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
429
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
430
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
431
|
+
[SameObject] readonly attribute SVGAnimatedLength rx;
|
|
432
|
+
[SameObject] readonly attribute SVGAnimatedLength ry;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
[Exposed=Window]
|
|
436
|
+
interface SVGCircleElement : SVGGeometryElement {
|
|
437
|
+
[SameObject] readonly attribute SVGAnimatedLength cx;
|
|
438
|
+
[SameObject] readonly attribute SVGAnimatedLength cy;
|
|
439
|
+
[SameObject] readonly attribute SVGAnimatedLength r;
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
[Exposed=Window]
|
|
443
|
+
interface SVGEllipseElement : SVGGeometryElement {
|
|
444
|
+
[SameObject] readonly attribute SVGAnimatedLength cx;
|
|
445
|
+
[SameObject] readonly attribute SVGAnimatedLength cy;
|
|
446
|
+
[SameObject] readonly attribute SVGAnimatedLength rx;
|
|
447
|
+
[SameObject] readonly attribute SVGAnimatedLength ry;
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
[Exposed=Window]
|
|
451
|
+
interface SVGLineElement : SVGGeometryElement {
|
|
452
|
+
[SameObject] readonly attribute SVGAnimatedLength x1;
|
|
453
|
+
[SameObject] readonly attribute SVGAnimatedLength y1;
|
|
454
|
+
[SameObject] readonly attribute SVGAnimatedLength x2;
|
|
455
|
+
[SameObject] readonly attribute SVGAnimatedLength y2;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
interface mixin SVGAnimatedPoints {
|
|
459
|
+
[SameObject] readonly attribute SVGPointList points;
|
|
460
|
+
[SameObject] readonly attribute SVGPointList animatedPoints;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
[Exposed=Window]
|
|
464
|
+
interface SVGPointList {
|
|
465
|
+
|
|
466
|
+
readonly attribute unsigned long length;
|
|
467
|
+
readonly attribute unsigned long numberOfItems;
|
|
468
|
+
|
|
469
|
+
undefined clear();
|
|
470
|
+
DOMPoint initialize(DOMPoint newItem);
|
|
471
|
+
getter DOMPoint getItem(unsigned long index);
|
|
472
|
+
DOMPoint insertItemBefore(DOMPoint newItem, unsigned long index);
|
|
473
|
+
DOMPoint replaceItem(DOMPoint newItem, unsigned long index);
|
|
474
|
+
DOMPoint removeItem(unsigned long index);
|
|
475
|
+
DOMPoint appendItem(DOMPoint newItem);
|
|
476
|
+
setter undefined (unsigned long index, DOMPoint newItem);
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
[Exposed=Window]
|
|
480
|
+
interface SVGPolylineElement : SVGGeometryElement {
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
SVGPolylineElement includes SVGAnimatedPoints;
|
|
484
|
+
|
|
485
|
+
[Exposed=Window]
|
|
486
|
+
interface SVGPolygonElement : SVGGeometryElement {
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
SVGPolygonElement includes SVGAnimatedPoints;
|
|
490
|
+
|
|
491
|
+
[Exposed=Window]
|
|
492
|
+
interface SVGTextContentElement : SVGGraphicsElement {
|
|
493
|
+
|
|
494
|
+
// lengthAdjust Types
|
|
495
|
+
const unsigned short LENGTHADJUST_UNKNOWN = 0;
|
|
496
|
+
const unsigned short LENGTHADJUST_SPACING = 1;
|
|
497
|
+
const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2;
|
|
498
|
+
|
|
499
|
+
[SameObject] readonly attribute SVGAnimatedLength textLength;
|
|
500
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration lengthAdjust;
|
|
501
|
+
|
|
502
|
+
long getNumberOfChars();
|
|
503
|
+
float getComputedTextLength();
|
|
504
|
+
float getSubStringLength(unsigned long charnum, unsigned long nchars);
|
|
505
|
+
DOMPoint getStartPositionOfChar(unsigned long charnum);
|
|
506
|
+
DOMPoint getEndPositionOfChar(unsigned long charnum);
|
|
507
|
+
DOMRect getExtentOfChar(unsigned long charnum);
|
|
508
|
+
float getRotationOfChar(unsigned long charnum);
|
|
509
|
+
long getCharNumAtPosition(optional DOMPointInit point = {});
|
|
510
|
+
undefined selectSubString(unsigned long charnum, unsigned long nchars);
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
[Exposed=Window]
|
|
514
|
+
interface SVGTextPositioningElement : SVGTextContentElement {
|
|
515
|
+
[SameObject] readonly attribute SVGAnimatedLengthList x;
|
|
516
|
+
[SameObject] readonly attribute SVGAnimatedLengthList y;
|
|
517
|
+
[SameObject] readonly attribute SVGAnimatedLengthList dx;
|
|
518
|
+
[SameObject] readonly attribute SVGAnimatedLengthList dy;
|
|
519
|
+
[SameObject] readonly attribute SVGAnimatedNumberList rotate;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
[Exposed=Window]
|
|
523
|
+
interface SVGTextElement : SVGTextPositioningElement {
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
[Exposed=Window]
|
|
527
|
+
interface SVGTSpanElement : SVGTextPositioningElement {
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
[Exposed=Window]
|
|
531
|
+
interface SVGTextPathElement : SVGTextContentElement {
|
|
532
|
+
|
|
533
|
+
// textPath Method Types
|
|
534
|
+
const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
|
|
535
|
+
const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;
|
|
536
|
+
const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2;
|
|
537
|
+
|
|
538
|
+
// textPath Spacing Types
|
|
539
|
+
const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
|
|
540
|
+
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
|
541
|
+
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
|
542
|
+
|
|
543
|
+
[SameObject] readonly attribute SVGAnimatedLength startOffset;
|
|
544
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration method;
|
|
545
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
SVGTextPathElement includes SVGURIReference;
|
|
549
|
+
|
|
550
|
+
[Exposed=Window]
|
|
551
|
+
interface SVGImageElement : SVGGraphicsElement {
|
|
552
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
553
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
554
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
555
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
556
|
+
[SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
|
557
|
+
attribute DOMString? crossOrigin;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
SVGImageElement includes SVGURIReference;
|
|
561
|
+
|
|
562
|
+
[Exposed=Window]
|
|
563
|
+
interface SVGForeignObjectElement : SVGGraphicsElement {
|
|
564
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
565
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
566
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
567
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
[Exposed=Window]
|
|
571
|
+
interface SVGMarkerElement : SVGElement {
|
|
572
|
+
|
|
573
|
+
// Marker Unit Types
|
|
574
|
+
const unsigned short SVG_MARKERUNITS_UNKNOWN = 0;
|
|
575
|
+
const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1;
|
|
576
|
+
const unsigned short SVG_MARKERUNITS_STROKEWIDTH = 2;
|
|
577
|
+
|
|
578
|
+
// Marker Orientation Types
|
|
579
|
+
const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0;
|
|
580
|
+
const unsigned short SVG_MARKER_ORIENT_AUTO = 1;
|
|
581
|
+
const unsigned short SVG_MARKER_ORIENT_ANGLE = 2;
|
|
582
|
+
|
|
583
|
+
[SameObject] readonly attribute SVGAnimatedLength refX;
|
|
584
|
+
[SameObject] readonly attribute SVGAnimatedLength refY;
|
|
585
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration markerUnits;
|
|
586
|
+
[SameObject] readonly attribute SVGAnimatedLength markerWidth;
|
|
587
|
+
[SameObject] readonly attribute SVGAnimatedLength markerHeight;
|
|
588
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration orientType;
|
|
589
|
+
[SameObject] readonly attribute SVGAnimatedAngle orientAngle;
|
|
590
|
+
attribute DOMString orient;
|
|
591
|
+
|
|
592
|
+
undefined setOrientToAuto();
|
|
593
|
+
undefined setOrientToAngle(SVGAngle angle);
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
SVGMarkerElement includes SVGFitToViewBox;
|
|
597
|
+
|
|
598
|
+
[Exposed=Window]
|
|
599
|
+
interface SVGGradientElement : SVGElement {
|
|
600
|
+
|
|
601
|
+
// Spread Method Types
|
|
602
|
+
const unsigned short SVG_SPREADMETHOD_UNKNOWN = 0;
|
|
603
|
+
const unsigned short SVG_SPREADMETHOD_PAD = 1;
|
|
604
|
+
const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
|
|
605
|
+
const unsigned short SVG_SPREADMETHOD_REPEAT = 3;
|
|
606
|
+
|
|
607
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits;
|
|
608
|
+
[SameObject] readonly attribute SVGAnimatedTransformList gradientTransform;
|
|
609
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod;
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
SVGGradientElement includes SVGURIReference;
|
|
613
|
+
|
|
614
|
+
[Exposed=Window]
|
|
615
|
+
interface SVGLinearGradientElement : SVGGradientElement {
|
|
616
|
+
[SameObject] readonly attribute SVGAnimatedLength x1;
|
|
617
|
+
[SameObject] readonly attribute SVGAnimatedLength y1;
|
|
618
|
+
[SameObject] readonly attribute SVGAnimatedLength x2;
|
|
619
|
+
[SameObject] readonly attribute SVGAnimatedLength y2;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
[Exposed=Window]
|
|
623
|
+
interface SVGRadialGradientElement : SVGGradientElement {
|
|
624
|
+
[SameObject] readonly attribute SVGAnimatedLength cx;
|
|
625
|
+
[SameObject] readonly attribute SVGAnimatedLength cy;
|
|
626
|
+
[SameObject] readonly attribute SVGAnimatedLength r;
|
|
627
|
+
[SameObject] readonly attribute SVGAnimatedLength fx;
|
|
628
|
+
[SameObject] readonly attribute SVGAnimatedLength fy;
|
|
629
|
+
[SameObject] readonly attribute SVGAnimatedLength fr;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
[Exposed=Window]
|
|
633
|
+
interface SVGStopElement : SVGElement {
|
|
634
|
+
[SameObject] readonly attribute SVGAnimatedNumber offset;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
[Exposed=Window]
|
|
638
|
+
interface SVGPatternElement : SVGElement {
|
|
639
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration patternUnits;
|
|
640
|
+
[SameObject] readonly attribute SVGAnimatedEnumeration patternContentUnits;
|
|
641
|
+
[SameObject] readonly attribute SVGAnimatedTransformList patternTransform;
|
|
642
|
+
[SameObject] readonly attribute SVGAnimatedLength x;
|
|
643
|
+
[SameObject] readonly attribute SVGAnimatedLength y;
|
|
644
|
+
[SameObject] readonly attribute SVGAnimatedLength width;
|
|
645
|
+
[SameObject] readonly attribute SVGAnimatedLength height;
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
SVGPatternElement includes SVGFitToViewBox;
|
|
649
|
+
SVGPatternElement includes SVGURIReference;
|
|
650
|
+
|
|
651
|
+
[Exposed=Window]
|
|
652
|
+
interface SVGScriptElement : SVGElement {
|
|
653
|
+
attribute DOMString type;
|
|
654
|
+
attribute DOMString? crossOrigin;
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
SVGScriptElement includes SVGURIReference;
|
|
658
|
+
|
|
659
|
+
[Exposed=Window]
|
|
660
|
+
interface SVGAElement : SVGGraphicsElement {
|
|
661
|
+
[SameObject] readonly attribute SVGAnimatedString target;
|
|
662
|
+
attribute DOMString download;
|
|
663
|
+
attribute USVString ping;
|
|
664
|
+
attribute DOMString rel;
|
|
665
|
+
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
|
666
|
+
attribute DOMString hreflang;
|
|
667
|
+
attribute DOMString type;
|
|
668
|
+
|
|
669
|
+
attribute DOMString text;
|
|
670
|
+
|
|
671
|
+
attribute DOMString referrerPolicy;
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
SVGAElement includes SVGURIReference;
|
|
675
|
+
|
|
676
|
+
// Inline HTMLHyperlinkElementUtils except href, which conflicts.
|
|
677
|
+
partial interface SVGAElement {
|
|
678
|
+
readonly attribute USVString origin;
|
|
679
|
+
[CEReactions] attribute USVString protocol;
|
|
680
|
+
[CEReactions] attribute USVString username;
|
|
681
|
+
[CEReactions] attribute USVString password;
|
|
682
|
+
[CEReactions] attribute USVString host;
|
|
683
|
+
[CEReactions] attribute USVString hostname;
|
|
684
|
+
[CEReactions] attribute USVString port;
|
|
685
|
+
[CEReactions] attribute USVString pathname;
|
|
686
|
+
[CEReactions] attribute USVString search;
|
|
687
|
+
[CEReactions] attribute USVString hash;
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
[Exposed=Window]
|
|
691
|
+
interface SVGViewElement : SVGElement {};
|
|
692
|
+
|
|
693
|
+
SVGViewElement includes SVGFitToViewBox;
|
|
@@ -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: WebGL WEBGL_blend_equation_advanced_coherent Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_blend_equation_advanced_coherent/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_blend_equation_advanced_coherent {
|
|
8
|
+
const GLenum MULTIPLY = 0x9294;
|
|
9
|
+
const GLenum SCREEN = 0x9295;
|
|
10
|
+
const GLenum OVERLAY = 0x9296;
|
|
11
|
+
const GLenum DARKEN = 0x9297;
|
|
12
|
+
const GLenum LIGHTEN = 0x9298;
|
|
13
|
+
const GLenum COLORDODGE = 0x9299;
|
|
14
|
+
const GLenum COLORBURN = 0x929A;
|
|
15
|
+
const GLenum HARDLIGHT = 0x929B;
|
|
16
|
+
const GLenum SOFTLIGHT = 0x929C;
|
|
17
|
+
const GLenum DIFFERENCE = 0x929E;
|
|
18
|
+
const GLenum EXCLUSION = 0x92A0;
|
|
19
|
+
const GLenum HSL_HUE = 0x92AD;
|
|
20
|
+
const GLenum HSL_SATURATION = 0x92AE;
|
|
21
|
+
const GLenum HSL_COLOR = 0x92AF;
|
|
22
|
+
const GLenum HSL_LUMINOSITY = 0x92B0;
|
|
23
|
+
};
|