@types/web 0.0.347 → 0.0.348
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/README.md +3 -1
- package/index.d.ts +336 -25
- package/package.json +1 -1
- package/ts5.5/index.d.ts +336 -25
- package/ts5.6/index.d.ts +336 -25
- package/ts5.9/index.d.ts +336 -25
package/ts5.5/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ interface AnalyserOptions extends AudioNodeOptions {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
interface AnimationEventInit extends EventInit {
|
|
76
|
+
animation?: CSSAnimation | null;
|
|
76
77
|
animationName?: string;
|
|
77
78
|
elapsedTime?: number;
|
|
78
79
|
pseudoElement?: string;
|
|
@@ -625,6 +626,17 @@ interface DisplayMediaStreamOptions {
|
|
|
625
626
|
video?: boolean | MediaTrackConstraints;
|
|
626
627
|
}
|
|
627
628
|
|
|
629
|
+
interface DocumentPictureInPictureEventInit extends EventInit {
|
|
630
|
+
window: Window;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
interface DocumentPictureInPictureOptions {
|
|
634
|
+
disallowReturnToOpener?: boolean;
|
|
635
|
+
height?: number;
|
|
636
|
+
preferInitialWindowPlacement?: boolean;
|
|
637
|
+
width?: number;
|
|
638
|
+
}
|
|
639
|
+
|
|
628
640
|
interface DocumentTimelineOptions {
|
|
629
641
|
originTime?: DOMHighResTimeStamp;
|
|
630
642
|
}
|
|
@@ -2639,8 +2651,10 @@ interface SanitizerConfig {
|
|
|
2639
2651
|
comments?: boolean;
|
|
2640
2652
|
dataAttributes?: boolean;
|
|
2641
2653
|
elements?: SanitizerElementWithAttributes[];
|
|
2654
|
+
processingInstructions?: SanitizerPI[];
|
|
2642
2655
|
removeAttributes?: SanitizerAttribute[];
|
|
2643
2656
|
removeElements?: SanitizerElement[];
|
|
2657
|
+
removeProcessingInstructions?: SanitizerPI[];
|
|
2644
2658
|
replaceWithChildrenElements?: SanitizerElement[];
|
|
2645
2659
|
}
|
|
2646
2660
|
|
|
@@ -2654,6 +2668,10 @@ interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamesp
|
|
|
2654
2668
|
removeAttributes?: SanitizerAttribute[];
|
|
2655
2669
|
}
|
|
2656
2670
|
|
|
2671
|
+
interface SanitizerProcessingInstruction {
|
|
2672
|
+
target: string;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2657
2675
|
interface SchedulerPostTaskOptions {
|
|
2658
2676
|
delay?: number;
|
|
2659
2677
|
priority?: TaskPriority;
|
|
@@ -2694,6 +2712,45 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
2694
2712
|
violatedDirective?: string;
|
|
2695
2713
|
}
|
|
2696
2714
|
|
|
2715
|
+
interface SerialInputSignals {
|
|
2716
|
+
clearToSend: boolean;
|
|
2717
|
+
dataCarrierDetect: boolean;
|
|
2718
|
+
dataSetReady: boolean;
|
|
2719
|
+
ringIndicator: boolean;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
interface SerialOptions {
|
|
2723
|
+
baudRate: number;
|
|
2724
|
+
bufferSize?: number;
|
|
2725
|
+
dataBits?: number;
|
|
2726
|
+
flowControl?: FlowControlType;
|
|
2727
|
+
parity?: ParityType;
|
|
2728
|
+
stopBits?: number;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
interface SerialOutputSignals {
|
|
2732
|
+
break?: boolean;
|
|
2733
|
+
dataTerminalReady?: boolean;
|
|
2734
|
+
requestToSend?: boolean;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
interface SerialPortFilter {
|
|
2738
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2739
|
+
usbProductId?: number;
|
|
2740
|
+
usbVendorId?: number;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
interface SerialPortInfo {
|
|
2744
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2745
|
+
usbProductId?: number;
|
|
2746
|
+
usbVendorId?: number;
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
interface SerialPortRequestOptions {
|
|
2750
|
+
allowedBluetoothServiceClassIds?: BluetoothServiceUUID[];
|
|
2751
|
+
filters?: SerialPortFilter[];
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2697
2754
|
interface ShadowRootInit {
|
|
2698
2755
|
clonable?: boolean;
|
|
2699
2756
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -2879,6 +2936,7 @@ interface Transformer<I = any, O = any> {
|
|
|
2879
2936
|
}
|
|
2880
2937
|
|
|
2881
2938
|
interface TransitionEventInit extends EventInit {
|
|
2939
|
+
animation?: CSSTransition | null;
|
|
2882
2940
|
elapsedTime?: number;
|
|
2883
2941
|
propertyName?: string;
|
|
2884
2942
|
pseudoElement?: string;
|
|
@@ -5702,9 +5760,29 @@ declare var CSSLayerStatementRule: {
|
|
|
5702
5760
|
new(): CSSLayerStatementRule;
|
|
5703
5761
|
};
|
|
5704
5762
|
|
|
5763
|
+
/**
|
|
5764
|
+
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
|
|
5765
|
+
*
|
|
5766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
|
|
5767
|
+
*/
|
|
5705
5768
|
interface CSSMathClamp extends CSSMathValue {
|
|
5769
|
+
/**
|
|
5770
|
+
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
|
|
5771
|
+
*
|
|
5772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
|
|
5773
|
+
*/
|
|
5706
5774
|
readonly lower: CSSNumericValue;
|
|
5775
|
+
/**
|
|
5776
|
+
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
|
|
5777
|
+
*
|
|
5778
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
|
|
5779
|
+
*/
|
|
5707
5780
|
readonly upper: CSSNumericValue;
|
|
5781
|
+
/**
|
|
5782
|
+
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
|
|
5783
|
+
*
|
|
5784
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
|
|
5785
|
+
*/
|
|
5708
5786
|
readonly value: CSSNumericValue;
|
|
5709
5787
|
}
|
|
5710
5788
|
|
|
@@ -9292,7 +9370,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
9292
9370
|
*/
|
|
9293
9371
|
vectorEffect: string;
|
|
9294
9372
|
/**
|
|
9295
|
-
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
|
|
9373
|
+
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
|
|
9296
9374
|
*
|
|
9297
9375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
|
|
9298
9376
|
*/
|
|
@@ -10096,13 +10174,13 @@ declare var CSSTranslate: {
|
|
|
10096
10174
|
};
|
|
10097
10175
|
|
|
10098
10176
|
/**
|
|
10099
|
-
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10177
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10100
10178
|
*
|
|
10101
10179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
10102
10180
|
*/
|
|
10103
10181
|
interface CSSUnitValue extends CSSNumericValue {
|
|
10104
10182
|
/**
|
|
10105
|
-
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type
|
|
10183
|
+
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
|
|
10106
10184
|
*
|
|
10107
10185
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
|
|
10108
10186
|
*/
|
|
@@ -10486,7 +10564,7 @@ interface CanvasRect {
|
|
|
10486
10564
|
*/
|
|
10487
10565
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
10488
10566
|
/**
|
|
10489
|
-
* 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.
|
|
10567
|
+
* 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.
|
|
10490
10568
|
*
|
|
10491
10569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
10492
10570
|
*/
|
|
@@ -10545,6 +10623,8 @@ interface CanvasTextDrawingStyles {
|
|
|
10545
10623
|
fontStretch: CanvasFontStretch;
|
|
10546
10624
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
10547
10625
|
fontVariantCaps: CanvasFontVariantCaps;
|
|
10626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
|
|
10627
|
+
lang: string;
|
|
10548
10628
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
10549
10629
|
letterSpacing: string;
|
|
10550
10630
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
@@ -11207,6 +11287,12 @@ interface Credential {
|
|
|
11207
11287
|
declare var Credential: {
|
|
11208
11288
|
prototype: Credential;
|
|
11209
11289
|
new(): Credential;
|
|
11290
|
+
/**
|
|
11291
|
+
* The **`isConditionalMediationAvailable()`** static method of the Credential interface returns a Promise which resolves to false.
|
|
11292
|
+
*
|
|
11293
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/isConditionalMediationAvailable_static)
|
|
11294
|
+
*/
|
|
11295
|
+
isConditionalMediationAvailable(): Promise<boolean>;
|
|
11210
11296
|
};
|
|
11211
11297
|
|
|
11212
11298
|
/**
|
|
@@ -11496,7 +11582,7 @@ declare var DOMException: {
|
|
|
11496
11582
|
*/
|
|
11497
11583
|
interface DOMImplementation {
|
|
11498
11584
|
/**
|
|
11499
|
-
* The **`
|
|
11585
|
+
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
|
|
11500
11586
|
*
|
|
11501
11587
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
|
|
11502
11588
|
*/
|
|
@@ -12992,13 +13078,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12992
13078
|
*/
|
|
12993
13079
|
close(): void;
|
|
12994
13080
|
/**
|
|
12995
|
-
* The **`
|
|
13081
|
+
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
|
|
12996
13082
|
*
|
|
12997
13083
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
|
|
12998
13084
|
*/
|
|
12999
13085
|
createAttribute(localName: string): Attr;
|
|
13000
13086
|
/**
|
|
13001
|
-
* The **`
|
|
13087
|
+
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
|
|
13002
13088
|
*
|
|
13003
13089
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
|
|
13004
13090
|
*/
|
|
@@ -13022,7 +13108,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13022
13108
|
*/
|
|
13023
13109
|
createDocumentFragment(): DocumentFragment;
|
|
13024
13110
|
/**
|
|
13025
|
-
*
|
|
13111
|
+
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
|
|
13026
13112
|
*
|
|
13027
13113
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
|
|
13028
13114
|
*/
|
|
@@ -13031,7 +13117,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13031
13117
|
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
13032
13118
|
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
13033
13119
|
/**
|
|
13034
|
-
*
|
|
13120
|
+
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
|
|
13035
13121
|
*
|
|
13036
13122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
|
|
13037
13123
|
*/
|
|
@@ -13062,6 +13148,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13062
13148
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
13063
13149
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
13064
13150
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
13151
|
+
createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent;
|
|
13065
13152
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
13066
13153
|
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
|
|
13067
13154
|
createEvent(eventInterface: "Event"): Event;
|
|
@@ -13365,6 +13452,62 @@ interface DocumentOrShadowRoot {
|
|
|
13365
13452
|
getAnimations(): Animation[];
|
|
13366
13453
|
}
|
|
13367
13454
|
|
|
13455
|
+
interface DocumentPictureInPictureEventMap {
|
|
13456
|
+
"enter": DocumentPictureInPictureEvent;
|
|
13457
|
+
}
|
|
13458
|
+
|
|
13459
|
+
/**
|
|
13460
|
+
* The **`DocumentPictureInPicture`** interface of the Document Picture-in-Picture API is the entry point for creating and handling document picture-in-picture windows.
|
|
13461
|
+
* Available only in secure contexts.
|
|
13462
|
+
*
|
|
13463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture)
|
|
13464
|
+
*/
|
|
13465
|
+
interface DocumentPictureInPicture extends EventTarget {
|
|
13466
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/enter_event) */
|
|
13467
|
+
onenter: ((this: DocumentPictureInPicture, ev: DocumentPictureInPictureEvent) => any) | null;
|
|
13468
|
+
/**
|
|
13469
|
+
* The **`window`** read-only property of the DocumentPictureInPicture interface returns a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13470
|
+
*
|
|
13471
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/window)
|
|
13472
|
+
*/
|
|
13473
|
+
readonly window: Window;
|
|
13474
|
+
/**
|
|
13475
|
+
* 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.
|
|
13476
|
+
*
|
|
13477
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/requestWindow)
|
|
13478
|
+
*/
|
|
13479
|
+
requestWindow(options?: DocumentPictureInPictureOptions): Promise<Window>;
|
|
13480
|
+
addEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13481
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13482
|
+
removeEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13483
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13484
|
+
}
|
|
13485
|
+
|
|
13486
|
+
declare var DocumentPictureInPicture: {
|
|
13487
|
+
prototype: DocumentPictureInPicture;
|
|
13488
|
+
new(): DocumentPictureInPicture;
|
|
13489
|
+
};
|
|
13490
|
+
|
|
13491
|
+
/**
|
|
13492
|
+
* 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.
|
|
13493
|
+
* Available only in secure contexts.
|
|
13494
|
+
*
|
|
13495
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent)
|
|
13496
|
+
*/
|
|
13497
|
+
interface DocumentPictureInPictureEvent extends Event {
|
|
13498
|
+
/**
|
|
13499
|
+
* 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.
|
|
13500
|
+
*
|
|
13501
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent/window)
|
|
13502
|
+
*/
|
|
13503
|
+
readonly window: Window;
|
|
13504
|
+
}
|
|
13505
|
+
|
|
13506
|
+
declare var DocumentPictureInPictureEvent: {
|
|
13507
|
+
prototype: DocumentPictureInPictureEvent;
|
|
13508
|
+
new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent;
|
|
13509
|
+
};
|
|
13510
|
+
|
|
13368
13511
|
/**
|
|
13369
13512
|
* The **`DocumentTimeline`** interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
|
|
13370
13513
|
*
|
|
@@ -14002,7 +14145,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14002
14145
|
*/
|
|
14003
14146
|
setPointerCapture(pointerId: number): void;
|
|
14004
14147
|
/**
|
|
14005
|
-
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute
|
|
14148
|
+
* 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.
|
|
14006
14149
|
*
|
|
14007
14150
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
14008
14151
|
*/
|
|
@@ -14303,7 +14446,7 @@ interface Event {
|
|
|
14303
14446
|
*/
|
|
14304
14447
|
readonly eventPhase: number;
|
|
14305
14448
|
/**
|
|
14306
|
-
* 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
|
|
14449
|
+
* 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.
|
|
14307
14450
|
*
|
|
14308
14451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
14309
14452
|
*/
|
|
@@ -16280,8 +16423,12 @@ interface GPUSupportedLimits {
|
|
|
16280
16423
|
readonly maxSamplersPerShaderStage: number;
|
|
16281
16424
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16282
16425
|
readonly maxStorageBufferBindingSize: number;
|
|
16426
|
+
readonly maxStorageBuffersInFragmentStage: number;
|
|
16427
|
+
readonly maxStorageBuffersInVertexStage: number;
|
|
16283
16428
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16284
16429
|
readonly maxStorageBuffersPerShaderStage: number;
|
|
16430
|
+
readonly maxStorageTexturesInFragmentStage: number;
|
|
16431
|
+
readonly maxStorageTexturesInVertexStage: number;
|
|
16285
16432
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16286
16433
|
readonly maxStorageTexturesPerShaderStage: number;
|
|
16287
16434
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
@@ -18515,7 +18662,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
18515
18662
|
*/
|
|
18516
18663
|
height: string;
|
|
18517
18664
|
/**
|
|
18518
|
-
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the
|
|
18665
|
+
* 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.
|
|
18519
18666
|
*
|
|
18520
18667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
|
|
18521
18668
|
*/
|
|
@@ -18657,7 +18804,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18657
18804
|
*/
|
|
18658
18805
|
isMap: boolean;
|
|
18659
18806
|
/**
|
|
18660
|
-
* The **`loading`** property of the HTMLImageElement interface provides a hint to the
|
|
18807
|
+
* 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.
|
|
18661
18808
|
*
|
|
18662
18809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
18663
18810
|
*/
|
|
@@ -18697,7 +18844,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18697
18844
|
*/
|
|
18698
18845
|
referrerPolicy: string;
|
|
18699
18846
|
/**
|
|
18700
|
-
* 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
|
|
18847
|
+
* 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.
|
|
18701
18848
|
*
|
|
18702
18849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
18703
18850
|
*/
|
|
@@ -21899,7 +22046,7 @@ declare var Headers: {
|
|
|
21899
22046
|
};
|
|
21900
22047
|
|
|
21901
22048
|
/**
|
|
21902
|
-
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of
|
|
22049
|
+
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of AbstractRange instances to be styled using the API.
|
|
21903
22050
|
*
|
|
21904
22051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight)
|
|
21905
22052
|
*/
|
|
@@ -25860,7 +26007,7 @@ declare var NavigationPreloadManager: {
|
|
|
25860
26007
|
};
|
|
25861
26008
|
|
|
25862
26009
|
/**
|
|
25863
|
-
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation
|
|
26010
|
+
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation — a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
|
|
25864
26011
|
*
|
|
25865
26012
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
|
|
25866
26013
|
*/
|
|
@@ -25957,6 +26104,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
25957
26104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
25958
26105
|
*/
|
|
25959
26106
|
readonly permissions: Permissions;
|
|
26107
|
+
/**
|
|
26108
|
+
* The **`serial`** read-only property of the Navigator interface returns a Serial object which represents the entry point into the Web Serial API.
|
|
26109
|
+
*
|
|
26110
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serial)
|
|
26111
|
+
*/
|
|
26112
|
+
readonly serial: Serial;
|
|
25960
26113
|
/**
|
|
25961
26114
|
* 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.
|
|
25962
26115
|
* Available only in secure contexts.
|
|
@@ -26888,7 +27041,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
26888
27041
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
26889
27042
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
26890
27043
|
/**
|
|
26891
|
-
* The **`
|
|
27044
|
+
* 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.
|
|
26892
27045
|
*
|
|
26893
27046
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
|
|
26894
27047
|
*/
|
|
@@ -26919,6 +27072,18 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
26919
27072
|
new(): OffscreenCanvasRenderingContext2D;
|
|
26920
27073
|
};
|
|
26921
27074
|
|
|
27075
|
+
interface Origin {
|
|
27076
|
+
readonly opaque: boolean;
|
|
27077
|
+
isSameOrigin(other: Origin): boolean;
|
|
27078
|
+
isSameSite(other: Origin): boolean;
|
|
27079
|
+
}
|
|
27080
|
+
|
|
27081
|
+
declare var Origin: {
|
|
27082
|
+
prototype: Origin;
|
|
27083
|
+
new(): Origin;
|
|
27084
|
+
from(value: any): Origin;
|
|
27085
|
+
};
|
|
27086
|
+
|
|
26922
27087
|
/**
|
|
26923
27088
|
* 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.
|
|
26924
27089
|
*
|
|
@@ -27043,7 +27208,9 @@ declare var PageTransitionEvent: {
|
|
|
27043
27208
|
};
|
|
27044
27209
|
|
|
27045
27210
|
interface PaintTimingMixin {
|
|
27211
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/paintTime) */
|
|
27046
27212
|
readonly paintTime: DOMHighResTimeStamp;
|
|
27213
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/presentationTime) */
|
|
27047
27214
|
readonly presentationTime: DOMHighResTimeStamp | null;
|
|
27048
27215
|
}
|
|
27049
27216
|
|
|
@@ -28025,6 +28192,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
28025
28192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
|
|
28026
28193
|
*/
|
|
28027
28194
|
readonly connectStart: DOMHighResTimeStamp;
|
|
28195
|
+
/**
|
|
28196
|
+
* 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.
|
|
28197
|
+
*
|
|
28198
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
|
|
28199
|
+
*/
|
|
28200
|
+
readonly contentType: string;
|
|
28028
28201
|
/**
|
|
28029
28202
|
* 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.
|
|
28030
28203
|
*
|
|
@@ -29288,7 +29461,7 @@ interface RTCEncodedVideoFrame {
|
|
|
29288
29461
|
*/
|
|
29289
29462
|
readonly timestamp: number;
|
|
29290
29463
|
/**
|
|
29291
|
-
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame
|
|
29464
|
+
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame or a delta frame.
|
|
29292
29465
|
*
|
|
29293
29466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
29294
29467
|
*/
|
|
@@ -30466,7 +30639,7 @@ interface ReadableStreamBYOBRequest {
|
|
|
30466
30639
|
*
|
|
30467
30640
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
|
|
30468
30641
|
*/
|
|
30469
|
-
readonly view:
|
|
30642
|
+
readonly view: Uint8Array | null;
|
|
30470
30643
|
/**
|
|
30471
30644
|
* 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.
|
|
30472
30645
|
*
|
|
@@ -34710,7 +34883,11 @@ declare var SVGViewElement: {
|
|
|
34710
34883
|
new(): SVGViewElement;
|
|
34711
34884
|
};
|
|
34712
34885
|
|
|
34713
|
-
/**
|
|
34886
|
+
/**
|
|
34887
|
+
* 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.
|
|
34888
|
+
*
|
|
34889
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Sanitizer)
|
|
34890
|
+
*/
|
|
34714
34891
|
interface Sanitizer {
|
|
34715
34892
|
/**
|
|
34716
34893
|
* The **`allowAttribute()`** method of the Sanitizer interface sets an attribute to be allowed on all elements when the sanitizer is used.
|
|
@@ -34974,7 +35151,7 @@ interface SecurityPolicyViolationEvent extends Event {
|
|
|
34974
35151
|
*/
|
|
34975
35152
|
readonly blockedURI: string;
|
|
34976
35153
|
/**
|
|
34977
|
-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the
|
|
35154
|
+
* 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.
|
|
34978
35155
|
*
|
|
34979
35156
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
|
|
34980
35157
|
*/
|
|
@@ -35204,6 +35381,113 @@ declare var Selection: {
|
|
|
35204
35381
|
new(): Selection;
|
|
35205
35382
|
};
|
|
35206
35383
|
|
|
35384
|
+
/**
|
|
35385
|
+
* The **`Serial`** interface of the Web Serial API provides attributes and methods for finding and connecting to serial ports from a web page.
|
|
35386
|
+
* Available only in secure contexts.
|
|
35387
|
+
*
|
|
35388
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial)
|
|
35389
|
+
*/
|
|
35390
|
+
interface Serial extends EventTarget {
|
|
35391
|
+
/**
|
|
35392
|
+
* 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.
|
|
35393
|
+
*
|
|
35394
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/getPorts)
|
|
35395
|
+
*/
|
|
35396
|
+
getPorts(): Promise<SerialPort[]>;
|
|
35397
|
+
/**
|
|
35398
|
+
* 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.
|
|
35399
|
+
*
|
|
35400
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/requestPort)
|
|
35401
|
+
*/
|
|
35402
|
+
requestPort(options?: SerialPortRequestOptions): Promise<SerialPort>;
|
|
35403
|
+
}
|
|
35404
|
+
|
|
35405
|
+
declare var Serial: {
|
|
35406
|
+
prototype: Serial;
|
|
35407
|
+
new(): Serial;
|
|
35408
|
+
};
|
|
35409
|
+
|
|
35410
|
+
interface SerialPortEventMap {
|
|
35411
|
+
"connect": Event;
|
|
35412
|
+
"disconnect": Event;
|
|
35413
|
+
}
|
|
35414
|
+
|
|
35415
|
+
/**
|
|
35416
|
+
* The **`SerialPort`** interface of the Web Serial API provides access to a serial port on the host device.
|
|
35417
|
+
* Available only in secure contexts.
|
|
35418
|
+
*
|
|
35419
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort)
|
|
35420
|
+
*/
|
|
35421
|
+
interface SerialPort extends EventTarget {
|
|
35422
|
+
/**
|
|
35423
|
+
* The **`connected`** read-only property of the SerialPort interface returns a boolean value that indicates whether the port is logically connected to the device.
|
|
35424
|
+
*
|
|
35425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connected)
|
|
35426
|
+
*/
|
|
35427
|
+
readonly connected: boolean;
|
|
35428
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connect_event) */
|
|
35429
|
+
onconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35430
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/disconnect_event) */
|
|
35431
|
+
ondisconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35432
|
+
/**
|
|
35433
|
+
* 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.
|
|
35434
|
+
*
|
|
35435
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/readable)
|
|
35436
|
+
*/
|
|
35437
|
+
readonly readable: ReadableStream | null;
|
|
35438
|
+
/**
|
|
35439
|
+
* 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.
|
|
35440
|
+
*
|
|
35441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/writable)
|
|
35442
|
+
*/
|
|
35443
|
+
readonly writable: WritableStream | null;
|
|
35444
|
+
/**
|
|
35445
|
+
* The **`SerialPort.close()`** method of the SerialPort interface returns a Promise that resolves when the port closes.
|
|
35446
|
+
*
|
|
35447
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/close)
|
|
35448
|
+
*/
|
|
35449
|
+
close(): Promise<void>;
|
|
35450
|
+
/**
|
|
35451
|
+
* The **`SerialPort.forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked.
|
|
35452
|
+
*
|
|
35453
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/forget)
|
|
35454
|
+
*/
|
|
35455
|
+
forget(): Promise<void>;
|
|
35456
|
+
/**
|
|
35457
|
+
* The **`getInfo()`** method of the SerialPort interface returns an object containing identifying information for the device available via the port.
|
|
35458
|
+
*
|
|
35459
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getInfo)
|
|
35460
|
+
*/
|
|
35461
|
+
getInfo(): SerialPortInfo;
|
|
35462
|
+
/**
|
|
35463
|
+
* 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.
|
|
35464
|
+
*
|
|
35465
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getSignals)
|
|
35466
|
+
*/
|
|
35467
|
+
getSignals(): Promise<SerialInputSignals>;
|
|
35468
|
+
/**
|
|
35469
|
+
* 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.
|
|
35470
|
+
*
|
|
35471
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/open)
|
|
35472
|
+
*/
|
|
35473
|
+
open(options: SerialOptions): Promise<void>;
|
|
35474
|
+
/**
|
|
35475
|
+
* The **`setSignals()`** method of the SerialPort interface sets control signals on the port and returns a Promise that resolves when they are set.
|
|
35476
|
+
*
|
|
35477
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/setSignals)
|
|
35478
|
+
*/
|
|
35479
|
+
setSignals(signals?: SerialOutputSignals): Promise<void>;
|
|
35480
|
+
addEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35481
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35482
|
+
removeEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
35483
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
35484
|
+
}
|
|
35485
|
+
|
|
35486
|
+
declare var SerialPort: {
|
|
35487
|
+
prototype: SerialPort;
|
|
35488
|
+
new(): SerialPort;
|
|
35489
|
+
};
|
|
35490
|
+
|
|
35207
35491
|
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
35208
35492
|
"statechange": Event;
|
|
35209
35493
|
}
|
|
@@ -38603,13 +38887,13 @@ interface WEBGL_draw_buffers {
|
|
|
38603
38887
|
*/
|
|
38604
38888
|
interface WEBGL_lose_context {
|
|
38605
38889
|
/**
|
|
38606
|
-
* The **`
|
|
38890
|
+
* 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.
|
|
38607
38891
|
*
|
|
38608
38892
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
|
|
38609
38893
|
*/
|
|
38610
38894
|
loseContext(): void;
|
|
38611
38895
|
/**
|
|
38612
|
-
* The **`
|
|
38896
|
+
* 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.
|
|
38613
38897
|
*
|
|
38614
38898
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
|
|
38615
38899
|
*/
|
|
@@ -41398,7 +41682,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41398
41682
|
*/
|
|
41399
41683
|
readonly cookieStore: CookieStore;
|
|
41400
41684
|
/**
|
|
41401
|
-
* 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.
|
|
41685
|
+
* 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.
|
|
41402
41686
|
*
|
|
41403
41687
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
41404
41688
|
*/
|
|
@@ -41415,6 +41699,13 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41415
41699
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
41416
41700
|
*/
|
|
41417
41701
|
readonly document: Document;
|
|
41702
|
+
/**
|
|
41703
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
41704
|
+
* Available only in secure contexts.
|
|
41705
|
+
*
|
|
41706
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
41707
|
+
*/
|
|
41708
|
+
readonly documentPictureInPicture: DocumentPictureInPicture;
|
|
41418
41709
|
/**
|
|
41419
41710
|
* 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.
|
|
41420
41711
|
* @deprecated
|
|
@@ -42567,6 +42858,7 @@ declare namespace CSS {
|
|
|
42567
42858
|
function Hz(value: number): CSSUnitValue;
|
|
42568
42859
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42569
42860
|
function Q(value: number): CSSUnitValue;
|
|
42861
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42570
42862
|
function cap(value: number): CSSUnitValue;
|
|
42571
42863
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42572
42864
|
function ch(value: number): CSSUnitValue;
|
|
@@ -42618,9 +42910,11 @@ declare namespace CSS {
|
|
|
42618
42910
|
function fr(value: number): CSSUnitValue;
|
|
42619
42911
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42620
42912
|
function grad(value: number): CSSUnitValue;
|
|
42913
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42621
42914
|
function ic(value: number): CSSUnitValue;
|
|
42622
42915
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42623
42916
|
function kHz(value: number): CSSUnitValue;
|
|
42917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42624
42918
|
function lh(value: number): CSSUnitValue;
|
|
42625
42919
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42626
42920
|
function lvb(value: number): CSSUnitValue;
|
|
@@ -42650,7 +42944,9 @@ declare namespace CSS {
|
|
|
42650
42944
|
function px(value: number): CSSUnitValue;
|
|
42651
42945
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42652
42946
|
function rad(value: number): CSSUnitValue;
|
|
42947
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42653
42948
|
function rcap(value: number): CSSUnitValue;
|
|
42949
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42654
42950
|
function rch(value: number): CSSUnitValue;
|
|
42655
42951
|
/**
|
|
42656
42952
|
* 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.
|
|
@@ -42660,8 +42956,11 @@ declare namespace CSS {
|
|
|
42660
42956
|
function registerProperty(definition: PropertyDefinition): void;
|
|
42661
42957
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42662
42958
|
function rem(value: number): CSSUnitValue;
|
|
42959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42663
42960
|
function rex(value: number): CSSUnitValue;
|
|
42961
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42664
42962
|
function ric(value: number): CSSUnitValue;
|
|
42963
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42665
42964
|
function rlh(value: number): CSSUnitValue;
|
|
42666
42965
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42667
42966
|
function s(value: number): CSSUnitValue;
|
|
@@ -42748,6 +43047,7 @@ declare namespace WebAssembly {
|
|
|
42748
43047
|
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
42749
43048
|
*/
|
|
42750
43049
|
interface Global<T extends ValueType = ValueType> {
|
|
43050
|
+
/** The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable. */
|
|
42751
43051
|
value: ValueTypeMap[T];
|
|
42752
43052
|
valueOf(): ValueTypeMap[T];
|
|
42753
43053
|
}
|
|
@@ -43583,7 +43883,7 @@ declare var closed: boolean;
|
|
|
43583
43883
|
*/
|
|
43584
43884
|
declare var cookieStore: CookieStore;
|
|
43585
43885
|
/**
|
|
43586
|
-
* 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.
|
|
43886
|
+
* 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.
|
|
43587
43887
|
*
|
|
43588
43888
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
43589
43889
|
*/
|
|
@@ -43600,6 +43900,13 @@ declare var devicePixelRatio: number;
|
|
|
43600
43900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
43601
43901
|
*/
|
|
43602
43902
|
declare var document: Document;
|
|
43903
|
+
/**
|
|
43904
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
43905
|
+
* Available only in secure contexts.
|
|
43906
|
+
*
|
|
43907
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
43908
|
+
*/
|
|
43909
|
+
declare var documentPictureInPicture: DocumentPictureInPicture;
|
|
43603
43910
|
/**
|
|
43604
43911
|
* 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.
|
|
43605
43912
|
* @deprecated
|
|
@@ -44346,6 +44653,7 @@ type AutoFillSection = `section-${string}`;
|
|
|
44346
44653
|
type Base64URLString = string;
|
|
44347
44654
|
type BigInteger = Uint8Array;
|
|
44348
44655
|
type BlobPart = BufferSource | Blob | string;
|
|
44656
|
+
type BluetoothServiceUUID = string | number;
|
|
44349
44657
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
44350
44658
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
44351
44659
|
type COSEAlgorithmIdentifier = number;
|
|
@@ -44437,6 +44745,7 @@ type RequestInfo = Request | string;
|
|
|
44437
44745
|
type SanitizerAttribute = string | SanitizerAttributeNamespace;
|
|
44438
44746
|
type SanitizerElement = string | SanitizerElementNamespace;
|
|
44439
44747
|
type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes;
|
|
44748
|
+
type SanitizerPI = string | SanitizerProcessingInstruction;
|
|
44440
44749
|
type SelectionDirection = "forward" | "backward" | "none";
|
|
44441
44750
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
44442
44751
|
type TimerHandler = string | Function;
|
|
@@ -44507,6 +44816,7 @@ type EndingType = "native" | "transparent";
|
|
|
44507
44816
|
type FileSystemHandleKind = "directory" | "file";
|
|
44508
44817
|
type FillLightMode = "auto" | "flash" | "off";
|
|
44509
44818
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
44819
|
+
type FlowControlType = "hardware" | "none";
|
|
44510
44820
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44511
44821
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44512
44822
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
@@ -44596,6 +44906,7 @@ type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-p
|
|
|
44596
44906
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
44597
44907
|
type OverSampleType = "2x" | "4x" | "none";
|
|
44598
44908
|
type PanningModelType = "HRTF" | "equalpower";
|
|
44909
|
+
type ParityType = "even" | "none" | "odd";
|
|
44599
44910
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
44600
44911
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
44601
44912
|
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|