@typescript/typescript-darwin-x64 7.1.0-dev.20261006.1 → 7.1.0-dev.20261008.1
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/lib/lib.dom.d.ts +1193 -277
- package/lib/lib.webworker.d.ts +418 -26
- package/lib/tsc +0 -0
- package/package.json +2 -2
package/lib/lib.dom.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ interface AnalyserOptions extends AudioNodeOptions {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
interface AnimationEventInit extends EventInit {
|
|
92
|
+
animation?: CSSAnimation | null;
|
|
92
93
|
animationName?: string;
|
|
93
94
|
elapsedTime?: number;
|
|
94
95
|
pseudoElement?: string;
|
|
@@ -351,6 +352,11 @@ interface BlobPropertyBag {
|
|
|
351
352
|
type?: string;
|
|
352
353
|
}
|
|
353
354
|
|
|
355
|
+
interface CSSContainerCondition {
|
|
356
|
+
name: string;
|
|
357
|
+
query: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
354
360
|
interface CSSMatrixComponentOptions {
|
|
355
361
|
is2D?: boolean;
|
|
356
362
|
}
|
|
@@ -367,7 +373,7 @@ interface CSSNumericType {
|
|
|
367
373
|
}
|
|
368
374
|
|
|
369
375
|
interface CSSStyleSheetInit {
|
|
370
|
-
baseURL?: string;
|
|
376
|
+
baseURL?: string | null;
|
|
371
377
|
disabled?: boolean;
|
|
372
378
|
media?: MediaList | string;
|
|
373
379
|
}
|
|
@@ -424,6 +430,10 @@ interface CloseEventInit extends EventInit {
|
|
|
424
430
|
wasClean?: boolean;
|
|
425
431
|
}
|
|
426
432
|
|
|
433
|
+
interface CloseWatcherOptions {
|
|
434
|
+
signal?: AbortSignal;
|
|
435
|
+
}
|
|
436
|
+
|
|
427
437
|
interface CommandEventInit extends EventInit {
|
|
428
438
|
command?: string;
|
|
429
439
|
source?: Element | null;
|
|
@@ -637,6 +647,17 @@ interface DisplayMediaStreamOptions {
|
|
|
637
647
|
video?: boolean | MediaTrackConstraints;
|
|
638
648
|
}
|
|
639
649
|
|
|
650
|
+
interface DocumentPictureInPictureEventInit extends EventInit {
|
|
651
|
+
window: Window;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
interface DocumentPictureInPictureOptions {
|
|
655
|
+
disallowReturnToOpener?: boolean;
|
|
656
|
+
height?: number;
|
|
657
|
+
preferInitialWindowPlacement?: boolean;
|
|
658
|
+
width?: number;
|
|
659
|
+
}
|
|
660
|
+
|
|
640
661
|
interface DocumentTimelineOptions {
|
|
641
662
|
originTime?: DOMHighResTimeStamp;
|
|
642
663
|
}
|
|
@@ -818,6 +839,7 @@ interface FormDataEventInit extends EventInit {
|
|
|
818
839
|
}
|
|
819
840
|
|
|
820
841
|
interface FullscreenOptions {
|
|
842
|
+
keyboardLock?: FullscreenKeyboardLock;
|
|
821
843
|
navigationUI?: FullscreenNavigationUI;
|
|
822
844
|
}
|
|
823
845
|
|
|
@@ -1000,6 +1022,7 @@ interface GPUPipelineErrorInit {
|
|
|
1000
1022
|
|
|
1001
1023
|
interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
|
|
1002
1024
|
bindGroupLayouts: (GPUBindGroupLayout | null)[];
|
|
1025
|
+
immediateSize?: GPUSize32;
|
|
1003
1026
|
}
|
|
1004
1027
|
|
|
1005
1028
|
interface GPUPrimitiveState {
|
|
@@ -1227,6 +1250,15 @@ interface HashChangeEventInit extends EventInit {
|
|
|
1227
1250
|
oldURL?: string;
|
|
1228
1251
|
}
|
|
1229
1252
|
|
|
1253
|
+
interface HighlightHitResult {
|
|
1254
|
+
highlight?: Highlight;
|
|
1255
|
+
ranges?: AbstractRange[];
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
interface HighlightsFromPointOptions {
|
|
1259
|
+
shadowRoots?: ShadowRoot[];
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1230
1262
|
interface HkdfParams extends Algorithm {
|
|
1231
1263
|
hash: HashAlgorithmIdentifier;
|
|
1232
1264
|
info: BufferSource;
|
|
@@ -1389,7 +1421,7 @@ interface Keyframe {
|
|
|
1389
1421
|
composite?: CompositeOperationOrAuto;
|
|
1390
1422
|
easing?: string;
|
|
1391
1423
|
offset?: number | null;
|
|
1392
|
-
[property: string]: string | number | null | undefined;
|
|
1424
|
+
[property: string]: string | number | CSSStyleValue | null | undefined;
|
|
1393
1425
|
}
|
|
1394
1426
|
|
|
1395
1427
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
@@ -1739,6 +1771,11 @@ interface NavigationUpdateCurrentEntryOptions {
|
|
|
1739
1771
|
state: any;
|
|
1740
1772
|
}
|
|
1741
1773
|
|
|
1774
|
+
interface NotificationAction {
|
|
1775
|
+
action: string;
|
|
1776
|
+
title: string;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1742
1779
|
interface NotificationOptions {
|
|
1743
1780
|
badge?: string;
|
|
1744
1781
|
body?: string;
|
|
@@ -1819,6 +1856,10 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
1819
1856
|
rolloffFactor?: number;
|
|
1820
1857
|
}
|
|
1821
1858
|
|
|
1859
|
+
interface ParseHTMLUnsafeOptions {
|
|
1860
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1822
1863
|
interface PayerErrors {
|
|
1823
1864
|
email?: string;
|
|
1824
1865
|
name?: string;
|
|
@@ -2009,7 +2050,7 @@ interface PropertyIndexedKeyframes {
|
|
|
2009
2050
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
2010
2051
|
easing?: string | string[];
|
|
2011
2052
|
offset?: number | (number | null)[];
|
|
2012
|
-
[property: string]: string | string[] | number | null | (number | null)[] | undefined;
|
|
2053
|
+
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
|
|
2013
2054
|
}
|
|
2014
2055
|
|
|
2015
2056
|
interface PublicKeyCredentialCreationOptions {
|
|
@@ -2642,8 +2683,10 @@ interface SanitizerConfig {
|
|
|
2642
2683
|
comments?: boolean;
|
|
2643
2684
|
dataAttributes?: boolean;
|
|
2644
2685
|
elements?: SanitizerElementWithAttributes[];
|
|
2686
|
+
processingInstructions?: SanitizerPI[];
|
|
2645
2687
|
removeAttributes?: SanitizerAttribute[];
|
|
2646
2688
|
removeElements?: SanitizerElement[];
|
|
2689
|
+
removeProcessingInstructions?: SanitizerPI[];
|
|
2647
2690
|
replaceWithChildrenElements?: SanitizerElement[];
|
|
2648
2691
|
}
|
|
2649
2692
|
|
|
@@ -2657,6 +2700,10 @@ interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamesp
|
|
|
2657
2700
|
removeAttributes?: SanitizerAttribute[];
|
|
2658
2701
|
}
|
|
2659
2702
|
|
|
2703
|
+
interface SanitizerProcessingInstruction {
|
|
2704
|
+
target: string;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2660
2707
|
interface SchedulerPostTaskOptions {
|
|
2661
2708
|
delay?: number;
|
|
2662
2709
|
priority?: TaskPriority;
|
|
@@ -2697,6 +2744,53 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
2697
2744
|
violatedDirective?: string;
|
|
2698
2745
|
}
|
|
2699
2746
|
|
|
2747
|
+
interface SerialInputSignals {
|
|
2748
|
+
clearToSend: boolean;
|
|
2749
|
+
dataCarrierDetect: boolean;
|
|
2750
|
+
dataSetReady: boolean;
|
|
2751
|
+
ringIndicator: boolean;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
interface SerialOptions {
|
|
2755
|
+
baudRate: number;
|
|
2756
|
+
bufferSize?: number;
|
|
2757
|
+
dataBits?: number;
|
|
2758
|
+
flowControl?: FlowControlType;
|
|
2759
|
+
parity?: ParityType;
|
|
2760
|
+
stopBits?: number;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
interface SerialOutputSignals {
|
|
2764
|
+
break?: boolean;
|
|
2765
|
+
dataTerminalReady?: boolean;
|
|
2766
|
+
requestToSend?: boolean;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
interface SerialPortFilter {
|
|
2770
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2771
|
+
usbProductId?: number;
|
|
2772
|
+
usbVendorId?: number;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
interface SerialPortInfo {
|
|
2776
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2777
|
+
usbProductId?: number;
|
|
2778
|
+
usbVendorId?: number;
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
interface SerialPortRequestOptions {
|
|
2782
|
+
allowedBluetoothServiceClassIds?: BluetoothServiceUUID[];
|
|
2783
|
+
filters?: SerialPortFilter[];
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
interface SetHTMLOptions {
|
|
2787
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
interface SetHTMLUnsafeOptions {
|
|
2791
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2700
2794
|
interface ShadowRootInit {
|
|
2701
2795
|
clonable?: boolean;
|
|
2702
2796
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -2882,6 +2976,7 @@ interface Transformer<I = any, O = any> {
|
|
|
2882
2976
|
}
|
|
2883
2977
|
|
|
2884
2978
|
interface TransitionEventInit extends EventInit {
|
|
2979
|
+
animation?: CSSTransition | null;
|
|
2885
2980
|
elapsedTime?: number;
|
|
2886
2981
|
propertyName?: string;
|
|
2887
2982
|
pseudoElement?: string;
|
|
@@ -3134,6 +3229,23 @@ interface WebTransportCloseInfo {
|
|
|
3134
3229
|
reason?: string;
|
|
3135
3230
|
}
|
|
3136
3231
|
|
|
3232
|
+
interface WebTransportConnectionStats {
|
|
3233
|
+
bytesReceived?: number;
|
|
3234
|
+
datagrams: WebTransportDatagramStats;
|
|
3235
|
+
minRtt?: DOMHighResTimeStamp;
|
|
3236
|
+
packetsLost?: number;
|
|
3237
|
+
packetsReceived?: number;
|
|
3238
|
+
packetsSent?: number;
|
|
3239
|
+
rttVariation?: DOMHighResTimeStamp;
|
|
3240
|
+
smoothedRtt?: DOMHighResTimeStamp;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
interface WebTransportDatagramStats {
|
|
3244
|
+
droppedIncoming?: number;
|
|
3245
|
+
expiredOutgoing?: number;
|
|
3246
|
+
lostOutgoing?: number;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3137
3249
|
interface WebTransportErrorOptions {
|
|
3138
3250
|
source?: WebTransportErrorSource;
|
|
3139
3251
|
streamErrorCode?: number | null;
|
|
@@ -3152,6 +3264,11 @@ interface WebTransportOptions {
|
|
|
3152
3264
|
serverCertificateHashes?: WebTransportHash[];
|
|
3153
3265
|
}
|
|
3154
3266
|
|
|
3267
|
+
interface WebTransportReceiveStreamStats {
|
|
3268
|
+
bytesRead?: number;
|
|
3269
|
+
bytesReceived?: number;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3155
3272
|
interface WebTransportSendOptions {
|
|
3156
3273
|
sendOrder?: number;
|
|
3157
3274
|
}
|
|
@@ -3159,6 +3276,12 @@ interface WebTransportSendOptions {
|
|
|
3159
3276
|
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
|
|
3160
3277
|
}
|
|
3161
3278
|
|
|
3279
|
+
interface WebTransportSendStreamStats {
|
|
3280
|
+
bytesAcknowledged?: number;
|
|
3281
|
+
bytesSent?: number;
|
|
3282
|
+
bytesWritten?: number;
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3162
3285
|
interface WheelEventInit extends MouseEventInit {
|
|
3163
3286
|
deltaMode?: number;
|
|
3164
3287
|
deltaX?: number;
|
|
@@ -3238,109 +3361,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3238
3361
|
}
|
|
3239
3362
|
|
|
3240
3363
|
interface ARIAMixin {
|
|
3241
|
-
/**
|
|
3364
|
+
/**
|
|
3365
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3366
|
+
*
|
|
3367
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3368
|
+
*/
|
|
3242
3369
|
ariaActiveDescendantElement: Element | null;
|
|
3243
|
-
/**
|
|
3370
|
+
/**
|
|
3371
|
+
* The **`ariaAtomic`** property of the Element interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
|
|
3372
|
+
*
|
|
3373
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3374
|
+
*/
|
|
3244
3375
|
ariaAtomic: string | null;
|
|
3245
|
-
/**
|
|
3376
|
+
/**
|
|
3377
|
+
* The **`ariaAutoComplete`** property of the Element interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
|
|
3378
|
+
*
|
|
3379
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3380
|
+
*/
|
|
3246
3381
|
ariaAutoComplete: string | null;
|
|
3247
|
-
/**
|
|
3382
|
+
/**
|
|
3383
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3384
|
+
*
|
|
3385
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3386
|
+
*/
|
|
3248
3387
|
ariaBrailleLabel: string | null;
|
|
3249
|
-
/**
|
|
3388
|
+
/**
|
|
3389
|
+
* The **`ariaBrailleRoleDescription`** property of the Element interface reflects the value of the aria-brailleroledescription attribute, which defines the ARIA braille role description of the element.
|
|
3390
|
+
*
|
|
3391
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3392
|
+
*/
|
|
3250
3393
|
ariaBrailleRoleDescription: string | null;
|
|
3251
|
-
/**
|
|
3394
|
+
/**
|
|
3395
|
+
* The **`ariaBusy`** property of the Element interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
|
|
3396
|
+
*
|
|
3397
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3398
|
+
*/
|
|
3252
3399
|
ariaBusy: string | null;
|
|
3253
|
-
/**
|
|
3400
|
+
/**
|
|
3401
|
+
* The **`ariaChecked`** property of the Element interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
|
|
3402
|
+
*
|
|
3403
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3404
|
+
*/
|
|
3254
3405
|
ariaChecked: string | null;
|
|
3255
|
-
/**
|
|
3406
|
+
/**
|
|
3407
|
+
* The **`ariaColCount`** property of the Element interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
|
|
3408
|
+
*
|
|
3409
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3410
|
+
*/
|
|
3256
3411
|
ariaColCount: string | null;
|
|
3257
|
-
/**
|
|
3412
|
+
/**
|
|
3413
|
+
* The **`ariaColIndex`** property of the Element interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
3414
|
+
*
|
|
3415
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3416
|
+
*/
|
|
3258
3417
|
ariaColIndex: string | null;
|
|
3259
|
-
/**
|
|
3418
|
+
/**
|
|
3419
|
+
* The **`ariaColIndexText`** property of the Element interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
|
|
3420
|
+
*
|
|
3421
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3422
|
+
*/
|
|
3260
3423
|
ariaColIndexText: string | null;
|
|
3261
|
-
/**
|
|
3424
|
+
/**
|
|
3425
|
+
* The **`ariaColSpan`** property of the Element interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3426
|
+
*
|
|
3427
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3428
|
+
*/
|
|
3262
3429
|
ariaColSpan: string | null;
|
|
3263
|
-
/**
|
|
3430
|
+
/**
|
|
3431
|
+
* The **`ariaControlsElements`** property of the Element interface is an array containing the elements that are controlled by the element it is applied to. For example, this might be set on a combobox to indicate the element that it pops up, or on a scrollbar to indicate the ID of the element it controls.
|
|
3432
|
+
*
|
|
3433
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3434
|
+
*/
|
|
3264
3435
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3265
|
-
/**
|
|
3436
|
+
/**
|
|
3437
|
+
* The **`ariaCurrent`** property of the Element interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
|
|
3438
|
+
*
|
|
3439
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3440
|
+
*/
|
|
3266
3441
|
ariaCurrent: string | null;
|
|
3267
|
-
/**
|
|
3442
|
+
/**
|
|
3443
|
+
* The **`ariaDescribedByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible description for the element it is applied to. The accessible description is similar to the accessible label (see ariaLabelledByElements), but provides more verbose information.
|
|
3444
|
+
*
|
|
3445
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3446
|
+
*/
|
|
3268
3447
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3269
|
-
/**
|
|
3448
|
+
/**
|
|
3449
|
+
* The **`ariaDescription`** property of the Element interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
|
|
3450
|
+
*
|
|
3451
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3452
|
+
*/
|
|
3270
3453
|
ariaDescription: string | null;
|
|
3271
|
-
/**
|
|
3454
|
+
/**
|
|
3455
|
+
* The **`ariaDetailsElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible details for the element it is applied to. The accessible details are similar to the accessible description (see ariaDescribedByElements), but provides more verbose information.
|
|
3456
|
+
*
|
|
3457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3458
|
+
*/
|
|
3272
3459
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3273
|
-
/**
|
|
3460
|
+
/**
|
|
3461
|
+
* The **`ariaDisabled`** property of the Element interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
3462
|
+
*
|
|
3463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3464
|
+
*/
|
|
3274
3465
|
ariaDisabled: string | null;
|
|
3275
|
-
/**
|
|
3466
|
+
/**
|
|
3467
|
+
* The **`ariaErrorMessageElements`** property of the Element interface is an array containing the element (or elements) that provide an error message for the element it is applied to.
|
|
3468
|
+
*
|
|
3469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3470
|
+
*/
|
|
3276
3471
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3277
|
-
/**
|
|
3472
|
+
/**
|
|
3473
|
+
* The **`ariaExpanded`** property of the Element interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
|
|
3474
|
+
*
|
|
3475
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3476
|
+
*/
|
|
3278
3477
|
ariaExpanded: string | null;
|
|
3279
|
-
/**
|
|
3478
|
+
/**
|
|
3479
|
+
* The **`ariaFlowToElements`** property of the Element interface is an array containing the element (or elements) that provide an alternate reading order of content, overriding the general default reading order at the user's discretion. If just one element is provided this is the next element in the reading order. If multiple elements are provided, then each element represents a possible path that should be offered to the user for selection.
|
|
3480
|
+
*
|
|
3481
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3482
|
+
*/
|
|
3280
3483
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3281
|
-
/**
|
|
3484
|
+
/**
|
|
3485
|
+
* The **`ariaHasPopup`** property of the Element interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
|
|
3486
|
+
*
|
|
3487
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3488
|
+
*/
|
|
3282
3489
|
ariaHasPopup: string | null;
|
|
3283
|
-
/**
|
|
3490
|
+
/**
|
|
3491
|
+
* The **`ariaHidden`** property of the Element interface reflects the value of the aria-hidden) attribute, which indicates whether the element is exposed to an accessibility API.
|
|
3492
|
+
*
|
|
3493
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3494
|
+
*/
|
|
3284
3495
|
ariaHidden: string | null;
|
|
3285
|
-
/**
|
|
3496
|
+
/**
|
|
3497
|
+
* The **`ariaInvalid`** property of the Element interface reflects the value of the aria-invalid attribute. Relevant for the application, checkbox, combobox, gridcell, listbox, radiogroup, slider, spinbutton, textbox, and tree roles, it indicates to the accessibility API whether the entered value does not conform to the format expected by the application.
|
|
3498
|
+
*
|
|
3499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3500
|
+
*/
|
|
3286
3501
|
ariaInvalid: string | null;
|
|
3287
|
-
/**
|
|
3502
|
+
/**
|
|
3503
|
+
* The **`ariaKeyShortcuts`** property of the Element interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
3504
|
+
*
|
|
3505
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3506
|
+
*/
|
|
3288
3507
|
ariaKeyShortcuts: string | null;
|
|
3289
|
-
/**
|
|
3508
|
+
/**
|
|
3509
|
+
* The **`ariaLabel`** property of the Element interface reflects the value of the aria-label attribute, which defines a string value that labels the current element.
|
|
3510
|
+
*
|
|
3511
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3512
|
+
*/
|
|
3290
3513
|
ariaLabel: string | null;
|
|
3291
|
-
/**
|
|
3514
|
+
/**
|
|
3515
|
+
* The **`ariaLabelledByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible name for the element it is applied to.
|
|
3516
|
+
*
|
|
3517
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3518
|
+
*/
|
|
3292
3519
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3293
|
-
/**
|
|
3520
|
+
/**
|
|
3521
|
+
* The **`ariaLevel`** property of the Element interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
|
|
3522
|
+
*
|
|
3523
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3524
|
+
*/
|
|
3294
3525
|
ariaLevel: string | null;
|
|
3295
|
-
/**
|
|
3526
|
+
/**
|
|
3527
|
+
* The **`ariaLive`** property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
|
|
3528
|
+
*
|
|
3529
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3530
|
+
*/
|
|
3296
3531
|
ariaLive: string | null;
|
|
3297
|
-
/**
|
|
3532
|
+
/**
|
|
3533
|
+
* The **`ariaModal`** property of the Element interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed. Applying the aria-modal property to an element with role="dialog" replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert.
|
|
3534
|
+
*
|
|
3535
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3536
|
+
*/
|
|
3298
3537
|
ariaModal: string | null;
|
|
3299
|
-
/**
|
|
3538
|
+
/**
|
|
3539
|
+
* The **`ariaMultiLine`** property of the Element interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
|
|
3540
|
+
*
|
|
3541
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3542
|
+
*/
|
|
3300
3543
|
ariaMultiLine: string | null;
|
|
3301
|
-
/**
|
|
3544
|
+
/**
|
|
3545
|
+
* The **`ariaMultiSelectable`** property of the Element interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
|
|
3546
|
+
*
|
|
3547
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3548
|
+
*/
|
|
3302
3549
|
ariaMultiSelectable: string | null;
|
|
3303
|
-
/**
|
|
3550
|
+
/**
|
|
3551
|
+
* The **`ariaOrientation`** property of the Element interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
|
|
3552
|
+
*
|
|
3553
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3554
|
+
*/
|
|
3304
3555
|
ariaOrientation: string | null;
|
|
3305
|
-
/**
|
|
3556
|
+
/**
|
|
3557
|
+
* The **`ariaOwnsElements`** property of the Element interface is an array containing the element (or elements) that define a visual, functional, or contextual relationship between a parent element that it is applied to, and its child elements. This is used when the DOM hierarchy cannot be used to represent the relationship, and it would not otherwise be available to assistive technology,
|
|
3558
|
+
*
|
|
3559
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3560
|
+
*/
|
|
3306
3561
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3307
|
-
/**
|
|
3562
|
+
/**
|
|
3563
|
+
* The **`ariaPlaceholder`** property of the Element interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
|
|
3564
|
+
*
|
|
3565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3566
|
+
*/
|
|
3308
3567
|
ariaPlaceholder: string | null;
|
|
3309
|
-
/**
|
|
3568
|
+
/**
|
|
3569
|
+
* The **`ariaPosInSet`** property of the Element interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
|
|
3570
|
+
*
|
|
3571
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3572
|
+
*/
|
|
3310
3573
|
ariaPosInSet: string | null;
|
|
3311
|
-
/**
|
|
3574
|
+
/**
|
|
3575
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3576
|
+
*
|
|
3577
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3578
|
+
*/
|
|
3312
3579
|
ariaPressed: string | null;
|
|
3313
|
-
/**
|
|
3580
|
+
/**
|
|
3581
|
+
* The **`ariaReadOnly`** property of the Element interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
|
|
3582
|
+
*
|
|
3583
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3584
|
+
*/
|
|
3314
3585
|
ariaReadOnly: string | null;
|
|
3315
|
-
/**
|
|
3586
|
+
/**
|
|
3587
|
+
* The **`ariaRelevant`** property of the Element interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
|
|
3588
|
+
*
|
|
3589
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3590
|
+
*/
|
|
3316
3591
|
ariaRelevant: string | null;
|
|
3317
|
-
/**
|
|
3592
|
+
/**
|
|
3593
|
+
* The **`ariaRequired`** property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
|
|
3594
|
+
*
|
|
3595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3596
|
+
*/
|
|
3318
3597
|
ariaRequired: string | null;
|
|
3319
|
-
/**
|
|
3598
|
+
/**
|
|
3599
|
+
* The **`ariaRoleDescription`** property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
|
|
3600
|
+
*
|
|
3601
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3602
|
+
*/
|
|
3320
3603
|
ariaRoleDescription: string | null;
|
|
3321
|
-
/**
|
|
3604
|
+
/**
|
|
3605
|
+
* The **`ariaRowCount`** property of the Element interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
|
|
3606
|
+
*
|
|
3607
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3608
|
+
*/
|
|
3322
3609
|
ariaRowCount: string | null;
|
|
3323
|
-
/**
|
|
3610
|
+
/**
|
|
3611
|
+
* The **`ariaRowIndex`** property of the Element interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
3612
|
+
*
|
|
3613
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3614
|
+
*/
|
|
3324
3615
|
ariaRowIndex: string | null;
|
|
3325
|
-
/**
|
|
3616
|
+
/**
|
|
3617
|
+
* The **`ariaRowIndexText`** property of the Element interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
|
|
3618
|
+
*
|
|
3619
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3620
|
+
*/
|
|
3326
3621
|
ariaRowIndexText: string | null;
|
|
3327
|
-
/**
|
|
3622
|
+
/**
|
|
3623
|
+
* The **`ariaRowSpan`** property of the Element interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3624
|
+
*
|
|
3625
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3626
|
+
*/
|
|
3328
3627
|
ariaRowSpan: string | null;
|
|
3329
|
-
/**
|
|
3628
|
+
/**
|
|
3629
|
+
* The **`ariaSelected`** property of the Element interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
|
|
3630
|
+
*
|
|
3631
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3632
|
+
*/
|
|
3330
3633
|
ariaSelected: string | null;
|
|
3331
|
-
/**
|
|
3634
|
+
/**
|
|
3635
|
+
* The **`ariaSetSize`** property of the Element interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
|
|
3636
|
+
*
|
|
3637
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3638
|
+
*/
|
|
3332
3639
|
ariaSetSize: string | null;
|
|
3333
|
-
/**
|
|
3640
|
+
/**
|
|
3641
|
+
* The **`ariaSort`** property of the Element interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
|
|
3642
|
+
*
|
|
3643
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3644
|
+
*/
|
|
3334
3645
|
ariaSort: string | null;
|
|
3335
|
-
/**
|
|
3646
|
+
/**
|
|
3647
|
+
* The **`ariaValueMax`** property of the Element interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
|
|
3648
|
+
*
|
|
3649
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3650
|
+
*/
|
|
3336
3651
|
ariaValueMax: string | null;
|
|
3337
|
-
/**
|
|
3652
|
+
/**
|
|
3653
|
+
* The **`ariaValueMin`** property of the Element interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
|
|
3654
|
+
*
|
|
3655
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3656
|
+
*/
|
|
3338
3657
|
ariaValueMin: string | null;
|
|
3339
|
-
/**
|
|
3658
|
+
/**
|
|
3659
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3660
|
+
*
|
|
3661
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3662
|
+
*/
|
|
3340
3663
|
ariaValueNow: string | null;
|
|
3341
|
-
/**
|
|
3664
|
+
/**
|
|
3665
|
+
* The **`ariaValueText`** property of the Element interface reflects the value of the aria-valuetext attribute, which defines the human-readable text alternative of aria-valuenow for a range widget.
|
|
3666
|
+
*
|
|
3667
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3668
|
+
*/
|
|
3342
3669
|
ariaValueText: string | null;
|
|
3343
|
-
/**
|
|
3670
|
+
/**
|
|
3671
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3672
|
+
*
|
|
3673
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3674
|
+
*/
|
|
3344
3675
|
role: string | null;
|
|
3345
3676
|
}
|
|
3346
3677
|
|
|
@@ -5111,21 +5442,53 @@ declare var BlobEvent: {
|
|
|
5111
5442
|
};
|
|
5112
5443
|
|
|
5113
5444
|
interface Body {
|
|
5114
|
-
/**
|
|
5445
|
+
/**
|
|
5446
|
+
* The **`body`** read-only property of the Request interface contains a ReadableStream with the body contents that have been added to the request. Note that a request using the GET or HEAD method cannot have a body and null is returned in these cases.
|
|
5447
|
+
*
|
|
5448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5449
|
+
*/
|
|
5115
5450
|
readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;
|
|
5116
|
-
/**
|
|
5451
|
+
/**
|
|
5452
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5453
|
+
*
|
|
5454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5455
|
+
*/
|
|
5117
5456
|
readonly bodyUsed: boolean;
|
|
5118
|
-
/**
|
|
5457
|
+
/**
|
|
5458
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5459
|
+
*
|
|
5460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5461
|
+
*/
|
|
5119
5462
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5120
|
-
/**
|
|
5463
|
+
/**
|
|
5464
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5465
|
+
*
|
|
5466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5467
|
+
*/
|
|
5121
5468
|
blob(): Promise<Blob>;
|
|
5122
|
-
/**
|
|
5469
|
+
/**
|
|
5470
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5471
|
+
*
|
|
5472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5473
|
+
*/
|
|
5123
5474
|
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
|
5124
|
-
/**
|
|
5475
|
+
/**
|
|
5476
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5477
|
+
*
|
|
5478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5479
|
+
*/
|
|
5125
5480
|
formData(): Promise<FormData>;
|
|
5126
|
-
/**
|
|
5481
|
+
/**
|
|
5482
|
+
* The **`json()`** method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.
|
|
5483
|
+
*
|
|
5484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5485
|
+
*/
|
|
5127
5486
|
json(): Promise<any>;
|
|
5128
|
-
/**
|
|
5487
|
+
/**
|
|
5488
|
+
* The **`text()`** method of the Request interface reads the request body and returns it as a promise that resolves with a String. The response is always decoded using UTF-8.
|
|
5489
|
+
*
|
|
5490
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5491
|
+
*/
|
|
5129
5492
|
text(): Promise<string>;
|
|
5130
5493
|
}
|
|
5131
5494
|
|
|
@@ -5255,6 +5618,8 @@ declare var CSSConditionRule: {
|
|
|
5255
5618
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule)
|
|
5256
5619
|
*/
|
|
5257
5620
|
interface CSSContainerRule extends CSSConditionRule {
|
|
5621
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/conditions) */
|
|
5622
|
+
readonly conditions: ReadonlyArray<CSSContainerCondition>;
|
|
5258
5623
|
/**
|
|
5259
5624
|
* The read-only **`containerName`** property of the CSSContainerRule interface represents the container name of the associated CSS @container at-rule.
|
|
5260
5625
|
*
|
|
@@ -5353,6 +5718,36 @@ declare var CSSCounterStyleRule: {
|
|
|
5353
5718
|
new(): CSSCounterStyleRule;
|
|
5354
5719
|
};
|
|
5355
5720
|
|
|
5721
|
+
/**
|
|
5722
|
+
* The **`CSSFontFaceDescriptors`** interface represents a CSS declaration block for an @font-face at-rule.
|
|
5723
|
+
*
|
|
5724
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors)
|
|
5725
|
+
*/
|
|
5726
|
+
interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase {
|
|
5727
|
+
"font-display": string;
|
|
5728
|
+
"font-family": string;
|
|
5729
|
+
"font-feature-settings": string;
|
|
5730
|
+
"font-stretch": string;
|
|
5731
|
+
"font-style": string;
|
|
5732
|
+
"font-weight": string;
|
|
5733
|
+
fontDisplay: string;
|
|
5734
|
+
fontFamily: string;
|
|
5735
|
+
fontFeatureSettings: string;
|
|
5736
|
+
fontStretch: string;
|
|
5737
|
+
fontStyle: string;
|
|
5738
|
+
fontWeight: string;
|
|
5739
|
+
"size-adjust": string;
|
|
5740
|
+
sizeAdjust: string;
|
|
5741
|
+
src: string;
|
|
5742
|
+
"unicode-range": string;
|
|
5743
|
+
unicodeRange: string;
|
|
5744
|
+
}
|
|
5745
|
+
|
|
5746
|
+
declare var CSSFontFaceDescriptors: {
|
|
5747
|
+
prototype: CSSFontFaceDescriptors;
|
|
5748
|
+
new(): CSSFontFaceDescriptors;
|
|
5749
|
+
};
|
|
5750
|
+
|
|
5356
5751
|
/**
|
|
5357
5752
|
* The **`CSSFontFaceRule`** interface represents an @font-face at-rule.
|
|
5358
5753
|
*
|
|
@@ -5360,11 +5755,11 @@ declare var CSSCounterStyleRule: {
|
|
|
5360
5755
|
*/
|
|
5361
5756
|
interface CSSFontFaceRule extends CSSRule {
|
|
5362
5757
|
/**
|
|
5363
|
-
* The read-only **`style`** property of the CSSFontFaceRule interface
|
|
5758
|
+
* The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
|
|
5364
5759
|
*
|
|
5365
5760
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
5366
5761
|
*/
|
|
5367
|
-
get style():
|
|
5762
|
+
get style(): CSSFontFaceDescriptors;
|
|
5368
5763
|
set style(cssText: string);
|
|
5369
5764
|
}
|
|
5370
5765
|
|
|
@@ -5650,9 +6045,29 @@ declare var CSSLayerStatementRule: {
|
|
|
5650
6045
|
new(): CSSLayerStatementRule;
|
|
5651
6046
|
};
|
|
5652
6047
|
|
|
6048
|
+
/**
|
|
6049
|
+
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
|
|
6050
|
+
*
|
|
6051
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
|
|
6052
|
+
*/
|
|
5653
6053
|
interface CSSMathClamp extends CSSMathValue {
|
|
6054
|
+
/**
|
|
6055
|
+
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
|
|
6056
|
+
*
|
|
6057
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
|
|
6058
|
+
*/
|
|
5654
6059
|
readonly lower: CSSNumericValue;
|
|
6060
|
+
/**
|
|
6061
|
+
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
|
|
6062
|
+
*
|
|
6063
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
|
|
6064
|
+
*/
|
|
5655
6065
|
readonly upper: CSSNumericValue;
|
|
6066
|
+
/**
|
|
6067
|
+
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
|
|
6068
|
+
*
|
|
6069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
|
|
6070
|
+
*/
|
|
5656
6071
|
readonly value: CSSNumericValue;
|
|
5657
6072
|
}
|
|
5658
6073
|
|
|
@@ -6831,7 +7246,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6831
7246
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6832
7247
|
*/
|
|
6833
7248
|
backgroundSize: string;
|
|
6834
|
-
/**
|
|
7249
|
+
/**
|
|
7250
|
+
* The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute.
|
|
7251
|
+
*
|
|
7252
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-shift)
|
|
7253
|
+
*/
|
|
6835
7254
|
baselineShift: string;
|
|
6836
7255
|
/**
|
|
6837
7256
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -7369,7 +7788,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
7369
7788
|
*/
|
|
7370
7789
|
columnWidth: string;
|
|
7371
7790
|
/**
|
|
7372
|
-
* The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents,
|
|
7791
|
+
* The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
|
|
7373
7792
|
*
|
|
7374
7793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
|
|
7375
7794
|
*/
|
|
@@ -7977,7 +8396,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
7977
8396
|
*/
|
|
7978
8397
|
left: string;
|
|
7979
8398
|
/**
|
|
7980
|
-
* The letter-spacing CSS property sets the
|
|
8399
|
+
* The letter-spacing CSS property sets the spacing between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of letter-spacing spread characters further apart, while negative values of letter-spacing bring characters closer together.
|
|
7981
8400
|
*
|
|
7982
8401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/letter-spacing)
|
|
7983
8402
|
*/
|
|
@@ -8055,7 +8474,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
8055
8474
|
*/
|
|
8056
8475
|
marginBottom: string;
|
|
8057
8476
|
/**
|
|
8058
|
-
* The margin-inline CSS shorthand property
|
|
8477
|
+
* The margin-inline CSS shorthand property defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
8059
8478
|
*
|
|
8060
8479
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-inline)
|
|
8061
8480
|
*/
|
|
@@ -9240,7 +9659,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
9240
9659
|
*/
|
|
9241
9660
|
vectorEffect: string;
|
|
9242
9661
|
/**
|
|
9243
|
-
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
|
|
9662
|
+
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
|
|
9244
9663
|
*
|
|
9245
9664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
|
|
9246
9665
|
*/
|
|
@@ -9742,7 +10161,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
9742
10161
|
*/
|
|
9743
10162
|
wordBreak: string;
|
|
9744
10163
|
/**
|
|
9745
|
-
* The word-spacing CSS property sets the
|
|
10164
|
+
* The word-spacing CSS property sets the spacing between words and between tags.
|
|
9746
10165
|
*
|
|
9747
10166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/word-spacing)
|
|
9748
10167
|
*/
|
|
@@ -10045,13 +10464,13 @@ declare var CSSTranslate: {
|
|
|
10045
10464
|
};
|
|
10046
10465
|
|
|
10047
10466
|
/**
|
|
10048
|
-
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10467
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10049
10468
|
*
|
|
10050
10469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
10051
10470
|
*/
|
|
10052
10471
|
interface CSSUnitValue extends CSSNumericValue {
|
|
10053
10472
|
/**
|
|
10054
|
-
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type
|
|
10473
|
+
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
|
|
10055
10474
|
*
|
|
10056
10475
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
|
|
10057
10476
|
*/
|
|
@@ -10435,7 +10854,7 @@ interface CanvasRect {
|
|
|
10435
10854
|
*/
|
|
10436
10855
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
10437
10856
|
/**
|
|
10438
|
-
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10857
|
+
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10439
10858
|
*
|
|
10440
10859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
10441
10860
|
*/
|
|
@@ -10494,6 +10913,8 @@ interface CanvasTextDrawingStyles {
|
|
|
10494
10913
|
fontStretch: CanvasFontStretch;
|
|
10495
10914
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
10496
10915
|
fontVariantCaps: CanvasFontVariantCaps;
|
|
10916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
|
|
10917
|
+
lang: string;
|
|
10497
10918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
10498
10919
|
letterSpacing: string;
|
|
10499
10920
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
@@ -10809,6 +11230,50 @@ declare var CloseEvent: {
|
|
|
10809
11230
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
10810
11231
|
};
|
|
10811
11232
|
|
|
11233
|
+
interface CloseWatcherEventMap {
|
|
11234
|
+
"cancel": Event;
|
|
11235
|
+
"close": Event;
|
|
11236
|
+
}
|
|
11237
|
+
|
|
11238
|
+
/**
|
|
11239
|
+
* The **`CloseWatcher`** interface allows a custom UI component with open and close semantics to respond to device-specific close actions in the same way as a built-in component.
|
|
11240
|
+
*
|
|
11241
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher)
|
|
11242
|
+
*/
|
|
11243
|
+
interface CloseWatcher extends EventTarget {
|
|
11244
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/cancel_event) */
|
|
11245
|
+
oncancel: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
11246
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close_event) */
|
|
11247
|
+
onclose: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
11248
|
+
/**
|
|
11249
|
+
* The **`close()`** method of the CloseWatcher interface lets you skip any logic in the cancel event handler and immediately fire the close event. It then deactivates the close watcher as if destroy() was called.
|
|
11250
|
+
*
|
|
11251
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close)
|
|
11252
|
+
*/
|
|
11253
|
+
close(): void;
|
|
11254
|
+
/**
|
|
11255
|
+
* The **`destroy()`** method of the CloseWatcher interface deactivates the close watcher. This is intended to be called if the relevant UI element is torn down in some other way than being closed.
|
|
11256
|
+
*
|
|
11257
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/destroy)
|
|
11258
|
+
*/
|
|
11259
|
+
destroy(): void;
|
|
11260
|
+
/**
|
|
11261
|
+
* The **`requestClose()`** method of the CloseWatcher interface fires a cancel event and if that event is not canceled with Event.preventDefault(), proceeds to fire a close event, and then finally deactivates the close watcher as if destroy() was called.
|
|
11262
|
+
*
|
|
11263
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/requestClose)
|
|
11264
|
+
*/
|
|
11265
|
+
requestClose(): void;
|
|
11266
|
+
addEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11267
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11268
|
+
removeEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
11269
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
11270
|
+
}
|
|
11271
|
+
|
|
11272
|
+
declare var CloseWatcher: {
|
|
11273
|
+
prototype: CloseWatcher;
|
|
11274
|
+
new(options?: CloseWatcherOptions): CloseWatcher;
|
|
11275
|
+
};
|
|
11276
|
+
|
|
10812
11277
|
/**
|
|
10813
11278
|
* The **`CommandEvent`** interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
|
|
10814
11279
|
*
|
|
@@ -11112,6 +11577,12 @@ interface Credential {
|
|
|
11112
11577
|
declare var Credential: {
|
|
11113
11578
|
prototype: Credential;
|
|
11114
11579
|
new(): Credential;
|
|
11580
|
+
/**
|
|
11581
|
+
* The **`isConditionalMediationAvailable()`** static method of the Credential interface returns a Promise which resolves to false.
|
|
11582
|
+
*
|
|
11583
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/isConditionalMediationAvailable_static)
|
|
11584
|
+
*/
|
|
11585
|
+
isConditionalMediationAvailable(): Promise<boolean>;
|
|
11115
11586
|
};
|
|
11116
11587
|
|
|
11117
11588
|
/**
|
|
@@ -11224,7 +11695,7 @@ declare var CryptoKey: {
|
|
|
11224
11695
|
};
|
|
11225
11696
|
|
|
11226
11697
|
/**
|
|
11227
|
-
* The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property.
|
|
11698
|
+
* The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
|
|
11228
11699
|
*
|
|
11229
11700
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
|
|
11230
11701
|
*/
|
|
@@ -11247,6 +11718,11 @@ interface CustomElementRegistry {
|
|
|
11247
11718
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
11248
11719
|
*/
|
|
11249
11720
|
getName(constructor: CustomElementConstructor): string | null;
|
|
11721
|
+
/**
|
|
11722
|
+
* The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
|
|
11723
|
+
*
|
|
11724
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
|
|
11725
|
+
*/
|
|
11250
11726
|
initialize(root: Node): void;
|
|
11251
11727
|
/**
|
|
11252
11728
|
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
|
|
@@ -11396,7 +11872,7 @@ declare var DOMException: {
|
|
|
11396
11872
|
*/
|
|
11397
11873
|
interface DOMImplementation {
|
|
11398
11874
|
/**
|
|
11399
|
-
* The **`
|
|
11875
|
+
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
|
|
11400
11876
|
*
|
|
11401
11877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
|
|
11402
11878
|
*/
|
|
@@ -12526,7 +13002,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12526
13002
|
/** Available only in secure contexts. */
|
|
12527
13003
|
interface DigitalCredential extends Credential {
|
|
12528
13004
|
readonly data: any;
|
|
12529
|
-
readonly protocol:
|
|
13005
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12530
13006
|
toJSON(): any;
|
|
12531
13007
|
}
|
|
12532
13008
|
|
|
@@ -12892,13 +13368,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12892
13368
|
*/
|
|
12893
13369
|
close(): void;
|
|
12894
13370
|
/**
|
|
12895
|
-
* The **`
|
|
13371
|
+
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
|
|
12896
13372
|
*
|
|
12897
13373
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
|
|
12898
13374
|
*/
|
|
12899
13375
|
createAttribute(localName: string): Attr;
|
|
12900
13376
|
/**
|
|
12901
|
-
* The **`
|
|
13377
|
+
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
|
|
12902
13378
|
*
|
|
12903
13379
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
|
|
12904
13380
|
*/
|
|
@@ -12922,7 +13398,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12922
13398
|
*/
|
|
12923
13399
|
createDocumentFragment(): DocumentFragment;
|
|
12924
13400
|
/**
|
|
12925
|
-
*
|
|
13401
|
+
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
|
|
12926
13402
|
*
|
|
12927
13403
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
|
|
12928
13404
|
*/
|
|
@@ -12931,7 +13407,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12931
13407
|
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
12932
13408
|
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
12933
13409
|
/**
|
|
12934
|
-
*
|
|
13410
|
+
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
|
|
12935
13411
|
*
|
|
12936
13412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
|
|
12937
13413
|
*/
|
|
@@ -12962,6 +13438,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12962
13438
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
12963
13439
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
12964
13440
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
13441
|
+
createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent;
|
|
12965
13442
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
12966
13443
|
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
|
|
12967
13444
|
createEvent(eventInterface: "Event"): Event;
|
|
@@ -13210,7 +13687,7 @@ declare var Document: {
|
|
|
13210
13687
|
*
|
|
13211
13688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
|
|
13212
13689
|
*/
|
|
13213
|
-
parseHTMLUnsafe(html: string): Document;
|
|
13690
|
+
parseHTMLUnsafe(html: string, options?: ParseHTMLUnsafeOptions): Document;
|
|
13214
13691
|
};
|
|
13215
13692
|
|
|
13216
13693
|
/**
|
|
@@ -13234,36 +13711,115 @@ declare var DocumentFragment: {
|
|
|
13234
13711
|
|
|
13235
13712
|
interface DocumentOrShadowRoot {
|
|
13236
13713
|
/**
|
|
13237
|
-
*
|
|
13238
|
-
*
|
|
13239
|
-
* For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.
|
|
13240
|
-
*
|
|
13241
|
-
* Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.
|
|
13714
|
+
* The **`activeElement`** read-only property of the Document interface returns the Element within the DOM that is receiving keyboard events such as keydown and keyup. This is usually analogous to the focused element.
|
|
13242
13715
|
*
|
|
13243
13716
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13244
13717
|
*/
|
|
13245
13718
|
readonly activeElement: Element | null;
|
|
13246
|
-
/**
|
|
13719
|
+
/**
|
|
13720
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13721
|
+
*
|
|
13722
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13723
|
+
*/
|
|
13247
13724
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13725
|
+
/**
|
|
13726
|
+
* The **`customElementRegistry`** read-only property of the Document interface returns the CustomElementRegistry object associated with this document, or null if one has not been set.
|
|
13727
|
+
*
|
|
13728
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13729
|
+
*/
|
|
13248
13730
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13249
13731
|
/**
|
|
13250
|
-
*
|
|
13732
|
+
* The **`Document.fullscreenElement`** read-only property returns the Element that is currently being presented in fullscreen mode in this document, or null if fullscreen mode is not currently in use.
|
|
13251
13733
|
*
|
|
13252
13734
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13253
13735
|
*/
|
|
13254
13736
|
readonly fullscreenElement: Element | null;
|
|
13255
|
-
/**
|
|
13737
|
+
/**
|
|
13738
|
+
* The read-only **`pictureInPictureElement`** property of the Document interface returns the Element that is currently being presented in picture-in-picture mode in this document, or null if picture-in-picture mode is not currently in use.
|
|
13739
|
+
*
|
|
13740
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13741
|
+
*/
|
|
13256
13742
|
readonly pictureInPictureElement: Element | null;
|
|
13257
|
-
/**
|
|
13743
|
+
/**
|
|
13744
|
+
* The **`pointerLockElement`** read-only property of the Document interface provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.
|
|
13745
|
+
*
|
|
13746
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13747
|
+
*/
|
|
13258
13748
|
readonly pointerLockElement: Element | null;
|
|
13259
|
-
/**
|
|
13749
|
+
/**
|
|
13750
|
+
* The **`styleSheets`** read-only property of the Document interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
|
|
13751
|
+
*
|
|
13752
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13753
|
+
*/
|
|
13260
13754
|
readonly styleSheets: StyleSheetList;
|
|
13755
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13261
13756
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13757
|
+
/** The **`elementsFromPoint()`** method of the Document interface returns an array of all elements at the specified coordinates (relative to the viewport). The elements are ordered from the topmost to the bottommost box of the viewport. */
|
|
13262
13758
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13263
|
-
/**
|
|
13759
|
+
/**
|
|
13760
|
+
* The **`getAnimations()`** method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document. This array includes CSS Animations, CSS Transitions, and Web Animations.
|
|
13761
|
+
*
|
|
13762
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13763
|
+
*/
|
|
13264
13764
|
getAnimations(): Animation[];
|
|
13265
13765
|
}
|
|
13266
13766
|
|
|
13767
|
+
interface DocumentPictureInPictureEventMap {
|
|
13768
|
+
"enter": DocumentPictureInPictureEvent;
|
|
13769
|
+
}
|
|
13770
|
+
|
|
13771
|
+
/**
|
|
13772
|
+
* The **`DocumentPictureInPicture`** interface of the Document Picture-in-Picture API is the entry point for creating and handling document picture-in-picture windows.
|
|
13773
|
+
* Available only in secure contexts.
|
|
13774
|
+
*
|
|
13775
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture)
|
|
13776
|
+
*/
|
|
13777
|
+
interface DocumentPictureInPicture extends EventTarget {
|
|
13778
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/enter_event) */
|
|
13779
|
+
onenter: ((this: DocumentPictureInPicture, ev: DocumentPictureInPictureEvent) => any) | null;
|
|
13780
|
+
/**
|
|
13781
|
+
* The **`window`** read-only property of the DocumentPictureInPicture interface returns a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13782
|
+
*
|
|
13783
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/window)
|
|
13784
|
+
*/
|
|
13785
|
+
readonly window: Window;
|
|
13786
|
+
/**
|
|
13787
|
+
* The **`requestWindow()`** method of the DocumentPictureInPicture interface opens the Picture-in-Picture window for the current main browsing context. It returns a Promise that fulfills with a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13788
|
+
*
|
|
13789
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/requestWindow)
|
|
13790
|
+
*/
|
|
13791
|
+
requestWindow(options?: DocumentPictureInPictureOptions): Promise<Window>;
|
|
13792
|
+
addEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13793
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13794
|
+
removeEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13795
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13796
|
+
}
|
|
13797
|
+
|
|
13798
|
+
declare var DocumentPictureInPicture: {
|
|
13799
|
+
prototype: DocumentPictureInPicture;
|
|
13800
|
+
new(): DocumentPictureInPicture;
|
|
13801
|
+
};
|
|
13802
|
+
|
|
13803
|
+
/**
|
|
13804
|
+
* The **`DocumentPictureInPictureEvent`** interface of the Document Picture-in-Picture API is the event object for the enter event, which fires when the Picture-in-Picture window is opened.
|
|
13805
|
+
* Available only in secure contexts.
|
|
13806
|
+
*
|
|
13807
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent)
|
|
13808
|
+
*/
|
|
13809
|
+
interface DocumentPictureInPictureEvent extends Event {
|
|
13810
|
+
/**
|
|
13811
|
+
* The **`window`** read-only property of the DocumentPictureInPictureEvent interface returns a Window instance representing the browsing context inside the DocumentPictureInPicture window the event was fired on.
|
|
13812
|
+
*
|
|
13813
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent/window)
|
|
13814
|
+
*/
|
|
13815
|
+
readonly window: Window;
|
|
13816
|
+
}
|
|
13817
|
+
|
|
13818
|
+
declare var DocumentPictureInPictureEvent: {
|
|
13819
|
+
prototype: DocumentPictureInPictureEvent;
|
|
13820
|
+
new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent;
|
|
13821
|
+
};
|
|
13822
|
+
|
|
13267
13823
|
/**
|
|
13268
13824
|
* The **`DocumentTimeline`** interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
|
|
13269
13825
|
*
|
|
@@ -13555,6 +14111,11 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13555
14111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
|
|
13556
14112
|
*/
|
|
13557
14113
|
readonly currentCSSZoom: number;
|
|
14114
|
+
/**
|
|
14115
|
+
* The **`customElementRegistry`** read-only property of the Element interface returns the CustomElementRegistry object associated with this element, or null if one has not been set.
|
|
14116
|
+
*
|
|
14117
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry)
|
|
14118
|
+
*/
|
|
13558
14119
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13559
14120
|
/**
|
|
13560
14121
|
* The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
|
|
@@ -13885,12 +14446,18 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13885
14446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)
|
|
13886
14447
|
*/
|
|
13887
14448
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
14449
|
+
/**
|
|
14450
|
+
* The **`setHTML()`** method of the Element interface provides an XSS-safe method to parse and sanitize a string of HTML and insert it into the DOM as a subtree of the element.
|
|
14451
|
+
*
|
|
14452
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTML)
|
|
14453
|
+
*/
|
|
14454
|
+
setHTML(html: string, options?: SetHTMLOptions): void;
|
|
13888
14455
|
/**
|
|
13889
14456
|
* The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
|
|
13890
14457
|
*
|
|
13891
14458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
|
|
13892
14459
|
*/
|
|
13893
|
-
setHTMLUnsafe(html: string): void;
|
|
14460
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
13894
14461
|
/**
|
|
13895
14462
|
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
|
|
13896
14463
|
*
|
|
@@ -13898,7 +14465,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13898
14465
|
*/
|
|
13899
14466
|
setPointerCapture(pointerId: number): void;
|
|
13900
14467
|
/**
|
|
13901
|
-
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute
|
|
14468
|
+
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute on the given element, removing it if present and adding it if not present.
|
|
13902
14469
|
*
|
|
13903
14470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
13904
14471
|
*/
|
|
@@ -14200,7 +14767,7 @@ interface Event {
|
|
|
14200
14767
|
*/
|
|
14201
14768
|
readonly eventPhase: number;
|
|
14202
14769
|
/**
|
|
14203
|
-
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The
|
|
14770
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
|
|
14204
14771
|
*
|
|
14205
14772
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
14206
14773
|
*/
|
|
@@ -16177,8 +16744,12 @@ interface GPUSupportedLimits {
|
|
|
16177
16744
|
readonly maxSamplersPerShaderStage: number;
|
|
16178
16745
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16179
16746
|
readonly maxStorageBufferBindingSize: number;
|
|
16747
|
+
readonly maxStorageBuffersInFragmentStage: number;
|
|
16748
|
+
readonly maxStorageBuffersInVertexStage: number;
|
|
16180
16749
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16181
16750
|
readonly maxStorageBuffersPerShaderStage: number;
|
|
16751
|
+
readonly maxStorageTexturesInFragmentStage: number;
|
|
16752
|
+
readonly maxStorageTexturesInVertexStage: number;
|
|
16182
16753
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16183
16754
|
readonly maxStorageTexturesPerShaderStage: number;
|
|
16184
16755
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
@@ -17029,7 +17600,7 @@ declare var HTMLAllCollection: {
|
|
|
17029
17600
|
*
|
|
17030
17601
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
|
|
17031
17602
|
*/
|
|
17032
|
-
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17603
|
+
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17033
17604
|
/** @deprecated */
|
|
17034
17605
|
charset: string;
|
|
17035
17606
|
/** @deprecated */
|
|
@@ -17040,12 +17611,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
17040
17611
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17041
17612
|
*/
|
|
17042
17613
|
download: string;
|
|
17043
|
-
/**
|
|
17044
|
-
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
17045
|
-
*
|
|
17046
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
17047
|
-
*/
|
|
17048
|
-
hreflang: string;
|
|
17049
17614
|
/** @deprecated */
|
|
17050
17615
|
name: string;
|
|
17051
17616
|
/**
|
|
@@ -17077,24 +17642,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
17077
17642
|
rev: string;
|
|
17078
17643
|
/** @deprecated */
|
|
17079
17644
|
shape: string;
|
|
17080
|
-
/**
|
|
17081
|
-
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
17082
|
-
*
|
|
17083
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
17084
|
-
*/
|
|
17085
|
-
target: string;
|
|
17086
17645
|
/**
|
|
17087
17646
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17088
17647
|
*
|
|
17089
17648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17090
17649
|
*/
|
|
17091
17650
|
text: string;
|
|
17092
|
-
/**
|
|
17093
|
-
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
17094
|
-
*
|
|
17095
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
17096
|
-
*/
|
|
17097
|
-
type: string;
|
|
17098
17651
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17099
17652
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17100
17653
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17111,7 +17664,7 @@ declare var HTMLAnchorElement: {
|
|
|
17111
17664
|
*
|
|
17112
17665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
|
|
17113
17666
|
*/
|
|
17114
|
-
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17667
|
+
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17115
17668
|
/**
|
|
17116
17669
|
* The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
|
|
17117
17670
|
*
|
|
@@ -17163,12 +17716,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
17163
17716
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17164
17717
|
*/
|
|
17165
17718
|
shape: string;
|
|
17166
|
-
/**
|
|
17167
|
-
* The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource.
|
|
17168
|
-
*
|
|
17169
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
|
|
17170
|
-
*/
|
|
17171
|
-
target: string;
|
|
17172
17719
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17173
17720
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17174
17721
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17441,6 +17988,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17441
17988
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17442
17989
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17443
17990
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17991
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17444
17992
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17445
17993
|
/**
|
|
17446
17994
|
* The **`HTMLCanvasElement.toBlob()`** method creates a Blob object representing the image contained in the canvas. This file may be cached on the disk or stored in memory at the discretion of the user agent.
|
|
@@ -17726,7 +18274,7 @@ interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventM
|
|
|
17726
18274
|
*
|
|
17727
18275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)
|
|
17728
18276
|
*/
|
|
17729
|
-
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
|
|
18277
|
+
interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement, HTMLOrSVGOrMathMLElement {
|
|
17730
18278
|
/**
|
|
17731
18279
|
* The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.
|
|
17732
18280
|
*
|
|
@@ -18364,92 +18912,18 @@ declare var HTMLHtmlElement: {
|
|
|
18364
18912
|
|
|
18365
18913
|
interface HTMLHyperlinkElementUtils {
|
|
18366
18914
|
/**
|
|
18367
|
-
*
|
|
18368
|
-
*
|
|
18369
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
18370
|
-
*
|
|
18371
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
18372
|
-
*/
|
|
18373
|
-
hash: string;
|
|
18374
|
-
/**
|
|
18375
|
-
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
|
|
18376
|
-
*
|
|
18377
|
-
* Can be set, to change the URL's host and port.
|
|
18378
|
-
*
|
|
18379
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
18380
|
-
*/
|
|
18381
|
-
host: string;
|
|
18382
|
-
/**
|
|
18383
|
-
* Returns the hyperlink's URL's host.
|
|
18384
|
-
*
|
|
18385
|
-
* Can be set, to change the URL's host.
|
|
18386
|
-
*
|
|
18387
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
18388
|
-
*/
|
|
18389
|
-
hostname: string;
|
|
18390
|
-
/**
|
|
18391
|
-
* Returns the hyperlink's URL.
|
|
18392
|
-
*
|
|
18393
|
-
* Can be set, to change the URL.
|
|
18915
|
+
* The **`href`** property of the HTMLAnchorElement interface is a stringifier that returns the absolute URL corresponding to the element's href attribute (or an empty string if href is unset). Setting this property updates the element's href attribute to the provided value.
|
|
18394
18916
|
*
|
|
18395
18917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18396
18918
|
*/
|
|
18397
18919
|
href: string;
|
|
18398
18920
|
toString(): string;
|
|
18399
18921
|
/**
|
|
18400
|
-
*
|
|
18401
|
-
*
|
|
18402
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
18403
|
-
*/
|
|
18404
|
-
readonly origin: string;
|
|
18405
|
-
/**
|
|
18406
|
-
* Returns the hyperlink's URL's password.
|
|
18407
|
-
*
|
|
18408
|
-
* Can be set, to change the URL's password.
|
|
18409
|
-
*
|
|
18410
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
18411
|
-
*/
|
|
18412
|
-
password: string;
|
|
18413
|
-
/**
|
|
18414
|
-
* Returns the hyperlink's URL's path.
|
|
18415
|
-
*
|
|
18416
|
-
* Can be set, to change the URL's path.
|
|
18417
|
-
*
|
|
18418
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
18419
|
-
*/
|
|
18420
|
-
pathname: string;
|
|
18421
|
-
/**
|
|
18422
|
-
* Returns the hyperlink's URL's port.
|
|
18423
|
-
*
|
|
18424
|
-
* Can be set, to change the URL's port.
|
|
18425
|
-
*
|
|
18426
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
18427
|
-
*/
|
|
18428
|
-
port: string;
|
|
18429
|
-
/**
|
|
18430
|
-
* Returns the hyperlink's URL's scheme.
|
|
18431
|
-
*
|
|
18432
|
-
* Can be set, to change the URL's scheme.
|
|
18433
|
-
*
|
|
18434
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
18435
|
-
*/
|
|
18436
|
-
protocol: string;
|
|
18437
|
-
/**
|
|
18438
|
-
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
|
|
18439
|
-
*
|
|
18440
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
18441
|
-
*
|
|
18442
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
18443
|
-
*/
|
|
18444
|
-
search: string;
|
|
18445
|
-
/**
|
|
18446
|
-
* Returns the hyperlink's URL's username.
|
|
18447
|
-
*
|
|
18448
|
-
* Can be set, to change the URL's username.
|
|
18922
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18449
18923
|
*
|
|
18450
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/
|
|
18924
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18451
18925
|
*/
|
|
18452
|
-
|
|
18926
|
+
target: string;
|
|
18453
18927
|
}
|
|
18454
18928
|
|
|
18455
18929
|
/**
|
|
@@ -18493,7 +18967,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
18493
18967
|
*/
|
|
18494
18968
|
height: string;
|
|
18495
18969
|
/**
|
|
18496
|
-
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the
|
|
18970
|
+
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the browser indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
|
|
18497
18971
|
*
|
|
18498
18972
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
|
|
18499
18973
|
*/
|
|
@@ -18597,7 +19071,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18597
19071
|
*
|
|
18598
19072
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)
|
|
18599
19073
|
*/
|
|
18600
|
-
crossOrigin:
|
|
19074
|
+
crossOrigin: "anonymous" | "use-credentials" | null;
|
|
18601
19075
|
/**
|
|
18602
19076
|
* The **`currentSrc`** read-only property of the HTMLImageElement interface indicates the URL of the image selected by the browser to load.
|
|
18603
19077
|
*
|
|
@@ -18636,7 +19110,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18636
19110
|
*/
|
|
18637
19111
|
isMap: boolean;
|
|
18638
19112
|
/**
|
|
18639
|
-
* The **`loading`** property of the HTMLImageElement interface provides a hint to the
|
|
19113
|
+
* The **`loading`** property of the HTMLImageElement interface provides a hint to the browser on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
|
|
18640
19114
|
*
|
|
18641
19115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
18642
19116
|
*/
|
|
@@ -18676,7 +19150,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18676
19150
|
*/
|
|
18677
19151
|
referrerPolicy: string;
|
|
18678
19152
|
/**
|
|
18679
|
-
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries
|
|
19153
|
+
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries, or auto for lazy-loaded images to allow the browser to automatically select an image to display based on the layout size of the element. This allows the browser to choose between different images specified in the element srcset to match different media conditions — even images with different orientations or aspect ratios.
|
|
18680
19154
|
*
|
|
18681
19155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
18682
19156
|
*/
|
|
@@ -18779,6 +19253,12 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
18779
19253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
18780
19254
|
*/
|
|
18781
19255
|
checked: boolean;
|
|
19256
|
+
/**
|
|
19257
|
+
* The **`colorSpace`** property of the HTMLInputElement interface reflects the <input> element's colorspace attribute, which indicates whether the color space of the serialized CSS color is sRGB (the default) or display-p3. It is only relevant to color controls.
|
|
19258
|
+
*
|
|
19259
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/colorSpace)
|
|
19260
|
+
*/
|
|
19261
|
+
colorSpace: string;
|
|
18782
19262
|
/**
|
|
18783
19263
|
* The **`defaultChecked`** property of the HTMLInputElement interface specifies the default checkedness state of the element. This property reflects the <input> element's checked attribute.
|
|
18784
19264
|
*
|
|
@@ -19583,6 +20063,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
19583
20063
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)
|
|
19584
20064
|
*/
|
|
19585
20065
|
canPlayType(type: string): CanPlayTypeResult;
|
|
20066
|
+
/**
|
|
20067
|
+
* The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object that streams a real-time capture of the content being rendered in the media element.
|
|
20068
|
+
*
|
|
20069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
|
|
20070
|
+
*/
|
|
20071
|
+
captureStream(): MediaStream;
|
|
19586
20072
|
/**
|
|
19587
20073
|
* The **`HTMLMediaElement.fastSeek()`** method quickly seeks the media to the new time with precision tradeoff.
|
|
19588
20074
|
*
|
|
@@ -20117,7 +20603,10 @@ declare var HTMLOptionsCollection: {
|
|
|
20117
20603
|
new(): HTMLOptionsCollection;
|
|
20118
20604
|
};
|
|
20119
20605
|
|
|
20120
|
-
interface HTMLOrSVGElement {
|
|
20606
|
+
interface HTMLOrSVGElement extends HTMLOrSVGOrMathMLElement {
|
|
20607
|
+
}
|
|
20608
|
+
|
|
20609
|
+
interface HTMLOrSVGOrMathMLElement {
|
|
20121
20610
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
20122
20611
|
autofocus: boolean;
|
|
20123
20612
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
|
|
@@ -21320,6 +21809,11 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
21320
21809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
|
|
21321
21810
|
*/
|
|
21322
21811
|
shadowRootClonable: boolean;
|
|
21812
|
+
/**
|
|
21813
|
+
* The **`shadowRootCustomElementRegistry`** property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.
|
|
21814
|
+
*
|
|
21815
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry)
|
|
21816
|
+
*/
|
|
21323
21817
|
shadowRootCustomElementRegistry: string;
|
|
21324
21818
|
/**
|
|
21325
21819
|
* The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
|
|
@@ -21867,7 +22361,7 @@ declare var Headers: {
|
|
|
21867
22361
|
};
|
|
21868
22362
|
|
|
21869
22363
|
/**
|
|
21870
|
-
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of
|
|
22364
|
+
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of AbstractRange instances to be styled using the API.
|
|
21871
22365
|
*
|
|
21872
22366
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight)
|
|
21873
22367
|
*/
|
|
@@ -21898,6 +22392,12 @@ declare var Highlight: {
|
|
|
21898
22392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry)
|
|
21899
22393
|
*/
|
|
21900
22394
|
interface HighlightRegistry {
|
|
22395
|
+
/**
|
|
22396
|
+
* The **`highlightsFromPoint()`** method of the HighlightRegistry interface returns an array of objects representing the custom highlights applied at a specific point within the viewport.
|
|
22397
|
+
*
|
|
22398
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry/highlightsFromPoint)
|
|
22399
|
+
*/
|
|
22400
|
+
highlightsFromPoint(x: number, y: number, options?: HighlightsFromPointOptions): HighlightHitResult[];
|
|
21901
22401
|
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
|
|
21902
22402
|
}
|
|
21903
22403
|
|
|
@@ -21967,6 +22467,81 @@ declare var History: {
|
|
|
21967
22467
|
new(): History;
|
|
21968
22468
|
};
|
|
21969
22469
|
|
|
22470
|
+
interface HyperlinkElementUtils {
|
|
22471
|
+
/**
|
|
22472
|
+
* The **`hash`** property of the HTMLAnchorElement interface is a string containing a "#" followed by the fragment identifier of the <a> element's href. If the URL does not have a fragment identifier, this property contains an empty string, "".
|
|
22473
|
+
*
|
|
22474
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22475
|
+
*/
|
|
22476
|
+
hash: string;
|
|
22477
|
+
/**
|
|
22478
|
+
* The **`host`** property of the HTMLAnchorElement interface is a string containing the host, which is the hostname, and then, if the port of the URL is nonempty, a ":", followed by the port of the URL. If the URL does not have a hostname, this property contains an empty string, "".
|
|
22479
|
+
*
|
|
22480
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22481
|
+
*/
|
|
22482
|
+
host: string;
|
|
22483
|
+
/**
|
|
22484
|
+
* The **`hostname`** property of the HTMLAnchorElement interface is a string containing either the domain name or IP address of the <a> element's href. If the URL does not have a hostname, this property contains an empty string, "". IPv4 and IPv6 addresses are normalized, such as stripping leading zeros, and domain names are converted to IDN.
|
|
22485
|
+
*
|
|
22486
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22487
|
+
*/
|
|
22488
|
+
hostname: string;
|
|
22489
|
+
/**
|
|
22490
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22491
|
+
*
|
|
22492
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22493
|
+
*/
|
|
22494
|
+
hreflang: string;
|
|
22495
|
+
/**
|
|
22496
|
+
* The **`origin`** read-only property of the HTMLAnchorElement interface returns a string containing the Unicode serialization of the origin of the <a> element's href.
|
|
22497
|
+
*
|
|
22498
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22499
|
+
*/
|
|
22500
|
+
readonly origin: string;
|
|
22501
|
+
/**
|
|
22502
|
+
* The **`password`** property of the HTMLAnchorElement interface is a string containing the password component of the <a> element's href. If the URL does not have a password, this property contains an empty string, "".
|
|
22503
|
+
*
|
|
22504
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22505
|
+
*/
|
|
22506
|
+
password: string;
|
|
22507
|
+
/**
|
|
22508
|
+
* The **`HTMLAnchorElement.pathname`** property is a string containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).
|
|
22509
|
+
*
|
|
22510
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22511
|
+
*/
|
|
22512
|
+
pathname: string;
|
|
22513
|
+
/**
|
|
22514
|
+
* The **`port`** property of the HTMLAnchorElement interface is a string containing the port number of the <a> element's href. If the port is the default for the protocol (80 for ws: and http:, 443 for wss: and https:, and 21 for ftp:), this property contains an empty string, "".
|
|
22515
|
+
*
|
|
22516
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22517
|
+
*/
|
|
22518
|
+
port: string;
|
|
22519
|
+
/**
|
|
22520
|
+
* The **`protocol`** property of the HTMLAnchorElement interface is a string containing the protocol or scheme of the <area> element's href, including the final ":".
|
|
22521
|
+
*
|
|
22522
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22523
|
+
*/
|
|
22524
|
+
protocol: string;
|
|
22525
|
+
/**
|
|
22526
|
+
* The **`search`** property of the HTMLAnchorElement interface is a search string, also called a query string, that is a string containing a "?" followed by the parameters of the <a> element's href. If the URL does not have a search query, this property contains an empty string, "".
|
|
22527
|
+
*
|
|
22528
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22529
|
+
*/
|
|
22530
|
+
search: string;
|
|
22531
|
+
/**
|
|
22532
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22533
|
+
*
|
|
22534
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22535
|
+
*/
|
|
22536
|
+
type: string;
|
|
22537
|
+
/**
|
|
22538
|
+
* The **`username`** property of the HTMLAnchorElement interface is a string containing the username component of the <a> element's href. If the URL does not have a username, this property contains an empty string, "".
|
|
22539
|
+
*
|
|
22540
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22541
|
+
*/
|
|
22542
|
+
username: string;
|
|
22543
|
+
}
|
|
22544
|
+
|
|
21970
22545
|
/**
|
|
21971
22546
|
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
21972
22547
|
*
|
|
@@ -23749,7 +24324,7 @@ interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEven
|
|
|
23749
24324
|
*
|
|
23750
24325
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)
|
|
23751
24326
|
*/
|
|
23752
|
-
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers,
|
|
24327
|
+
interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGOrMathMLElement {
|
|
23753
24328
|
addEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23754
24329
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23755
24330
|
removeEventListener<K extends keyof MathMLElementEventMap>(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -25741,11 +26316,12 @@ declare var NavigationPreloadManager: {
|
|
|
25741
26316
|
};
|
|
25742
26317
|
|
|
25743
26318
|
/**
|
|
25744
|
-
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation
|
|
26319
|
+
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation — a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
|
|
25745
26320
|
*
|
|
25746
26321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
|
|
25747
26322
|
*/
|
|
25748
26323
|
interface NavigationTransition {
|
|
26324
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition/committed) */
|
|
25749
26325
|
readonly committed: Promise<void>;
|
|
25750
26326
|
/**
|
|
25751
26327
|
* The **`finished`** read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires.
|
|
@@ -25838,6 +26414,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
25838
26414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
25839
26415
|
*/
|
|
25840
26416
|
readonly permissions: Permissions;
|
|
26417
|
+
/**
|
|
26418
|
+
* The **`serial`** read-only property of the Navigator interface returns a Serial object which represents the entry point into the Web Serial API.
|
|
26419
|
+
*
|
|
26420
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serial)
|
|
26421
|
+
*/
|
|
26422
|
+
readonly serial: Serial;
|
|
25841
26423
|
/**
|
|
25842
26424
|
* The **`serviceWorker`** read-only property of the Navigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.
|
|
25843
26425
|
* Available only in secure contexts.
|
|
@@ -26388,7 +26970,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26388
26970
|
|
|
26389
26971
|
interface NonElementParentNode {
|
|
26390
26972
|
/**
|
|
26391
|
-
*
|
|
26973
|
+
* The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
|
|
26392
26974
|
*
|
|
26393
26975
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26394
26976
|
*/
|
|
@@ -26408,6 +26990,12 @@ interface NotificationEventMap {
|
|
|
26408
26990
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
26409
26991
|
*/
|
|
26410
26992
|
interface Notification extends EventTarget {
|
|
26993
|
+
/**
|
|
26994
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
26995
|
+
*
|
|
26996
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
26997
|
+
*/
|
|
26998
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
26411
26999
|
/**
|
|
26412
27000
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
26413
27001
|
*
|
|
@@ -26485,6 +27073,12 @@ interface Notification extends EventTarget {
|
|
|
26485
27073
|
declare var Notification: {
|
|
26486
27074
|
prototype: Notification;
|
|
26487
27075
|
new(title: string, options?: NotificationOptions): Notification;
|
|
27076
|
+
/**
|
|
27077
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
27078
|
+
*
|
|
27079
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
27080
|
+
*/
|
|
27081
|
+
readonly maxActions: number;
|
|
26488
27082
|
/**
|
|
26489
27083
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
26490
27084
|
*
|
|
@@ -26767,9 +27361,10 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
26767
27361
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
26768
27362
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
26769
27363
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27364
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
26770
27365
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
26771
27366
|
/**
|
|
26772
|
-
* The **`
|
|
27367
|
+
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
|
|
26773
27368
|
*
|
|
26774
27369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
|
|
26775
27370
|
*/
|
|
@@ -26800,6 +27395,18 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
26800
27395
|
new(): OffscreenCanvasRenderingContext2D;
|
|
26801
27396
|
};
|
|
26802
27397
|
|
|
27398
|
+
interface Origin {
|
|
27399
|
+
readonly opaque: boolean;
|
|
27400
|
+
isSameOrigin(other: Origin): boolean;
|
|
27401
|
+
isSameSite(other: Origin): boolean;
|
|
27402
|
+
}
|
|
27403
|
+
|
|
27404
|
+
declare var Origin: {
|
|
27405
|
+
prototype: Origin;
|
|
27406
|
+
new(): Origin;
|
|
27407
|
+
from(value: any): Origin;
|
|
27408
|
+
};
|
|
27409
|
+
|
|
26803
27410
|
/**
|
|
26804
27411
|
* The **`OscillatorNode`** interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
|
|
26805
27412
|
*
|
|
@@ -26924,7 +27531,9 @@ declare var PageTransitionEvent: {
|
|
|
26924
27531
|
};
|
|
26925
27532
|
|
|
26926
27533
|
interface PaintTimingMixin {
|
|
27534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/paintTime) */
|
|
26927
27535
|
readonly paintTime: DOMHighResTimeStamp;
|
|
27536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/presentationTime) */
|
|
26928
27537
|
readonly presentationTime: DOMHighResTimeStamp | null;
|
|
26929
27538
|
}
|
|
26930
27539
|
|
|
@@ -27040,46 +27649,50 @@ declare var PannerNode: {
|
|
|
27040
27649
|
};
|
|
27041
27650
|
|
|
27042
27651
|
interface ParentNode extends Node {
|
|
27043
|
-
/**
|
|
27652
|
+
/**
|
|
27653
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27654
|
+
*
|
|
27655
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27656
|
+
*/
|
|
27044
27657
|
readonly childElementCount: number;
|
|
27045
27658
|
/**
|
|
27046
|
-
*
|
|
27659
|
+
* The read-only **`children`** property returns a live HTMLCollection which contains all of the child elements of the document upon which it was called.
|
|
27047
27660
|
*
|
|
27048
27661
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27049
27662
|
*/
|
|
27050
27663
|
readonly children: HTMLCollection;
|
|
27051
27664
|
/**
|
|
27052
|
-
*
|
|
27665
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27053
27666
|
*
|
|
27054
27667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27055
27668
|
*/
|
|
27056
27669
|
readonly firstElementChild: Element | null;
|
|
27057
27670
|
/**
|
|
27058
|
-
*
|
|
27671
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27059
27672
|
*
|
|
27060
27673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27061
27674
|
*/
|
|
27062
27675
|
readonly lastElementChild: Element | null;
|
|
27063
27676
|
/**
|
|
27064
|
-
*
|
|
27065
|
-
*
|
|
27066
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27677
|
+
* The **`Document.append()`** method inserts a set of Node objects or strings after the last child of the document. Strings are inserted as equivalent Text nodes.
|
|
27067
27678
|
*
|
|
27068
27679
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27069
27680
|
*/
|
|
27070
27681
|
append(...nodes: (Node | string)[]): void;
|
|
27071
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
27072
|
-
moveBefore(node: Node, child: Node | null): void;
|
|
27073
27682
|
/**
|
|
27074
|
-
*
|
|
27683
|
+
* The **`moveBefore()`** method of the Document interface moves a given Node inside the Document DOM node as a direct child, before a given reference node.
|
|
27075
27684
|
*
|
|
27076
|
-
*
|
|
27685
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27686
|
+
*/
|
|
27687
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27688
|
+
/**
|
|
27689
|
+
* The **`Document.prepend()`** method inserts a set of Node objects or strings before the first child of the document. Strings are inserted as equivalent Text nodes.
|
|
27077
27690
|
*
|
|
27078
27691
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27079
27692
|
*/
|
|
27080
27693
|
prepend(...nodes: (Node | string)[]): void;
|
|
27081
27694
|
/**
|
|
27082
|
-
*
|
|
27695
|
+
* The Document method **`querySelector()`** returns the first Element within the document that matches the specified CSS selector, or group of CSS selectors. If no matches are found, null is returned.
|
|
27083
27696
|
*
|
|
27084
27697
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27085
27698
|
*/
|
|
@@ -27090,7 +27703,7 @@ interface ParentNode extends Node {
|
|
|
27090
27703
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27091
27704
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27092
27705
|
/**
|
|
27093
|
-
*
|
|
27706
|
+
* The Document method **`querySelectorAll()`** returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
|
|
27094
27707
|
*
|
|
27095
27708
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27096
27709
|
*/
|
|
@@ -27101,9 +27714,7 @@ interface ParentNode extends Node {
|
|
|
27101
27714
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27102
27715
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27103
27716
|
/**
|
|
27104
|
-
*
|
|
27105
|
-
*
|
|
27106
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27717
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27107
27718
|
*
|
|
27108
27719
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27109
27720
|
*/
|
|
@@ -27906,12 +28517,24 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27906
28517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
|
|
27907
28518
|
*/
|
|
27908
28519
|
readonly connectStart: DOMHighResTimeStamp;
|
|
28520
|
+
/**
|
|
28521
|
+
* The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
|
|
28522
|
+
*
|
|
28523
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
|
|
28524
|
+
*/
|
|
28525
|
+
readonly contentType: string;
|
|
27909
28526
|
/**
|
|
27910
28527
|
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
|
|
27911
28528
|
*
|
|
27912
28529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
|
|
27913
28530
|
*/
|
|
27914
28531
|
readonly decodedBodySize: number;
|
|
28532
|
+
/**
|
|
28533
|
+
* The **`deliveryType`** read-only property is a string indicating how the resource was delivered — for example from the cache or from a navigational prefetch.
|
|
28534
|
+
*
|
|
28535
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/deliveryType)
|
|
28536
|
+
*/
|
|
28537
|
+
readonly deliveryType: string;
|
|
27915
28538
|
/**
|
|
27916
28539
|
* The **`domainLookupEnd`** read-only property returns the timestamp immediately after the browser finishes the domain-name lookup for the resource.
|
|
27917
28540
|
*
|
|
@@ -27936,6 +28559,18 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27936
28559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)
|
|
27937
28560
|
*/
|
|
27938
28561
|
readonly fetchStart: DOMHighResTimeStamp;
|
|
28562
|
+
/**
|
|
28563
|
+
* The **`finalResponseHeadersStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the final document response (for example, 200 OK) from the server.
|
|
28564
|
+
*
|
|
28565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/finalResponseHeadersStart)
|
|
28566
|
+
*/
|
|
28567
|
+
readonly finalResponseHeadersStart: DOMHighResTimeStamp;
|
|
28568
|
+
/**
|
|
28569
|
+
* The **`firstInterimResponseStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the interim 1xx response (for example, 100 Continue or 103 Early Hints) from the server.
|
|
28570
|
+
*
|
|
28571
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/firstInterimResponseStart)
|
|
28572
|
+
*/
|
|
28573
|
+
readonly firstInterimResponseStart: DOMHighResTimeStamp;
|
|
27939
28574
|
/**
|
|
27940
28575
|
* The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.
|
|
27941
28576
|
*
|
|
@@ -28545,9 +29180,17 @@ declare var PopStateEvent: {
|
|
|
28545
29180
|
};
|
|
28546
29181
|
|
|
28547
29182
|
interface PopoverTargetAttributes {
|
|
28548
|
-
/**
|
|
29183
|
+
/**
|
|
29184
|
+
* The **`popoverTargetAction`** property of the HTMLButtonElement interface gets and sets the action to be performed ("hide", "show", or "toggle") on a popover element being controlled by a button.
|
|
29185
|
+
*
|
|
29186
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29187
|
+
*/
|
|
28549
29188
|
popoverTargetAction: string;
|
|
28550
|
-
/**
|
|
29189
|
+
/**
|
|
29190
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29191
|
+
*
|
|
29192
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29193
|
+
*/
|
|
28551
29194
|
popoverTargetElement: Element | null;
|
|
28552
29195
|
}
|
|
28553
29196
|
|
|
@@ -29151,7 +29794,7 @@ interface RTCEncodedVideoFrame {
|
|
|
29151
29794
|
*/
|
|
29152
29795
|
readonly timestamp: number;
|
|
29153
29796
|
/**
|
|
29154
|
-
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame
|
|
29797
|
+
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame or a delta frame.
|
|
29155
29798
|
*
|
|
29156
29799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
29157
29800
|
*/
|
|
@@ -29366,6 +30009,12 @@ interface RTCIceTransport extends EventTarget {
|
|
|
29366
30009
|
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
29367
30010
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/statechange_event) */
|
|
29368
30011
|
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
30012
|
+
/**
|
|
30013
|
+
* The **`role`** read-only property of the RTCIceTransport interface indicates which ICE role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.
|
|
30014
|
+
*
|
|
30015
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/role)
|
|
30016
|
+
*/
|
|
30017
|
+
readonly role: RTCIceRole;
|
|
29369
30018
|
/**
|
|
29370
30019
|
* The **`state`** read-only property of the RTCIceTransport interface returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.
|
|
29371
30020
|
*
|
|
@@ -29638,9 +30287,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
|
29638
30287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
|
|
29639
30288
|
*/
|
|
29640
30289
|
readonly address: string | null;
|
|
30290
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
29641
30291
|
readonly errorCode: number;
|
|
30292
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
29642
30293
|
readonly errorText: string;
|
|
30294
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
|
|
29643
30295
|
readonly port: number | null;
|
|
30296
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
29644
30297
|
readonly url: string;
|
|
29645
30298
|
}
|
|
29646
30299
|
|
|
@@ -29745,7 +30398,7 @@ interface RTCRtpScriptTransform {
|
|
|
29745
30398
|
|
|
29746
30399
|
declare var RTCRtpScriptTransform: {
|
|
29747
30400
|
prototype: RTCRtpScriptTransform;
|
|
29748
|
-
new(
|
|
30401
|
+
new(workerOrWorkerAndParameters: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
|
|
29749
30402
|
};
|
|
29750
30403
|
|
|
29751
30404
|
/**
|
|
@@ -30323,7 +30976,7 @@ interface ReadableStreamBYOBRequest {
|
|
|
30323
30976
|
*
|
|
30324
30977
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
|
|
30325
30978
|
*/
|
|
30326
|
-
readonly view:
|
|
30979
|
+
readonly view: Uint8Array<ArrayBuffer> | null;
|
|
30327
30980
|
/**
|
|
30328
30981
|
* The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
|
|
30329
30982
|
*
|
|
@@ -31185,13 +31838,13 @@ interface SVGAnimatedRect {
|
|
|
31185
31838
|
*
|
|
31186
31839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)
|
|
31187
31840
|
*/
|
|
31188
|
-
readonly animVal:
|
|
31841
|
+
readonly animVal: SVGRect;
|
|
31189
31842
|
/**
|
|
31190
31843
|
* The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
|
|
31191
31844
|
*
|
|
31192
31845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)
|
|
31193
31846
|
*/
|
|
31194
|
-
readonly baseVal:
|
|
31847
|
+
readonly baseVal: SVGRect;
|
|
31195
31848
|
}
|
|
31196
31849
|
|
|
31197
31850
|
declare var SVGAnimatedRect: {
|
|
@@ -31491,7 +32144,7 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
|
|
|
31491
32144
|
*
|
|
31492
32145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
|
31493
32146
|
*/
|
|
31494
|
-
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
|
|
32147
|
+
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement, HTMLOrSVGOrMathMLElement {
|
|
31495
32148
|
/** @deprecated */
|
|
31496
32149
|
readonly className: any;
|
|
31497
32150
|
/**
|
|
@@ -32568,7 +33221,7 @@ declare var SVGFETurbulenceElement: {
|
|
|
32568
33221
|
*
|
|
32569
33222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
32570
33223
|
*/
|
|
32571
|
-
interface SVGFilterElement extends SVGElement
|
|
33224
|
+
interface SVGFilterElement extends SVGElement {
|
|
32572
33225
|
/**
|
|
32573
33226
|
* The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given <filter> element. It takes one of the SVG_UNIT_TYPE_* constants defined in SVGUnitTypes.
|
|
32574
33227
|
*
|
|
@@ -32711,7 +33364,7 @@ interface SVGGeometryElement extends SVGGraphicsElement {
|
|
|
32711
33364
|
*
|
|
32712
33365
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)
|
|
32713
33366
|
*/
|
|
32714
|
-
getPointAtLength(distance: number):
|
|
33367
|
+
getPointAtLength(distance: number): SVGPoint;
|
|
32715
33368
|
/**
|
|
32716
33369
|
* The **`SVGGeometryElement.getTotalLength()`** method returns the user agent's computed value for the total length of the path in user units.
|
|
32717
33370
|
*
|
|
@@ -32801,19 +33454,19 @@ interface SVGGraphicsElement extends SVGElement, SVGTests {
|
|
|
32801
33454
|
*
|
|
32802
33455
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)
|
|
32803
33456
|
*/
|
|
32804
|
-
getBBox(options?: SVGBoundingBoxOptions):
|
|
33457
|
+
getBBox(options?: SVGBoundingBoxOptions): SVGRect;
|
|
32805
33458
|
/**
|
|
32806
33459
|
* The **`getCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.
|
|
32807
33460
|
*
|
|
32808
33461
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)
|
|
32809
33462
|
*/
|
|
32810
|
-
getCTM():
|
|
33463
|
+
getCTM(): SVGMatrix | null;
|
|
32811
33464
|
/**
|
|
32812
33465
|
* The **`getScreenCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
|
|
32813
33466
|
*
|
|
32814
33467
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)
|
|
32815
33468
|
*/
|
|
32816
|
-
getScreenCTM():
|
|
33469
|
+
getScreenCTM(): SVGMatrix | null;
|
|
32817
33470
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
32818
33471
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
32819
33472
|
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -33475,7 +34128,7 @@ interface SVGPointList {
|
|
|
33475
34128
|
*
|
|
33476
34129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
|
|
33477
34130
|
*/
|
|
33478
|
-
appendItem(newItem:
|
|
34131
|
+
appendItem(newItem: SVGPoint): SVGPoint;
|
|
33479
34132
|
/**
|
|
33480
34133
|
* The **`clear()`** method of the SVGPointList interface removes all items from the list.
|
|
33481
34134
|
*
|
|
@@ -33487,32 +34140,32 @@ interface SVGPointList {
|
|
|
33487
34140
|
*
|
|
33488
34141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)
|
|
33489
34142
|
*/
|
|
33490
|
-
getItem(index: number):
|
|
34143
|
+
getItem(index: number): SVGPoint;
|
|
33491
34144
|
/**
|
|
33492
34145
|
* The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
|
|
33493
34146
|
*
|
|
33494
34147
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
|
|
33495
34148
|
*/
|
|
33496
|
-
initialize(newItem:
|
|
34149
|
+
initialize(newItem: SVGPoint): SVGPoint;
|
|
33497
34150
|
/**
|
|
33498
34151
|
* The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
|
|
33499
34152
|
*
|
|
33500
34153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
|
|
33501
34154
|
*/
|
|
33502
|
-
insertItemBefore(newItem:
|
|
34155
|
+
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
|
|
33503
34156
|
/**
|
|
33504
34157
|
* The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
|
|
33505
34158
|
*
|
|
33506
34159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
|
|
33507
34160
|
*/
|
|
33508
|
-
removeItem(index: number):
|
|
34161
|
+
removeItem(index: number): SVGPoint;
|
|
33509
34162
|
/**
|
|
33510
34163
|
* The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
|
|
33511
34164
|
*
|
|
33512
34165
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
|
|
33513
34166
|
*/
|
|
33514
|
-
replaceItem(newItem:
|
|
33515
|
-
[index: number]:
|
|
34167
|
+
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
|
|
34168
|
+
[index: number]: SVGPoint;
|
|
33516
34169
|
}
|
|
33517
34170
|
|
|
33518
34171
|
declare var SVGPointList: {
|
|
@@ -33733,7 +34386,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
33733
34386
|
*
|
|
33734
34387
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)
|
|
33735
34388
|
*/
|
|
33736
|
-
readonly currentTranslate:
|
|
34389
|
+
readonly currentTranslate: SVGPoint;
|
|
33737
34390
|
/**
|
|
33738
34391
|
* The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength. It reflects the <svg> element's height attribute, which may not be the SVG's rendered height.
|
|
33739
34392
|
*
|
|
@@ -33769,13 +34422,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
33769
34422
|
*
|
|
33770
34423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)
|
|
33771
34424
|
*/
|
|
33772
|
-
checkEnclosure(element: SVGElement, rect:
|
|
34425
|
+
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
|
|
33773
34426
|
/**
|
|
33774
34427
|
* The **`checkIntersection()`** method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.
|
|
33775
34428
|
*
|
|
33776
34429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)
|
|
33777
34430
|
*/
|
|
33778
|
-
checkIntersection(element: SVGElement, rect:
|
|
34431
|
+
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
|
|
33779
34432
|
/**
|
|
33780
34433
|
* The **`createSVGAngle()`** method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.
|
|
33781
34434
|
*
|
|
@@ -33793,7 +34446,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
33793
34446
|
*
|
|
33794
34447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)
|
|
33795
34448
|
*/
|
|
33796
|
-
createSVGMatrix():
|
|
34449
|
+
createSVGMatrix(): SVGMatrix;
|
|
33797
34450
|
/**
|
|
33798
34451
|
* The **`createSVGNumber()`** method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.
|
|
33799
34452
|
*
|
|
@@ -33805,13 +34458,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
33805
34458
|
*
|
|
33806
34459
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
|
|
33807
34460
|
*/
|
|
33808
|
-
createSVGPoint():
|
|
34461
|
+
createSVGPoint(): SVGPoint;
|
|
33809
34462
|
/**
|
|
33810
34463
|
* The **`createSVGRect()`** method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
33811
34464
|
*
|
|
33812
34465
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
33813
34466
|
*/
|
|
33814
|
-
createSVGRect():
|
|
34467
|
+
createSVGRect(): SVGRect;
|
|
33815
34468
|
/**
|
|
33816
34469
|
* The **`createSVGTransform()`** method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.
|
|
33817
34470
|
*
|
|
@@ -33844,8 +34497,8 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
33844
34497
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)
|
|
33845
34498
|
*/
|
|
33846
34499
|
getElementById(elementId: string): Element | null;
|
|
33847
|
-
getEnclosureList(rect:
|
|
33848
|
-
getIntersectionList(rect:
|
|
34500
|
+
getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34501
|
+
getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
33849
34502
|
/**
|
|
33850
34503
|
* The **`pauseAnimations()`** method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this <svg> element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.
|
|
33851
34504
|
*
|
|
@@ -34147,13 +34800,13 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34147
34800
|
*
|
|
34148
34801
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)
|
|
34149
34802
|
*/
|
|
34150
|
-
getEndPositionOfChar(charnum: number):
|
|
34803
|
+
getEndPositionOfChar(charnum: number): SVGPoint;
|
|
34151
34804
|
/**
|
|
34152
34805
|
* The **`getExtentOfChar()`** method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.
|
|
34153
34806
|
*
|
|
34154
34807
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)
|
|
34155
34808
|
*/
|
|
34156
|
-
getExtentOfChar(charnum: number):
|
|
34809
|
+
getExtentOfChar(charnum: number): SVGRect;
|
|
34157
34810
|
/**
|
|
34158
34811
|
* The **`getNumberOfChars()`** method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.
|
|
34159
34812
|
*
|
|
@@ -34171,7 +34824,7 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34171
34824
|
*
|
|
34172
34825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)
|
|
34173
34826
|
*/
|
|
34174
|
-
getStartPositionOfChar(charnum: number):
|
|
34827
|
+
getStartPositionOfChar(charnum: number): SVGPoint;
|
|
34175
34828
|
/**
|
|
34176
34829
|
* The **`getSubStringLength()`** method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.
|
|
34177
34830
|
*
|
|
@@ -34342,7 +34995,7 @@ interface SVGTransform {
|
|
|
34342
34995
|
*
|
|
34343
34996
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
|
|
34344
34997
|
*/
|
|
34345
|
-
readonly matrix:
|
|
34998
|
+
readonly matrix: SVGMatrix;
|
|
34346
34999
|
/**
|
|
34347
35000
|
* The **`type`** read-only property of the SVGTransform interface represents the type of transformation applied, specified by one of the SVG_TRANSFORM_* constants defined on this interface.
|
|
34348
35001
|
*
|
|
@@ -34568,7 +35221,11 @@ declare var SVGViewElement: {
|
|
|
34568
35221
|
new(): SVGViewElement;
|
|
34569
35222
|
};
|
|
34570
35223
|
|
|
34571
|
-
/**
|
|
35224
|
+
/**
|
|
35225
|
+
* The **`Sanitizer`** interface of the HTML Sanitizer API defines a configuration object that specifies what elements, attributes and comments are allowed or should be removed when inserting strings of HTML into an Element or ShadowRoot, or when parsing an HTML string into a Document.
|
|
35226
|
+
*
|
|
35227
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Sanitizer)
|
|
35228
|
+
*/
|
|
34572
35229
|
interface Sanitizer {
|
|
34573
35230
|
/**
|
|
34574
35231
|
* The **`allowAttribute()`** method of the Sanitizer interface sets an attribute to be allowed on all elements when the sanitizer is used.
|
|
@@ -34601,7 +35258,7 @@ interface Sanitizer {
|
|
|
34601
35258
|
*/
|
|
34602
35259
|
removeElement(element: SanitizerElement): boolean;
|
|
34603
35260
|
/**
|
|
34604
|
-
* The **`removeUnsafe()`** method of the Sanitizer interface configures the sanitizer
|
|
35261
|
+
* The **`removeUnsafe()`** method of the Sanitizer interface configures the sanitizer so that it will remove all elements and attributes that are considered XSS-unsafe by the browser.
|
|
34605
35262
|
*
|
|
34606
35263
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Sanitizer/removeUnsafe)
|
|
34607
35264
|
*/
|
|
@@ -34832,7 +35489,7 @@ interface SecurityPolicyViolationEvent extends Event {
|
|
|
34832
35489
|
*/
|
|
34833
35490
|
readonly blockedURI: string;
|
|
34834
35491
|
/**
|
|
34835
|
-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the
|
|
35492
|
+
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
|
|
34836
35493
|
*
|
|
34837
35494
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
|
|
34838
35495
|
*/
|
|
@@ -35062,6 +35719,113 @@ declare var Selection: {
|
|
|
35062
35719
|
new(): Selection;
|
|
35063
35720
|
};
|
|
35064
35721
|
|
|
35722
|
+
/**
|
|
35723
|
+
* The **`Serial`** interface of the Web Serial API provides attributes and methods for finding and connecting to serial ports from a web page.
|
|
35724
|
+
* Available only in secure contexts.
|
|
35725
|
+
*
|
|
35726
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial)
|
|
35727
|
+
*/
|
|
35728
|
+
interface Serial extends EventTarget {
|
|
35729
|
+
/**
|
|
35730
|
+
* The **`getPorts()`** method of the Serial interface returns a Promise that resolves with an array of SerialPort objects representing serial ports connected to the host which the origin has permission to access.
|
|
35731
|
+
*
|
|
35732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/getPorts)
|
|
35733
|
+
*/
|
|
35734
|
+
getPorts(): Promise<SerialPort[]>;
|
|
35735
|
+
/**
|
|
35736
|
+
* The **`Serial.requestPort()`** method of the Serial interface presents the user with a dialog asking them to select a serial device to connect to. It returns a Promise that resolves with an instance of SerialPort representing the device chosen by the user.
|
|
35737
|
+
*
|
|
35738
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/requestPort)
|
|
35739
|
+
*/
|
|
35740
|
+
requestPort(options?: SerialPortRequestOptions): Promise<SerialPort>;
|
|
35741
|
+
}
|
|
35742
|
+
|
|
35743
|
+
declare var Serial: {
|
|
35744
|
+
prototype: Serial;
|
|
35745
|
+
new(): Serial;
|
|
35746
|
+
};
|
|
35747
|
+
|
|
35748
|
+
interface SerialPortEventMap {
|
|
35749
|
+
"connect": Event;
|
|
35750
|
+
"disconnect": Event;
|
|
35751
|
+
}
|
|
35752
|
+
|
|
35753
|
+
/**
|
|
35754
|
+
* The **`SerialPort`** interface of the Web Serial API provides access to a serial port on the host device.
|
|
35755
|
+
* Available only in secure contexts.
|
|
35756
|
+
*
|
|
35757
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort)
|
|
35758
|
+
*/
|
|
35759
|
+
interface SerialPort extends EventTarget {
|
|
35760
|
+
/**
|
|
35761
|
+
* The **`connected`** read-only property of the SerialPort interface returns a boolean value that indicates whether the port is logically connected to the device.
|
|
35762
|
+
*
|
|
35763
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connected)
|
|
35764
|
+
*/
|
|
35765
|
+
readonly connected: boolean;
|
|
35766
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connect_event) */
|
|
35767
|
+
onconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/disconnect_event) */
|
|
35769
|
+
ondisconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35770
|
+
/**
|
|
35771
|
+
* The **`readable`** read-only property of the SerialPort interface returns a ReadableStream for receiving data from the device connected to the port. Chunks read from this stream are instances of Uint8Array. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35772
|
+
*
|
|
35773
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/readable)
|
|
35774
|
+
*/
|
|
35775
|
+
readonly readable: ReadableStream | null;
|
|
35776
|
+
/**
|
|
35777
|
+
* The **`writable`** read-only property of the SerialPort interface returns a WritableStream for sending data to the device connected to the port. Chunks written to this stream must be instances of ArrayBuffer, TypedArray, or DataView. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35778
|
+
*
|
|
35779
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/writable)
|
|
35780
|
+
*/
|
|
35781
|
+
readonly writable: WritableStream | null;
|
|
35782
|
+
/**
|
|
35783
|
+
* The **`SerialPort.close()`** method of the SerialPort interface returns a Promise that resolves when the port closes.
|
|
35784
|
+
*
|
|
35785
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/close)
|
|
35786
|
+
*/
|
|
35787
|
+
close(): Promise<void>;
|
|
35788
|
+
/**
|
|
35789
|
+
* The **`SerialPort.forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked.
|
|
35790
|
+
*
|
|
35791
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/forget)
|
|
35792
|
+
*/
|
|
35793
|
+
forget(): Promise<void>;
|
|
35794
|
+
/**
|
|
35795
|
+
* The **`getInfo()`** method of the SerialPort interface returns an object containing identifying information for the device available via the port.
|
|
35796
|
+
*
|
|
35797
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getInfo)
|
|
35798
|
+
*/
|
|
35799
|
+
getInfo(): SerialPortInfo;
|
|
35800
|
+
/**
|
|
35801
|
+
* The **`SerialPort.getSignals()`** method of the SerialPort interface returns a Promise that resolves with an object containing the current state of the port's control signals.
|
|
35802
|
+
*
|
|
35803
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getSignals)
|
|
35804
|
+
*/
|
|
35805
|
+
getSignals(): Promise<SerialInputSignals>;
|
|
35806
|
+
/**
|
|
35807
|
+
* The **`open()`** method of the SerialPort interface returns a Promise that resolves when the port is opened. By default the port is opened with 8 data bits, 1 stop bit and no parity checking. The baudRate parameter is required.
|
|
35808
|
+
*
|
|
35809
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/open)
|
|
35810
|
+
*/
|
|
35811
|
+
open(options: SerialOptions): Promise<void>;
|
|
35812
|
+
/**
|
|
35813
|
+
* The **`setSignals()`** method of the SerialPort interface sets control signals on the port and returns a Promise that resolves when they are set.
|
|
35814
|
+
*
|
|
35815
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/setSignals)
|
|
35816
|
+
*/
|
|
35817
|
+
setSignals(signals?: SerialOutputSignals): Promise<void>;
|
|
35818
|
+
addEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35819
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35820
|
+
removeEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
35821
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
35822
|
+
}
|
|
35823
|
+
|
|
35824
|
+
declare var SerialPort: {
|
|
35825
|
+
prototype: SerialPort;
|
|
35826
|
+
new(): SerialPort;
|
|
35827
|
+
};
|
|
35828
|
+
|
|
35065
35829
|
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
35066
35830
|
"statechange": Event;
|
|
35067
35831
|
}
|
|
@@ -35325,7 +36089,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
35325
36089
|
*
|
|
35326
36090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
|
|
35327
36091
|
*/
|
|
35328
|
-
setHTMLUnsafe(html: string): void;
|
|
36092
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
35329
36093
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35330
36094
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35331
36095
|
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -37137,7 +37901,7 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
37137
37901
|
*
|
|
37138
37902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
|
|
37139
37903
|
*/
|
|
37140
|
-
enqueue(chunk
|
|
37904
|
+
enqueue(chunk: O): void;
|
|
37141
37905
|
/**
|
|
37142
37906
|
* The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
|
|
37143
37907
|
*
|
|
@@ -37682,13 +38446,21 @@ declare var VTTCue: {
|
|
|
37682
38446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion)
|
|
37683
38447
|
*/
|
|
37684
38448
|
interface VTTRegion {
|
|
38449
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */
|
|
37685
38450
|
id: string;
|
|
38451
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */
|
|
37686
38452
|
lines: number;
|
|
38453
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) */
|
|
37687
38454
|
regionAnchorX: number;
|
|
38455
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) */
|
|
37688
38456
|
regionAnchorY: number;
|
|
38457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) */
|
|
37689
38458
|
scroll: ScrollSetting;
|
|
38459
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) */
|
|
37690
38460
|
viewportAnchorX: number;
|
|
38461
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) */
|
|
37691
38462
|
viewportAnchorY: number;
|
|
38463
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */
|
|
37692
38464
|
width: number;
|
|
37693
38465
|
}
|
|
37694
38466
|
|
|
@@ -38190,6 +38962,7 @@ declare var ViewTransitionTypeSet: {
|
|
|
38190
38962
|
interface VisualViewportEventMap {
|
|
38191
38963
|
"resize": Event;
|
|
38192
38964
|
"scroll": Event;
|
|
38965
|
+
"scrollend": Event;
|
|
38193
38966
|
}
|
|
38194
38967
|
|
|
38195
38968
|
/**
|
|
@@ -38220,6 +38993,8 @@ interface VisualViewport extends EventTarget {
|
|
|
38220
38993
|
onresize: ((this: VisualViewport, ev: Event) => any) | null;
|
|
38221
38994
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scroll_event) */
|
|
38222
38995
|
onscroll: ((this: VisualViewport, ev: Event) => any) | null;
|
|
38996
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scrollend_event) */
|
|
38997
|
+
onscrollend: ((this: VisualViewport, ev: Event) => any) | null;
|
|
38223
38998
|
/**
|
|
38224
38999
|
* The **`pageLeft`** read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or 0 if current document is not fully active.
|
|
38225
39000
|
*
|
|
@@ -38459,13 +39234,13 @@ interface WEBGL_draw_buffers {
|
|
|
38459
39234
|
*/
|
|
38460
39235
|
interface WEBGL_lose_context {
|
|
38461
39236
|
/**
|
|
38462
|
-
* The **`
|
|
39237
|
+
* The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
|
|
38463
39238
|
*
|
|
38464
39239
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
|
|
38465
39240
|
*/
|
|
38466
39241
|
loseContext(): void;
|
|
38467
39242
|
/**
|
|
38468
|
-
* The **`
|
|
39243
|
+
* The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
|
|
38469
39244
|
*
|
|
38470
39245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
|
|
38471
39246
|
*/
|
|
@@ -40954,6 +41729,12 @@ interface WebTransport {
|
|
|
40954
41729
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)
|
|
40955
41730
|
*/
|
|
40956
41731
|
readonly closed: Promise<WebTransportCloseInfo>;
|
|
41732
|
+
/**
|
|
41733
|
+
* The **`congestionControl`** read-only property of the WebTransport interface indicates the application's preference for either high throughput or low-latency when sending data.
|
|
41734
|
+
*
|
|
41735
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/congestionControl)
|
|
41736
|
+
*/
|
|
41737
|
+
readonly congestionControl: WebTransportCongestionControl;
|
|
40957
41738
|
/**
|
|
40958
41739
|
* The **`datagrams`** read-only property of the WebTransport interface returns a WebTransportDatagramDuplexStream instance that can be used to send and receive datagrams — unreliable data transmission.
|
|
40959
41740
|
*
|
|
@@ -40972,12 +41753,19 @@ interface WebTransport {
|
|
|
40972
41753
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
40973
41754
|
*/
|
|
40974
41755
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
41756
|
+
readonly protocol: string;
|
|
40975
41757
|
/**
|
|
40976
41758
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
40977
41759
|
*
|
|
40978
41760
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)
|
|
40979
41761
|
*/
|
|
40980
41762
|
readonly ready: Promise<void>;
|
|
41763
|
+
/**
|
|
41764
|
+
* The **`reliability`** read-only property of the WebTransport interface indicates whether the connection supports reliable transports only, or whether it also supports unreliable transports (such as UDP).
|
|
41765
|
+
*
|
|
41766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
|
|
41767
|
+
*/
|
|
41768
|
+
readonly reliability: WebTransportReliabilityMode;
|
|
40981
41769
|
/**
|
|
40982
41770
|
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
|
|
40983
41771
|
*
|
|
@@ -40996,6 +41784,12 @@ interface WebTransport {
|
|
|
40996
41784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)
|
|
40997
41785
|
*/
|
|
40998
41786
|
createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;
|
|
41787
|
+
/**
|
|
41788
|
+
* The **`getStats()`** method of the WebTransport interface asynchronously returns an object containing HTTP/3 connection statistics.
|
|
41789
|
+
*
|
|
41790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/getStats)
|
|
41791
|
+
*/
|
|
41792
|
+
getStats(): Promise<WebTransportConnectionStats>;
|
|
40999
41793
|
}
|
|
41000
41794
|
|
|
41001
41795
|
declare var WebTransport: {
|
|
@@ -41111,6 +41905,52 @@ declare var WebTransportError: {
|
|
|
41111
41905
|
new(message?: string, options?: WebTransportErrorOptions): WebTransportError;
|
|
41112
41906
|
};
|
|
41113
41907
|
|
|
41908
|
+
/**
|
|
41909
|
+
* The **`WebTransportReceiveStream`** interface of the WebTransport API is a ReadableStream that can be used to read from an incoming unidirectional or bidirectional WebTransport stream.
|
|
41910
|
+
* Available only in secure contexts.
|
|
41911
|
+
*
|
|
41912
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream)
|
|
41913
|
+
*/
|
|
41914
|
+
interface WebTransportReceiveStream extends ReadableStream {
|
|
41915
|
+
/**
|
|
41916
|
+
* The **`getStats()`** method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41917
|
+
*
|
|
41918
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream/getStats)
|
|
41919
|
+
*/
|
|
41920
|
+
getStats(): Promise<WebTransportReceiveStreamStats>;
|
|
41921
|
+
}
|
|
41922
|
+
|
|
41923
|
+
declare var WebTransportReceiveStream: {
|
|
41924
|
+
prototype: WebTransportReceiveStream;
|
|
41925
|
+
new(): WebTransportReceiveStream;
|
|
41926
|
+
};
|
|
41927
|
+
|
|
41928
|
+
/**
|
|
41929
|
+
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
41930
|
+
* Available only in secure contexts.
|
|
41931
|
+
*
|
|
41932
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
41933
|
+
*/
|
|
41934
|
+
interface WebTransportSendStream extends WritableStream {
|
|
41935
|
+
/**
|
|
41936
|
+
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
41937
|
+
*
|
|
41938
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendOrder)
|
|
41939
|
+
*/
|
|
41940
|
+
sendOrder: number;
|
|
41941
|
+
/**
|
|
41942
|
+
* The **`getStats()`** method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41943
|
+
*
|
|
41944
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/getStats)
|
|
41945
|
+
*/
|
|
41946
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
41947
|
+
}
|
|
41948
|
+
|
|
41949
|
+
declare var WebTransportSendStream: {
|
|
41950
|
+
prototype: WebTransportSendStream;
|
|
41951
|
+
new(): WebTransportSendStream;
|
|
41952
|
+
};
|
|
41953
|
+
|
|
41114
41954
|
/**
|
|
41115
41955
|
* The **`WheelEvent`** interface represents events that occur due to the user moving a mouse wheel or similar input device.
|
|
41116
41956
|
*
|
|
@@ -41189,7 +42029,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41189
42029
|
*/
|
|
41190
42030
|
readonly cookieStore: CookieStore;
|
|
41191
42031
|
/**
|
|
41192
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
42032
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
41193
42033
|
*
|
|
41194
42034
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
41195
42035
|
*/
|
|
@@ -41206,6 +42046,13 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41206
42046
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
41207
42047
|
*/
|
|
41208
42048
|
readonly document: Document;
|
|
42049
|
+
/**
|
|
42050
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
42051
|
+
* Available only in secure contexts.
|
|
42052
|
+
*
|
|
42053
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
42054
|
+
*/
|
|
42055
|
+
readonly documentPictureInPicture: DocumentPictureInPicture;
|
|
41209
42056
|
/**
|
|
41210
42057
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
41211
42058
|
* @deprecated
|
|
@@ -41916,7 +42763,7 @@ interface WritableStreamDefaultWriter<W = any> {
|
|
|
41916
42763
|
*
|
|
41917
42764
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
41918
42765
|
*/
|
|
41919
|
-
write(chunk
|
|
42766
|
+
write(chunk: W): Promise<void>;
|
|
41920
42767
|
}
|
|
41921
42768
|
|
|
41922
42769
|
declare var WritableStreamDefaultWriter: {
|
|
@@ -42358,6 +43205,7 @@ declare namespace CSS {
|
|
|
42358
43205
|
function Hz(value: number): CSSUnitValue;
|
|
42359
43206
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42360
43207
|
function Q(value: number): CSSUnitValue;
|
|
43208
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42361
43209
|
function cap(value: number): CSSUnitValue;
|
|
42362
43210
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42363
43211
|
function ch(value: number): CSSUnitValue;
|
|
@@ -42409,9 +43257,11 @@ declare namespace CSS {
|
|
|
42409
43257
|
function fr(value: number): CSSUnitValue;
|
|
42410
43258
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42411
43259
|
function grad(value: number): CSSUnitValue;
|
|
43260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42412
43261
|
function ic(value: number): CSSUnitValue;
|
|
42413
43262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42414
43263
|
function kHz(value: number): CSSUnitValue;
|
|
43264
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42415
43265
|
function lh(value: number): CSSUnitValue;
|
|
42416
43266
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42417
43267
|
function lvb(value: number): CSSUnitValue;
|
|
@@ -42441,7 +43291,9 @@ declare namespace CSS {
|
|
|
42441
43291
|
function px(value: number): CSSUnitValue;
|
|
42442
43292
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42443
43293
|
function rad(value: number): CSSUnitValue;
|
|
43294
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42444
43295
|
function rcap(value: number): CSSUnitValue;
|
|
43296
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42445
43297
|
function rch(value: number): CSSUnitValue;
|
|
42446
43298
|
/**
|
|
42447
43299
|
* The **`CSS.registerProperty()`** static method registers custom properties, allowing for property type checking, default values, and properties that do or do not inherit their value.
|
|
@@ -42451,8 +43303,11 @@ declare namespace CSS {
|
|
|
42451
43303
|
function registerProperty(definition: PropertyDefinition): void;
|
|
42452
43304
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42453
43305
|
function rem(value: number): CSSUnitValue;
|
|
43306
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42454
43307
|
function rex(value: number): CSSUnitValue;
|
|
43308
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42455
43309
|
function ric(value: number): CSSUnitValue;
|
|
43310
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42456
43311
|
function rlh(value: number): CSSUnitValue;
|
|
42457
43312
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42458
43313
|
function s(value: number): CSSUnitValue;
|
|
@@ -42491,6 +43346,47 @@ declare namespace CSS {
|
|
|
42491
43346
|
function vw(value: number): CSSUnitValue;
|
|
42492
43347
|
}
|
|
42493
43348
|
|
|
43349
|
+
declare namespace GPUBufferUsage {
|
|
43350
|
+
const MAP_READ: 0x0001;
|
|
43351
|
+
const MAP_WRITE: 0x0002;
|
|
43352
|
+
const COPY_SRC: 0x0004;
|
|
43353
|
+
const COPY_DST: 0x0008;
|
|
43354
|
+
const INDEX: 0x0010;
|
|
43355
|
+
const VERTEX: 0x0020;
|
|
43356
|
+
const UNIFORM: 0x0040;
|
|
43357
|
+
const STORAGE: 0x0080;
|
|
43358
|
+
const INDIRECT: 0x0100;
|
|
43359
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43360
|
+
}
|
|
43361
|
+
|
|
43362
|
+
declare namespace GPUColorWrite {
|
|
43363
|
+
const RED: 0x1;
|
|
43364
|
+
const GREEN: 0x2;
|
|
43365
|
+
const BLUE: 0x4;
|
|
43366
|
+
const ALPHA: 0x8;
|
|
43367
|
+
const ALL: 0xF;
|
|
43368
|
+
}
|
|
43369
|
+
|
|
43370
|
+
declare namespace GPUMapMode {
|
|
43371
|
+
const READ: 0x0001;
|
|
43372
|
+
const WRITE: 0x0002;
|
|
43373
|
+
}
|
|
43374
|
+
|
|
43375
|
+
declare namespace GPUShaderStage {
|
|
43376
|
+
const VERTEX: 0x1;
|
|
43377
|
+
const FRAGMENT: 0x2;
|
|
43378
|
+
const COMPUTE: 0x4;
|
|
43379
|
+
}
|
|
43380
|
+
|
|
43381
|
+
declare namespace GPUTextureUsage {
|
|
43382
|
+
const COPY_SRC: 0x01;
|
|
43383
|
+
const COPY_DST: 0x02;
|
|
43384
|
+
const TEXTURE_BINDING: 0x04;
|
|
43385
|
+
const STORAGE_BINDING: 0x08;
|
|
43386
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43387
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43388
|
+
}
|
|
43389
|
+
|
|
42494
43390
|
declare namespace WebAssembly {
|
|
42495
43391
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
42496
43392
|
interface CompileError extends Error {
|
|
@@ -42539,7 +43435,13 @@ declare namespace WebAssembly {
|
|
|
42539
43435
|
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
42540
43436
|
*/
|
|
42541
43437
|
interface Global<T extends ValueType = ValueType> {
|
|
43438
|
+
/**
|
|
43439
|
+
* The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
|
|
43440
|
+
*
|
|
43441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
|
|
43442
|
+
*/
|
|
42542
43443
|
value: ValueTypeMap[T];
|
|
43444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
|
|
42543
43445
|
valueOf(): ValueTypeMap[T];
|
|
42544
43446
|
}
|
|
42545
43447
|
|
|
@@ -42614,7 +43516,7 @@ declare namespace WebAssembly {
|
|
|
42614
43516
|
|
|
42615
43517
|
var Module: {
|
|
42616
43518
|
prototype: Module;
|
|
42617
|
-
new(bytes:
|
|
43519
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42618
43520
|
/**
|
|
42619
43521
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
42620
43522
|
*
|
|
@@ -42765,16 +43667,16 @@ declare namespace WebAssembly {
|
|
|
42765
43667
|
type ValueType = keyof ValueTypeMap;
|
|
42766
43668
|
var JSTag: Tag;
|
|
42767
43669
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
42768
|
-
function compile(bytes:
|
|
43670
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
42769
43671
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
42770
43672
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
42771
43673
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
42772
|
-
function instantiate(bytes:
|
|
43674
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
42773
43675
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
42774
43676
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
42775
43677
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
42776
43678
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
42777
|
-
function validate(bytes:
|
|
43679
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
42778
43680
|
}
|
|
42779
43681
|
|
|
42780
43682
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -43374,7 +44276,7 @@ declare var closed: boolean;
|
|
|
43374
44276
|
*/
|
|
43375
44277
|
declare var cookieStore: CookieStore;
|
|
43376
44278
|
/**
|
|
43377
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
44279
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
43378
44280
|
*
|
|
43379
44281
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
43380
44282
|
*/
|
|
@@ -43391,6 +44293,13 @@ declare var devicePixelRatio: number;
|
|
|
43391
44293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
43392
44294
|
*/
|
|
43393
44295
|
declare var document: Document;
|
|
44296
|
+
/**
|
|
44297
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
44298
|
+
* Available only in secure contexts.
|
|
44299
|
+
*
|
|
44300
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
44301
|
+
*/
|
|
44302
|
+
declare var documentPictureInPicture: DocumentPictureInPicture;
|
|
43394
44303
|
/**
|
|
43395
44304
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
43396
44305
|
* @deprecated
|
|
@@ -44137,6 +45046,7 @@ type AutoFillSection = `section-${string}`;
|
|
|
44137
45046
|
type Base64URLString = string;
|
|
44138
45047
|
type BigInteger = Uint8Array<ArrayBuffer>;
|
|
44139
45048
|
type BlobPart = BufferSource | Blob | string;
|
|
45049
|
+
type BluetoothServiceUUID = string | number;
|
|
44140
45050
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
44141
45051
|
type BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;
|
|
44142
45052
|
type COSEAlgorithmIdentifier = number;
|
|
@@ -44228,6 +45138,7 @@ type RequestInfo = Request | string;
|
|
|
44228
45138
|
type SanitizerAttribute = string | SanitizerAttributeNamespace;
|
|
44229
45139
|
type SanitizerElement = string | SanitizerElementNamespace;
|
|
44230
45140
|
type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes;
|
|
45141
|
+
type SanitizerPI = string | SanitizerProcessingInstruction;
|
|
44231
45142
|
type SelectionDirection = "forward" | "backward" | "none";
|
|
44232
45143
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
44233
45144
|
type TimerHandler = string | Function;
|
|
@@ -44282,10 +45193,11 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44282
45193
|
type ColorSpaceConversion = "default" | "none";
|
|
44283
45194
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44284
45195
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44285
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
45196
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44286
45197
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44287
45198
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44288
45199
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45200
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44289
45201
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44290
45202
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44291
45203
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44298,9 +45210,11 @@ type EndingType = "native" | "transparent";
|
|
|
44298
45210
|
type FileSystemHandleKind = "directory" | "file";
|
|
44299
45211
|
type FillLightMode = "auto" | "flash" | "off";
|
|
44300
45212
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
45213
|
+
type FlowControlType = "hardware" | "none";
|
|
44301
45214
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44302
45215
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44303
45216
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45217
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44304
45218
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44305
45219
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44306
45220
|
type GPUAutoLayoutMode = "auto";
|
|
@@ -44334,7 +45248,7 @@ type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
|
44334
45248
|
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
44335
45249
|
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
44336
45250
|
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
44337
|
-
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45251
|
+
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm10-10-10-2" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
44338
45252
|
type GPUVertexStepMode = "instance" | "vertex";
|
|
44339
45253
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
44340
45254
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
@@ -44387,6 +45301,7 @@ type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-p
|
|
|
44387
45301
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
44388
45302
|
type OverSampleType = "2x" | "4x" | "none";
|
|
44389
45303
|
type PanningModelType = "HRTF" | "equalpower";
|
|
45304
|
+
type ParityType = "even" | "none" | "odd";
|
|
44390
45305
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
44391
45306
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
44392
45307
|
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
@@ -44433,7 +45348,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44433
45348
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44434
45349
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44435
45350
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44436
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
45351
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44437
45352
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44438
45353
|
type RequestPriority = "auto" | "high" | "low";
|
|
44439
45354
|
type RequestRedirect = "error" | "follow" | "manual";
|
|
@@ -44471,6 +45386,7 @@ type WakeLockType = "screen";
|
|
|
44471
45386
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
44472
45387
|
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
|
|
44473
45388
|
type WebTransportErrorSource = "session" | "stream";
|
|
45389
|
+
type WebTransportReliabilityMode = "pending" | "reliable-only" | "supports-unreliable";
|
|
44474
45390
|
type WorkerType = "classic" | "module";
|
|
44475
45391
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
44476
45392
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
|
@@ -44855,7 +45771,7 @@ interface SVGNumberList {
|
|
|
44855
45771
|
}
|
|
44856
45772
|
|
|
44857
45773
|
interface SVGPointList {
|
|
44858
|
-
[Symbol.iterator](): ArrayIterator<
|
|
45774
|
+
[Symbol.iterator](): ArrayIterator<SVGPoint>;
|
|
44859
45775
|
}
|
|
44860
45776
|
|
|
44861
45777
|
interface SVGStringList {
|