@types/web 0.0.150 → 0.0.151
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 +1 -1
- package/index.d.ts +191 -831
- package/iterable.d.ts +1 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2213,7 +2213,9 @@ interface ARIAMixin {
|
|
|
2213
2213
|
ariaAtomic: string | null;
|
|
2214
2214
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */
|
|
2215
2215
|
ariaAutoComplete: string | null;
|
|
2216
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) */
|
|
2216
2217
|
ariaBrailleLabel: string | null;
|
|
2218
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) */
|
|
2217
2219
|
ariaBrailleRoleDescription: string | null;
|
|
2218
2220
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */
|
|
2219
2221
|
ariaBusy: string | null;
|
|
@@ -2796,7 +2798,6 @@ declare var AudioNode: {
|
|
|
2796
2798
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam)
|
|
2797
2799
|
*/
|
|
2798
2800
|
interface AudioParam {
|
|
2799
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/automationRate) */
|
|
2800
2801
|
automationRate: AutomationRate;
|
|
2801
2802
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/defaultValue) */
|
|
2802
2803
|
readonly defaultValue: number;
|
|
@@ -3084,7 +3085,11 @@ declare var BaseAudioContext: {
|
|
|
3084
3085
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)
|
|
3085
3086
|
*/
|
|
3086
3087
|
interface BeforeUnloadEvent extends Event {
|
|
3087
|
-
/**
|
|
3088
|
+
/**
|
|
3089
|
+
* @deprecated
|
|
3090
|
+
*
|
|
3091
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue)
|
|
3092
|
+
*/
|
|
3088
3093
|
returnValue: any;
|
|
3089
3094
|
}
|
|
3090
3095
|
|
|
@@ -3392,7 +3397,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
3392
3397
|
readonly layerName: string | null;
|
|
3393
3398
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3394
3399
|
readonly media: MediaList;
|
|
3395
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/
|
|
3400
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */
|
|
3396
3401
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3397
3402
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
3398
3403
|
readonly supportsText: string | null;
|
|
@@ -3685,7 +3690,7 @@ declare var CSSPerspective: {
|
|
|
3685
3690
|
interface CSSPropertyRule extends CSSRule {
|
|
3686
3691
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
|
|
3687
3692
|
readonly inherits: boolean;
|
|
3688
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/
|
|
3693
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */
|
|
3689
3694
|
readonly initialValue: string | null;
|
|
3690
3695
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
|
|
3691
3696
|
readonly name: string;
|
|
@@ -3798,8 +3803,11 @@ declare var CSSScale: {
|
|
|
3798
3803
|
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
|
|
3799
3804
|
};
|
|
3800
3805
|
|
|
3806
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule) */
|
|
3801
3807
|
interface CSSScopeRule extends CSSGroupingRule {
|
|
3808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end) */
|
|
3802
3809
|
readonly end: string | null;
|
|
3810
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start) */
|
|
3803
3811
|
readonly start: string | null;
|
|
3804
3812
|
}
|
|
3805
3813
|
|
|
@@ -3922,7 +3930,6 @@ interface CSSStyleDeclaration {
|
|
|
3922
3930
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */
|
|
3923
3931
|
backgroundSize: string;
|
|
3924
3932
|
baselineShift: string;
|
|
3925
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */
|
|
3926
3933
|
baselineSource: string;
|
|
3927
3934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */
|
|
3928
3935
|
blockSize: string;
|
|
@@ -4104,11 +4111,9 @@ interface CSSStyleDeclaration {
|
|
|
4104
4111
|
columns: string;
|
|
4105
4112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */
|
|
4106
4113
|
contain: string;
|
|
4107
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size) */
|
|
4108
4114
|
containIntrinsicBlockSize: string;
|
|
4109
4115
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */
|
|
4110
4116
|
containIntrinsicHeight: string;
|
|
4111
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size) */
|
|
4112
4117
|
containIntrinsicInlineSize: string;
|
|
4113
4118
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */
|
|
4114
4119
|
containIntrinsicSize: string;
|
|
@@ -4625,7 +4630,9 @@ interface CSSStyleDeclaration {
|
|
|
4625
4630
|
textUnderlinePosition: string;
|
|
4626
4631
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */
|
|
4627
4632
|
textWrap: string;
|
|
4633
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */
|
|
4628
4634
|
textWrapMode: string;
|
|
4635
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
4629
4636
|
textWrapStyle: string;
|
|
4630
4637
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
4631
4638
|
top: string;
|
|
@@ -5768,6 +5775,7 @@ interface ClipboardItem {
|
|
|
5768
5775
|
declare var ClipboardItem: {
|
|
5769
5776
|
prototype: ClipboardItem;
|
|
5770
5777
|
new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
|
|
5778
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static) */
|
|
5771
5779
|
supports(type: string): boolean;
|
|
5772
5780
|
};
|
|
5773
5781
|
|
|
@@ -6170,9 +6178,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6170
6178
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
6171
6179
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
6172
6180
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6173
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
6174
6181
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6175
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
6176
6182
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6177
6183
|
setMatrixValue(transformList: string): DOMMatrix;
|
|
6178
6184
|
skewXSelf(sx?: number): DOMMatrix;
|
|
@@ -6196,88 +6202,48 @@ declare var WebKitCSSMatrix: typeof DOMMatrix;
|
|
|
6196
6202
|
|
|
6197
6203
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
|
|
6198
6204
|
interface DOMMatrixReadOnly {
|
|
6199
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */
|
|
6200
6205
|
readonly a: number;
|
|
6201
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */
|
|
6202
6206
|
readonly b: number;
|
|
6203
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */
|
|
6204
6207
|
readonly c: number;
|
|
6205
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */
|
|
6206
6208
|
readonly d: number;
|
|
6207
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */
|
|
6208
6209
|
readonly e: number;
|
|
6209
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */
|
|
6210
6210
|
readonly f: number;
|
|
6211
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
6212
6211
|
readonly is2D: boolean;
|
|
6213
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
6214
6212
|
readonly isIdentity: boolean;
|
|
6215
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */
|
|
6216
6213
|
readonly m11: number;
|
|
6217
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */
|
|
6218
6214
|
readonly m12: number;
|
|
6219
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */
|
|
6220
6215
|
readonly m13: number;
|
|
6221
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */
|
|
6222
6216
|
readonly m14: number;
|
|
6223
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */
|
|
6224
6217
|
readonly m21: number;
|
|
6225
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */
|
|
6226
6218
|
readonly m22: number;
|
|
6227
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */
|
|
6228
6219
|
readonly m23: number;
|
|
6229
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */
|
|
6230
6220
|
readonly m24: number;
|
|
6231
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */
|
|
6232
6221
|
readonly m31: number;
|
|
6233
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */
|
|
6234
6222
|
readonly m32: number;
|
|
6235
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */
|
|
6236
6223
|
readonly m33: number;
|
|
6237
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */
|
|
6238
6224
|
readonly m34: number;
|
|
6239
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */
|
|
6240
6225
|
readonly m41: number;
|
|
6241
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */
|
|
6242
6226
|
readonly m42: number;
|
|
6243
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */
|
|
6244
6227
|
readonly m43: number;
|
|
6245
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */
|
|
6246
6228
|
readonly m44: number;
|
|
6247
6229
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
6248
6230
|
flipX(): DOMMatrix;
|
|
6249
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
6250
6231
|
flipY(): DOMMatrix;
|
|
6251
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
6252
6232
|
inverse(): DOMMatrix;
|
|
6253
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
6254
6233
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
6255
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
|
|
6256
6234
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6257
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
|
|
6258
6235
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
6259
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
|
|
6260
6236
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
6261
6237
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
|
|
6262
6238
|
scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6263
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */
|
|
6264
6239
|
scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6265
|
-
/**
|
|
6266
|
-
* @deprecated
|
|
6267
|
-
*
|
|
6268
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)
|
|
6269
|
-
*/
|
|
6240
|
+
/** @deprecated */
|
|
6270
6241
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
6271
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
|
|
6272
6242
|
skewX(sx?: number): DOMMatrix;
|
|
6273
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
|
|
6274
6243
|
skewY(sy?: number): DOMMatrix;
|
|
6275
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
6276
6244
|
toFloat32Array(): Float32Array;
|
|
6277
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
6278
6245
|
toFloat64Array(): Float64Array;
|
|
6279
6246
|
toJSON(): any;
|
|
6280
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
6281
6247
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
6282
6248
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
6283
6249
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -6349,7 +6315,6 @@ interface DOMPointReadOnly {
|
|
|
6349
6315
|
readonly y: number;
|
|
6350
6316
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
6351
6317
|
readonly z: number;
|
|
6352
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
6353
6318
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
6354
6319
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
6355
6320
|
toJSON(): any;
|
|
@@ -6364,15 +6329,10 @@ declare var DOMPointReadOnly: {
|
|
|
6364
6329
|
|
|
6365
6330
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
|
|
6366
6331
|
interface DOMQuad {
|
|
6367
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
6368
6332
|
readonly p1: DOMPoint;
|
|
6369
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
|
|
6370
6333
|
readonly p2: DOMPoint;
|
|
6371
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
|
|
6372
6334
|
readonly p3: DOMPoint;
|
|
6373
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
|
|
6374
6335
|
readonly p4: DOMPoint;
|
|
6375
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
|
|
6376
6336
|
getBounds(): DOMRect;
|
|
6377
6337
|
toJSON(): any;
|
|
6378
6338
|
}
|
|
@@ -6395,6 +6355,7 @@ interface DOMRect extends DOMRectReadOnly {
|
|
|
6395
6355
|
declare var DOMRect: {
|
|
6396
6356
|
prototype: DOMRect;
|
|
6397
6357
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
6358
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
|
|
6398
6359
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
6399
6360
|
};
|
|
6400
6361
|
|
|
@@ -7139,11 +7100,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7139
7100
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode)
|
|
7140
7101
|
*/
|
|
7141
7102
|
adoptNode<T extends Node>(node: T): T;
|
|
7142
|
-
/**
|
|
7143
|
-
* @deprecated
|
|
7144
|
-
*
|
|
7145
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/captureEvents)
|
|
7146
|
-
*/
|
|
7103
|
+
/** @deprecated */
|
|
7147
7104
|
captureEvents(): void;
|
|
7148
7105
|
/** @deprecated */
|
|
7149
7106
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
@@ -7434,8 +7391,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7434
7391
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
7435
7392
|
* @param commandId String that specifies a command identifier.
|
|
7436
7393
|
* @deprecated
|
|
7437
|
-
*
|
|
7438
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandIndeterm)
|
|
7439
7394
|
*/
|
|
7440
7395
|
queryCommandIndeterm(commandId: string): boolean;
|
|
7441
7396
|
/**
|
|
@@ -7458,15 +7413,9 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7458
7413
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
7459
7414
|
* @param commandId String that specifies a command identifier.
|
|
7460
7415
|
* @deprecated
|
|
7461
|
-
*
|
|
7462
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandValue)
|
|
7463
7416
|
*/
|
|
7464
7417
|
queryCommandValue(commandId: string): string;
|
|
7465
|
-
/**
|
|
7466
|
-
* @deprecated
|
|
7467
|
-
*
|
|
7468
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/releaseEvents)
|
|
7469
|
-
*/
|
|
7418
|
+
/** @deprecated */
|
|
7470
7419
|
releaseEvents(): void;
|
|
7471
7420
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
|
|
7472
7421
|
requestStorageAccess(): Promise<void>;
|
|
@@ -7495,6 +7444,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7495
7444
|
declare var Document: {
|
|
7496
7445
|
prototype: Document;
|
|
7497
7446
|
new(): Document;
|
|
7447
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static) */
|
|
7498
7448
|
parseHTMLUnsafe(html: string): Document;
|
|
7499
7449
|
};
|
|
7500
7450
|
|
|
@@ -7863,6 +7813,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
7863
7813
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
7864
7814
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
7865
7815
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
7816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML) */
|
|
7866
7817
|
getHTML(options?: GetHTMLOptions): string;
|
|
7867
7818
|
/**
|
|
7868
7819
|
* Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
|
|
@@ -7949,6 +7900,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
7949
7900
|
setAttributeNode(attr: Attr): Attr | null;
|
|
7950
7901
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */
|
|
7951
7902
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
7903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe) */
|
|
7952
7904
|
setHTMLUnsafe(html: string): void;
|
|
7953
7905
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) */
|
|
7954
7906
|
setPointerCapture(pointerId: number): void;
|
|
@@ -8093,15 +8045,10 @@ declare var EncodedVideoChunk: {
|
|
|
8093
8045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
8094
8046
|
*/
|
|
8095
8047
|
interface ErrorEvent extends Event {
|
|
8096
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
8097
8048
|
readonly colno: number;
|
|
8098
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
8099
8049
|
readonly error: any;
|
|
8100
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
8101
8050
|
readonly filename: string;
|
|
8102
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
8103
8051
|
readonly lineno: number;
|
|
8104
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
8105
8052
|
readonly message: string;
|
|
8106
8053
|
}
|
|
8107
8054
|
|
|
@@ -8357,23 +8304,11 @@ declare var EventTarget: {
|
|
|
8357
8304
|
new(): EventTarget;
|
|
8358
8305
|
};
|
|
8359
8306
|
|
|
8360
|
-
/**
|
|
8361
|
-
* @deprecated
|
|
8362
|
-
*
|
|
8363
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/External)
|
|
8364
|
-
*/
|
|
8307
|
+
/** @deprecated */
|
|
8365
8308
|
interface External {
|
|
8366
|
-
/**
|
|
8367
|
-
* @deprecated
|
|
8368
|
-
*
|
|
8369
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/AddSearchProvider)
|
|
8370
|
-
*/
|
|
8309
|
+
/** @deprecated */
|
|
8371
8310
|
AddSearchProvider(): void;
|
|
8372
|
-
/**
|
|
8373
|
-
* @deprecated
|
|
8374
|
-
*
|
|
8375
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/External/IsSearchProviderInstalled)
|
|
8376
|
-
*/
|
|
8311
|
+
/** @deprecated */
|
|
8377
8312
|
IsSearchProviderInstalled(): void;
|
|
8378
8313
|
}
|
|
8379
8314
|
|
|
@@ -8813,6 +8748,7 @@ interface Gamepad {
|
|
|
8813
8748
|
readonly mapping: GamepadMappingType;
|
|
8814
8749
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */
|
|
8815
8750
|
readonly timestamp: DOMHighResTimeStamp;
|
|
8751
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator) */
|
|
8816
8752
|
readonly vibrationActuator: GamepadHapticActuator;
|
|
8817
8753
|
}
|
|
8818
8754
|
|
|
@@ -8861,6 +8797,7 @@ declare var GamepadEvent: {
|
|
|
8861
8797
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator)
|
|
8862
8798
|
*/
|
|
8863
8799
|
interface GamepadHapticActuator {
|
|
8800
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */
|
|
8864
8801
|
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
|
|
8865
8802
|
reset(): Promise<GamepadHapticsResult>;
|
|
8866
8803
|
}
|
|
@@ -8916,6 +8853,7 @@ interface GeolocationCoordinates {
|
|
|
8916
8853
|
readonly longitude: number;
|
|
8917
8854
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed) */
|
|
8918
8855
|
readonly speed: number | null;
|
|
8856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON) */
|
|
8919
8857
|
toJSON(): any;
|
|
8920
8858
|
}
|
|
8921
8859
|
|
|
@@ -8934,6 +8872,7 @@ interface GeolocationPosition {
|
|
|
8934
8872
|
readonly coords: GeolocationCoordinates;
|
|
8935
8873
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp) */
|
|
8936
8874
|
readonly timestamp: EpochTimeStamp;
|
|
8875
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON) */
|
|
8937
8876
|
toJSON(): any;
|
|
8938
8877
|
}
|
|
8939
8878
|
|
|
@@ -9096,7 +9035,7 @@ interface GlobalEventHandlers {
|
|
|
9096
9035
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
9097
9036
|
*/
|
|
9098
9037
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
9099
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9038
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */
|
|
9100
9039
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9101
9040
|
/**
|
|
9102
9041
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -9284,7 +9223,7 @@ interface GlobalEventHandlers {
|
|
|
9284
9223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
|
|
9285
9224
|
*/
|
|
9286
9225
|
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9287
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9226
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */
|
|
9288
9227
|
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
9289
9228
|
/**
|
|
9290
9229
|
* Fires when the user clicks the object with either mouse button.
|
|
@@ -9553,15 +9492,11 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9553
9492
|
/**
|
|
9554
9493
|
* Sets or retrieves the character set used to encode the object.
|
|
9555
9494
|
* @deprecated
|
|
9556
|
-
*
|
|
9557
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset)
|
|
9558
9495
|
*/
|
|
9559
9496
|
charset: string;
|
|
9560
9497
|
/**
|
|
9561
9498
|
* Sets or retrieves the coordinates of the object.
|
|
9562
9499
|
* @deprecated
|
|
9563
|
-
*
|
|
9564
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords)
|
|
9565
9500
|
*/
|
|
9566
9501
|
coords: string;
|
|
9567
9502
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download) */
|
|
@@ -9575,8 +9510,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9575
9510
|
/**
|
|
9576
9511
|
* Sets or retrieves the shape of the object.
|
|
9577
9512
|
* @deprecated
|
|
9578
|
-
*
|
|
9579
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name)
|
|
9580
9513
|
*/
|
|
9581
9514
|
name: string;
|
|
9582
9515
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) */
|
|
@@ -9594,15 +9527,11 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9594
9527
|
/**
|
|
9595
9528
|
* Sets or retrieves the relationship between the object and the destination of the link.
|
|
9596
9529
|
* @deprecated
|
|
9597
|
-
*
|
|
9598
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev)
|
|
9599
9530
|
*/
|
|
9600
9531
|
rev: string;
|
|
9601
9532
|
/**
|
|
9602
9533
|
* Sets or retrieves the shape of the object.
|
|
9603
9534
|
* @deprecated
|
|
9604
|
-
*
|
|
9605
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape)
|
|
9606
9535
|
*/
|
|
9607
9536
|
shape: string;
|
|
9608
9537
|
/**
|
|
@@ -9636,25 +9565,14 @@ declare var HTMLAnchorElement: {
|
|
|
9636
9565
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
|
|
9637
9566
|
*/
|
|
9638
9567
|
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
9639
|
-
/**
|
|
9640
|
-
* Sets or retrieves a text alternative to the graphic.
|
|
9641
|
-
*
|
|
9642
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
|
|
9643
|
-
*/
|
|
9568
|
+
/** Sets or retrieves a text alternative to the graphic. */
|
|
9644
9569
|
alt: string;
|
|
9645
|
-
/**
|
|
9646
|
-
* Sets or retrieves the coordinates of the object.
|
|
9647
|
-
*
|
|
9648
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)
|
|
9649
|
-
*/
|
|
9570
|
+
/** Sets or retrieves the coordinates of the object. */
|
|
9650
9571
|
coords: string;
|
|
9651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download) */
|
|
9652
9572
|
download: string;
|
|
9653
9573
|
/**
|
|
9654
9574
|
* Sets or gets whether clicks in this region cause action.
|
|
9655
9575
|
* @deprecated
|
|
9656
|
-
*
|
|
9657
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref)
|
|
9658
9576
|
*/
|
|
9659
9577
|
noHref: boolean;
|
|
9660
9578
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) */
|
|
@@ -9665,11 +9583,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9665
9583
|
rel: string;
|
|
9666
9584
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
|
|
9667
9585
|
readonly relList: DOMTokenList;
|
|
9668
|
-
/**
|
|
9669
|
-
* Sets or retrieves the shape of the object.
|
|
9670
|
-
*
|
|
9671
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
9672
|
-
*/
|
|
9586
|
+
/** Sets or retrieves the shape of the object. */
|
|
9673
9587
|
shape: string;
|
|
9674
9588
|
/**
|
|
9675
9589
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -9714,8 +9628,6 @@ interface HTMLBRElement extends HTMLElement {
|
|
|
9714
9628
|
/**
|
|
9715
9629
|
* Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.
|
|
9716
9630
|
* @deprecated
|
|
9717
|
-
*
|
|
9718
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear)
|
|
9719
9631
|
*/
|
|
9720
9632
|
clear: string;
|
|
9721
9633
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9735,11 +9647,7 @@ declare var HTMLBRElement: {
|
|
|
9735
9647
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement)
|
|
9736
9648
|
*/
|
|
9737
9649
|
interface HTMLBaseElement extends HTMLElement {
|
|
9738
|
-
/**
|
|
9739
|
-
* Gets or sets the baseline URL on which relative links are based.
|
|
9740
|
-
*
|
|
9741
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)
|
|
9742
|
-
*/
|
|
9650
|
+
/** Gets or sets the baseline URL on which relative links are based. */
|
|
9743
9651
|
href: string;
|
|
9744
9652
|
/**
|
|
9745
9653
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -9767,41 +9675,17 @@ interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandle
|
|
|
9767
9675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement)
|
|
9768
9676
|
*/
|
|
9769
9677
|
interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
|
|
9770
|
-
/**
|
|
9771
|
-
* @deprecated
|
|
9772
|
-
*
|
|
9773
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink)
|
|
9774
|
-
*/
|
|
9678
|
+
/** @deprecated */
|
|
9775
9679
|
aLink: string;
|
|
9776
|
-
/**
|
|
9777
|
-
* @deprecated
|
|
9778
|
-
*
|
|
9779
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background)
|
|
9780
|
-
*/
|
|
9680
|
+
/** @deprecated */
|
|
9781
9681
|
background: string;
|
|
9782
|
-
/**
|
|
9783
|
-
* @deprecated
|
|
9784
|
-
*
|
|
9785
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor)
|
|
9786
|
-
*/
|
|
9682
|
+
/** @deprecated */
|
|
9787
9683
|
bgColor: string;
|
|
9788
|
-
/**
|
|
9789
|
-
* @deprecated
|
|
9790
|
-
*
|
|
9791
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link)
|
|
9792
|
-
*/
|
|
9684
|
+
/** @deprecated */
|
|
9793
9685
|
link: string;
|
|
9794
|
-
/**
|
|
9795
|
-
* @deprecated
|
|
9796
|
-
*
|
|
9797
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text)
|
|
9798
|
-
*/
|
|
9686
|
+
/** @deprecated */
|
|
9799
9687
|
text: string;
|
|
9800
|
-
/**
|
|
9801
|
-
* @deprecated
|
|
9802
|
-
*
|
|
9803
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink)
|
|
9804
|
-
*/
|
|
9688
|
+
/** @deprecated */
|
|
9805
9689
|
vLink: string;
|
|
9806
9690
|
addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9807
9691
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9822,49 +9706,21 @@ declare var HTMLBodyElement: {
|
|
|
9822
9706
|
interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
9823
9707
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
|
|
9824
9708
|
disabled: boolean;
|
|
9825
|
-
/**
|
|
9826
|
-
* Retrieves a reference to the form that the object is embedded in.
|
|
9827
|
-
*
|
|
9828
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
|
|
9829
|
-
*/
|
|
9709
|
+
/** Retrieves a reference to the form that the object is embedded in. */
|
|
9830
9710
|
readonly form: HTMLFormElement | null;
|
|
9831
|
-
/**
|
|
9832
|
-
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
9833
|
-
*
|
|
9834
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
9835
|
-
*/
|
|
9711
|
+
/** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
|
|
9836
9712
|
formAction: string;
|
|
9837
|
-
/**
|
|
9838
|
-
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
9839
|
-
*
|
|
9840
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)
|
|
9841
|
-
*/
|
|
9713
|
+
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
9842
9714
|
formEnctype: string;
|
|
9843
|
-
/**
|
|
9844
|
-
* Overrides the submit method attribute previously specified on a form element.
|
|
9845
|
-
*
|
|
9846
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
9847
|
-
*/
|
|
9715
|
+
/** Overrides the submit method attribute previously specified on a form element. */
|
|
9848
9716
|
formMethod: string;
|
|
9849
|
-
/**
|
|
9850
|
-
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
|
|
9851
|
-
*
|
|
9852
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)
|
|
9853
|
-
*/
|
|
9717
|
+
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
9854
9718
|
formNoValidate: boolean;
|
|
9855
|
-
/**
|
|
9856
|
-
* Overrides the target attribute on a form element.
|
|
9857
|
-
*
|
|
9858
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
|
|
9859
|
-
*/
|
|
9719
|
+
/** Overrides the target attribute on a form element. */
|
|
9860
9720
|
formTarget: string;
|
|
9861
9721
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
9862
9722
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
9863
|
-
/**
|
|
9864
|
-
* Sets or retrieves the name of the object.
|
|
9865
|
-
*
|
|
9866
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
9867
|
-
*/
|
|
9723
|
+
/** Sets or retrieves the name of the object. */
|
|
9868
9724
|
name: string;
|
|
9869
9725
|
/**
|
|
9870
9726
|
* Gets the classification and default behavior of the button.
|
|
@@ -9872,33 +9728,16 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9872
9728
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
|
|
9873
9729
|
*/
|
|
9874
9730
|
type: "submit" | "reset" | "button";
|
|
9875
|
-
/**
|
|
9876
|
-
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
9877
|
-
*
|
|
9878
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
|
|
9879
|
-
*/
|
|
9731
|
+
/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
|
|
9880
9732
|
readonly validationMessage: string;
|
|
9881
|
-
/**
|
|
9882
|
-
* Returns a ValidityState object that represents the validity states of an element.
|
|
9883
|
-
*
|
|
9884
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity)
|
|
9885
|
-
*/
|
|
9733
|
+
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
9886
9734
|
readonly validity: ValidityState;
|
|
9887
|
-
/**
|
|
9888
|
-
* Sets or retrieves the default or selected value of the control.
|
|
9889
|
-
*
|
|
9890
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
|
|
9891
|
-
*/
|
|
9735
|
+
/** Sets or retrieves the default or selected value of the control. */
|
|
9892
9736
|
value: string;
|
|
9893
|
-
/**
|
|
9894
|
-
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
9895
|
-
*
|
|
9896
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate)
|
|
9897
|
-
*/
|
|
9737
|
+
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
9898
9738
|
readonly willValidate: boolean;
|
|
9899
9739
|
/** Returns whether a form will validate when it is submitted, without having to submit it. */
|
|
9900
9740
|
checkValidity(): boolean;
|
|
9901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */
|
|
9902
9741
|
reportValidity(): boolean;
|
|
9903
9742
|
/**
|
|
9904
9743
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10016,11 +9855,7 @@ interface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {
|
|
|
10016
9855
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement)
|
|
10017
9856
|
*/
|
|
10018
9857
|
interface HTMLDListElement extends HTMLElement {
|
|
10019
|
-
/**
|
|
10020
|
-
* @deprecated
|
|
10021
|
-
*
|
|
10022
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact)
|
|
10023
|
-
*/
|
|
9858
|
+
/** @deprecated */
|
|
10024
9859
|
compact: boolean;
|
|
10025
9860
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10026
9861
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10058,11 +9893,7 @@ declare var HTMLDataElement: {
|
|
|
10058
9893
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)
|
|
10059
9894
|
*/
|
|
10060
9895
|
interface HTMLDataListElement extends HTMLElement {
|
|
10061
|
-
/**
|
|
10062
|
-
* Returns an HTMLCollection of the option elements of the datalist element.
|
|
10063
|
-
*
|
|
10064
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options)
|
|
10065
|
-
*/
|
|
9896
|
+
/** Returns an HTMLCollection of the option elements of the datalist element. */
|
|
10066
9897
|
readonly options: HTMLCollectionOf<HTMLOptionElement>;
|
|
10067
9898
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10068
9899
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10149,8 +9980,6 @@ interface HTMLDivElement extends HTMLElement {
|
|
|
10149
9980
|
/**
|
|
10150
9981
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
10151
9982
|
* @deprecated
|
|
10152
|
-
*
|
|
10153
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align)
|
|
10154
9983
|
*/
|
|
10155
9984
|
align: string;
|
|
10156
9985
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10296,49 +10125,22 @@ declare var HTMLEmbedElement: {
|
|
|
10296
10125
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
|
|
10297
10126
|
*/
|
|
10298
10127
|
interface HTMLFieldSetElement extends HTMLElement {
|
|
10299
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
|
|
10300
10128
|
disabled: boolean;
|
|
10301
|
-
/**
|
|
10302
|
-
* Returns an HTMLCollection of the form controls in the element.
|
|
10303
|
-
*
|
|
10304
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
|
|
10305
|
-
*/
|
|
10129
|
+
/** Returns an HTMLCollection of the form controls in the element. */
|
|
10306
10130
|
readonly elements: HTMLCollection;
|
|
10307
|
-
/**
|
|
10308
|
-
* Retrieves a reference to the form that the object is embedded in.
|
|
10309
|
-
*
|
|
10310
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form)
|
|
10311
|
-
*/
|
|
10131
|
+
/** Retrieves a reference to the form that the object is embedded in. */
|
|
10312
10132
|
readonly form: HTMLFormElement | null;
|
|
10313
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
10314
10133
|
name: string;
|
|
10315
|
-
/**
|
|
10316
|
-
* Returns the string "fieldset".
|
|
10317
|
-
*
|
|
10318
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
|
|
10319
|
-
*/
|
|
10134
|
+
/** Returns the string "fieldset". */
|
|
10320
10135
|
readonly type: string;
|
|
10321
|
-
/**
|
|
10322
|
-
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
10323
|
-
*
|
|
10324
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
|
|
10325
|
-
*/
|
|
10136
|
+
/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
|
|
10326
10137
|
readonly validationMessage: string;
|
|
10327
|
-
/**
|
|
10328
|
-
* Returns a ValidityState object that represents the validity states of an element.
|
|
10329
|
-
*
|
|
10330
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity)
|
|
10331
|
-
*/
|
|
10138
|
+
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
10332
10139
|
readonly validity: ValidityState;
|
|
10333
|
-
/**
|
|
10334
|
-
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
10335
|
-
*
|
|
10336
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate)
|
|
10337
|
-
*/
|
|
10140
|
+
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
10338
10141
|
readonly willValidate: boolean;
|
|
10339
10142
|
/** Returns whether a form will validate when it is submitted, without having to submit it. */
|
|
10340
10143
|
checkValidity(): boolean;
|
|
10341
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */
|
|
10342
10144
|
reportValidity(): boolean;
|
|
10343
10145
|
/**
|
|
10344
10146
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10433,11 +10235,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10433
10235
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
|
|
10434
10236
|
*/
|
|
10435
10237
|
action: string;
|
|
10436
|
-
/**
|
|
10437
|
-
* Specifies whether autocomplete is applied to an editable text field.
|
|
10438
|
-
*
|
|
10439
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
|
|
10440
|
-
*/
|
|
10238
|
+
/** Specifies whether autocomplete is applied to an editable text field. */
|
|
10441
10239
|
autocomplete: AutoFillBase;
|
|
10442
10240
|
/**
|
|
10443
10241
|
* Retrieves a collection, in source order, of all controls in a given form.
|
|
@@ -10475,11 +10273,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10475
10273
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
|
|
10476
10274
|
*/
|
|
10477
10275
|
name: string;
|
|
10478
|
-
/**
|
|
10479
|
-
* Designates a form that is not validated when submitted.
|
|
10480
|
-
*
|
|
10481
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
10482
|
-
*/
|
|
10276
|
+
/** Designates a form that is not validated when submitted. */
|
|
10483
10277
|
noValidate: boolean;
|
|
10484
10278
|
rel: string;
|
|
10485
10279
|
readonly relList: DOMTokenList;
|
|
@@ -10489,11 +10283,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10489
10283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
|
|
10490
10284
|
*/
|
|
10491
10285
|
target: string;
|
|
10492
|
-
/**
|
|
10493
|
-
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10494
|
-
*
|
|
10495
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
|
|
10496
|
-
*/
|
|
10286
|
+
/** Returns whether a form will validate when it is submitted, without having to submit it. */
|
|
10497
10287
|
checkValidity(): boolean;
|
|
10498
10288
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */
|
|
10499
10289
|
reportValidity(): boolean;
|
|
@@ -10524,80 +10314,56 @@ declare var HTMLFormElement: {
|
|
|
10524
10314
|
new(): HTMLFormElement;
|
|
10525
10315
|
};
|
|
10526
10316
|
|
|
10527
|
-
/**
|
|
10528
|
-
* @deprecated
|
|
10529
|
-
*
|
|
10530
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement)
|
|
10531
|
-
*/
|
|
10317
|
+
/** @deprecated */
|
|
10532
10318
|
interface HTMLFrameElement extends HTMLElement {
|
|
10533
10319
|
/**
|
|
10534
10320
|
* Retrieves the document object of the page or frame.
|
|
10535
10321
|
* @deprecated
|
|
10536
|
-
*
|
|
10537
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentDocument)
|
|
10538
10322
|
*/
|
|
10539
10323
|
readonly contentDocument: Document | null;
|
|
10540
10324
|
/**
|
|
10541
10325
|
* Retrieves the object of the specified.
|
|
10542
10326
|
* @deprecated
|
|
10543
|
-
*
|
|
10544
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/contentWindow)
|
|
10545
10327
|
*/
|
|
10546
10328
|
readonly contentWindow: WindowProxy | null;
|
|
10547
10329
|
/**
|
|
10548
10330
|
* Sets or retrieves whether to display a border for the frame.
|
|
10549
10331
|
* @deprecated
|
|
10550
|
-
*
|
|
10551
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/frameBorder)
|
|
10552
10332
|
*/
|
|
10553
10333
|
frameBorder: string;
|
|
10554
10334
|
/**
|
|
10555
10335
|
* Sets or retrieves a URI to a long description of the object.
|
|
10556
10336
|
* @deprecated
|
|
10557
|
-
*
|
|
10558
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/longDesc)
|
|
10559
10337
|
*/
|
|
10560
10338
|
longDesc: string;
|
|
10561
10339
|
/**
|
|
10562
10340
|
* Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
|
|
10563
10341
|
* @deprecated
|
|
10564
|
-
*
|
|
10565
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginHeight)
|
|
10566
10342
|
*/
|
|
10567
10343
|
marginHeight: string;
|
|
10568
10344
|
/**
|
|
10569
10345
|
* Sets or retrieves the left and right margin widths before displaying the text in a frame.
|
|
10570
10346
|
* @deprecated
|
|
10571
|
-
*
|
|
10572
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/marginWidth)
|
|
10573
10347
|
*/
|
|
10574
10348
|
marginWidth: string;
|
|
10575
10349
|
/**
|
|
10576
10350
|
* Sets or retrieves the frame name.
|
|
10577
10351
|
* @deprecated
|
|
10578
|
-
*
|
|
10579
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/name)
|
|
10580
10352
|
*/
|
|
10581
10353
|
name: string;
|
|
10582
10354
|
/**
|
|
10583
10355
|
* Sets or retrieves whether the user can resize the frame.
|
|
10584
10356
|
* @deprecated
|
|
10585
|
-
*
|
|
10586
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/noResize)
|
|
10587
10357
|
*/
|
|
10588
10358
|
noResize: boolean;
|
|
10589
10359
|
/**
|
|
10590
10360
|
* Sets or retrieves whether the frame can be scrolled.
|
|
10591
10361
|
* @deprecated
|
|
10592
|
-
*
|
|
10593
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/scrolling)
|
|
10594
10362
|
*/
|
|
10595
10363
|
scrolling: string;
|
|
10596
10364
|
/**
|
|
10597
10365
|
* Sets or retrieves a URL to be loaded by the object.
|
|
10598
10366
|
* @deprecated
|
|
10599
|
-
*
|
|
10600
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameElement/src)
|
|
10601
10367
|
*/
|
|
10602
10368
|
src: string;
|
|
10603
10369
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10706,8 +10472,6 @@ interface HTMLHeadingElement extends HTMLElement {
|
|
|
10706
10472
|
/**
|
|
10707
10473
|
* Sets or retrieves a value that indicates the table alignment.
|
|
10708
10474
|
* @deprecated
|
|
10709
|
-
*
|
|
10710
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement/align)
|
|
10711
10475
|
*/
|
|
10712
10476
|
align: string;
|
|
10713
10477
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10844,8 +10608,6 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10844
10608
|
/**
|
|
10845
10609
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
10846
10610
|
* @deprecated
|
|
10847
|
-
*
|
|
10848
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/align)
|
|
10849
10611
|
*/
|
|
10850
10612
|
align: string;
|
|
10851
10613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow) */
|
|
@@ -10867,8 +10629,6 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10867
10629
|
/**
|
|
10868
10630
|
* Sets or retrieves whether to display a border for the frame.
|
|
10869
10631
|
* @deprecated
|
|
10870
|
-
*
|
|
10871
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/frameBorder)
|
|
10872
10632
|
*/
|
|
10873
10633
|
frameBorder: string;
|
|
10874
10634
|
/**
|
|
@@ -10882,22 +10642,16 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10882
10642
|
/**
|
|
10883
10643
|
* Sets or retrieves a URI to a long description of the object.
|
|
10884
10644
|
* @deprecated
|
|
10885
|
-
*
|
|
10886
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/longDesc)
|
|
10887
10645
|
*/
|
|
10888
10646
|
longDesc: string;
|
|
10889
10647
|
/**
|
|
10890
10648
|
* Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
|
|
10891
10649
|
* @deprecated
|
|
10892
|
-
*
|
|
10893
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginHeight)
|
|
10894
10650
|
*/
|
|
10895
10651
|
marginHeight: string;
|
|
10896
10652
|
/**
|
|
10897
10653
|
* Sets or retrieves the left and right margin widths before displaying the text in a frame.
|
|
10898
10654
|
* @deprecated
|
|
10899
|
-
*
|
|
10900
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/marginWidth)
|
|
10901
10655
|
*/
|
|
10902
10656
|
marginWidth: string;
|
|
10903
10657
|
/**
|
|
@@ -10913,8 +10667,6 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10913
10667
|
/**
|
|
10914
10668
|
* Sets or retrieves whether the frame can be scrolled.
|
|
10915
10669
|
* @deprecated
|
|
10916
|
-
*
|
|
10917
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/scrolling)
|
|
10918
10670
|
*/
|
|
10919
10671
|
scrolling: string;
|
|
10920
10672
|
/**
|
|
@@ -11019,11 +10771,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
11019
10771
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)
|
|
11020
10772
|
*/
|
|
11021
10773
|
longDesc: string;
|
|
11022
|
-
/**
|
|
11023
|
-
* @deprecated
|
|
11024
|
-
*
|
|
11025
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/lowsrc)
|
|
11026
|
-
*/
|
|
10774
|
+
/** @deprecated */
|
|
11027
10775
|
lowsrc: string;
|
|
11028
10776
|
/**
|
|
11029
10777
|
* Sets or retrieves the name of the object.
|
|
@@ -11107,22 +10855,14 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11107
10855
|
align: string;
|
|
11108
10856
|
/** Sets or retrieves a text alternative to the graphic. */
|
|
11109
10857
|
alt: string;
|
|
11110
|
-
/**
|
|
11111
|
-
* Specifies whether autocomplete is applied to an editable text field.
|
|
11112
|
-
*
|
|
11113
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
|
|
11114
|
-
*/
|
|
10858
|
+
/** Specifies whether autocomplete is applied to an editable text field. */
|
|
11115
10859
|
autocomplete: AutoFill;
|
|
11116
10860
|
capture: string;
|
|
11117
10861
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
11118
10862
|
checked: boolean;
|
|
11119
10863
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
11120
10864
|
defaultChecked: boolean;
|
|
11121
|
-
/**
|
|
11122
|
-
* Sets or retrieves the initial contents of the object.
|
|
11123
|
-
*
|
|
11124
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11125
|
-
*/
|
|
10865
|
+
/** Sets or retrieves the initial contents of the object. */
|
|
11126
10866
|
defaultValue: string;
|
|
11127
10867
|
dirName: string;
|
|
11128
10868
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -11135,71 +10875,30 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11135
10875
|
files: FileList | null;
|
|
11136
10876
|
/** Retrieves a reference to the form that the object is embedded in. */
|
|
11137
10877
|
readonly form: HTMLFormElement | null;
|
|
11138
|
-
/**
|
|
11139
|
-
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
11140
|
-
*
|
|
11141
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
11142
|
-
*/
|
|
10878
|
+
/** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
|
|
11143
10879
|
formAction: string;
|
|
11144
|
-
/**
|
|
11145
|
-
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
11146
|
-
*
|
|
11147
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)
|
|
11148
|
-
*/
|
|
10880
|
+
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
11149
10881
|
formEnctype: string;
|
|
11150
|
-
/**
|
|
11151
|
-
* Overrides the submit method attribute previously specified on a form element.
|
|
11152
|
-
*
|
|
11153
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
11154
|
-
*/
|
|
10882
|
+
/** Overrides the submit method attribute previously specified on a form element. */
|
|
11155
10883
|
formMethod: string;
|
|
11156
|
-
/**
|
|
11157
|
-
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
|
|
11158
|
-
*
|
|
11159
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)
|
|
11160
|
-
*/
|
|
10884
|
+
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
11161
10885
|
formNoValidate: boolean;
|
|
11162
|
-
/**
|
|
11163
|
-
* Overrides the target attribute on a form element.
|
|
11164
|
-
*
|
|
11165
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
|
|
11166
|
-
*/
|
|
10886
|
+
/** Overrides the target attribute on a form element. */
|
|
11167
10887
|
formTarget: string;
|
|
11168
|
-
/**
|
|
11169
|
-
* Sets or retrieves the height of the object.
|
|
11170
|
-
*
|
|
11171
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
|
|
11172
|
-
*/
|
|
10888
|
+
/** Sets or retrieves the height of the object. */
|
|
11173
10889
|
height: number;
|
|
11174
10890
|
/** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
|
|
11175
10891
|
indeterminate: boolean;
|
|
11176
10892
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
|
|
11177
10893
|
readonly labels: NodeListOf<HTMLLabelElement> | null;
|
|
11178
|
-
/**
|
|
11179
|
-
* Specifies the ID of a pre-defined datalist of options for an input element.
|
|
11180
|
-
*
|
|
11181
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
|
|
11182
|
-
*/
|
|
10894
|
+
/** Specifies the ID of a pre-defined datalist of options for an input element. */
|
|
11183
10895
|
readonly list: HTMLDataListElement | null;
|
|
11184
|
-
/**
|
|
11185
|
-
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
11186
|
-
*
|
|
11187
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
11188
|
-
*/
|
|
10896
|
+
/** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */
|
|
11189
10897
|
max: string;
|
|
11190
|
-
/**
|
|
11191
|
-
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
11192
|
-
*
|
|
11193
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
11194
|
-
*/
|
|
10898
|
+
/** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
|
|
11195
10899
|
maxLength: number;
|
|
11196
|
-
/**
|
|
11197
|
-
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
11198
|
-
*
|
|
11199
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
11200
|
-
*/
|
|
10900
|
+
/** Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. */
|
|
11201
10901
|
min: string;
|
|
11202
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
11203
10902
|
minLength: number;
|
|
11204
10903
|
/**
|
|
11205
10904
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -11209,24 +10908,12 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11209
10908
|
multiple: boolean;
|
|
11210
10909
|
/** Sets or retrieves the name of the object. */
|
|
11211
10910
|
name: string;
|
|
11212
|
-
/**
|
|
11213
|
-
* Gets or sets a string containing a regular expression that the user's input must match.
|
|
11214
|
-
*
|
|
11215
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)
|
|
11216
|
-
*/
|
|
10911
|
+
/** Gets or sets a string containing a regular expression that the user's input must match. */
|
|
11217
10912
|
pattern: string;
|
|
11218
|
-
/**
|
|
11219
|
-
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
|
11220
|
-
*
|
|
11221
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)
|
|
11222
|
-
*/
|
|
10913
|
+
/** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
|
|
11223
10914
|
placeholder: string;
|
|
11224
10915
|
readOnly: boolean;
|
|
11225
|
-
/**
|
|
11226
|
-
* When present, marks an element that can't be submitted without a value.
|
|
11227
|
-
*
|
|
11228
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)
|
|
11229
|
-
*/
|
|
10916
|
+
/** When present, marks an element that can't be submitted without a value. */
|
|
11230
10917
|
required: boolean;
|
|
11231
10918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
|
|
11232
10919
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
@@ -11258,23 +10945,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11258
10945
|
* @deprecated
|
|
11259
10946
|
*/
|
|
11260
10947
|
useMap: string;
|
|
11261
|
-
/**
|
|
11262
|
-
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
11263
|
-
*
|
|
11264
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
|
|
11265
|
-
*/
|
|
10948
|
+
/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
|
|
11266
10949
|
readonly validationMessage: string;
|
|
11267
|
-
/**
|
|
11268
|
-
* Returns a ValidityState object that represents the validity states of an element.
|
|
11269
|
-
*
|
|
11270
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)
|
|
11271
|
-
*/
|
|
10950
|
+
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
11272
10951
|
readonly validity: ValidityState;
|
|
11273
|
-
/**
|
|
11274
|
-
* Returns the value of the data at the cursor's current position.
|
|
11275
|
-
*
|
|
11276
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
11277
|
-
*/
|
|
10952
|
+
/** Returns the value of the data at the cursor's current position. */
|
|
11278
10953
|
value: string;
|
|
11279
10954
|
/** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
|
|
11280
10955
|
valueAsDate: Date | null;
|
|
@@ -11284,17 +10959,9 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11284
10959
|
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
|
|
11285
10960
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
|
|
11286
10961
|
webkitdirectory: boolean;
|
|
11287
|
-
/**
|
|
11288
|
-
* Sets or retrieves the width of the object.
|
|
11289
|
-
*
|
|
11290
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
|
|
11291
|
-
*/
|
|
10962
|
+
/** Sets or retrieves the width of the object. */
|
|
11292
10963
|
width: number;
|
|
11293
|
-
/**
|
|
11294
|
-
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
11295
|
-
*
|
|
11296
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate)
|
|
11297
|
-
*/
|
|
10964
|
+
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
11298
10965
|
readonly willValidate: boolean;
|
|
11299
10966
|
/**
|
|
11300
10967
|
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
@@ -11452,11 +11119,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11452
11119
|
disabled: boolean;
|
|
11453
11120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
11454
11121
|
fetchPriority: string;
|
|
11455
|
-
/**
|
|
11456
|
-
* Sets or retrieves a destination URL or an anchor point.
|
|
11457
|
-
*
|
|
11458
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
11459
|
-
*/
|
|
11122
|
+
/** Sets or retrieves a destination URL or an anchor point. */
|
|
11460
11123
|
href: string;
|
|
11461
11124
|
/**
|
|
11462
11125
|
* Sets or retrieves the language code of the object.
|
|
@@ -11468,11 +11131,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11468
11131
|
imageSrcset: string;
|
|
11469
11132
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
11470
11133
|
integrity: string;
|
|
11471
|
-
/**
|
|
11472
|
-
* Sets or retrieves the media type.
|
|
11473
|
-
*
|
|
11474
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
|
|
11475
|
-
*/
|
|
11134
|
+
/** Sets or retrieves the media type. */
|
|
11476
11135
|
media: string;
|
|
11477
11136
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
|
|
11478
11137
|
referrerPolicy: string;
|
|
@@ -11489,7 +11148,6 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11489
11148
|
* @deprecated
|
|
11490
11149
|
*/
|
|
11491
11150
|
rev: string;
|
|
11492
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes) */
|
|
11493
11151
|
readonly sizes: DOMTokenList;
|
|
11494
11152
|
/**
|
|
11495
11153
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -11519,11 +11177,7 @@ declare var HTMLLinkElement: {
|
|
|
11519
11177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement)
|
|
11520
11178
|
*/
|
|
11521
11179
|
interface HTMLMapElement extends HTMLElement {
|
|
11522
|
-
/**
|
|
11523
|
-
* Retrieves a collection of the area objects defined for the given map object.
|
|
11524
|
-
*
|
|
11525
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas)
|
|
11526
|
-
*/
|
|
11180
|
+
/** Retrieves a collection of the area objects defined for the given map object. */
|
|
11527
11181
|
readonly areas: HTMLCollection;
|
|
11528
11182
|
/**
|
|
11529
11183
|
* Sets or retrieves the name of the object.
|
|
@@ -11684,7 +11338,6 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11684
11338
|
readonly networkState: number;
|
|
11685
11339
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
|
|
11686
11340
|
onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
|
|
11687
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
|
|
11688
11341
|
onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
|
|
11689
11342
|
/**
|
|
11690
11343
|
* Gets a flag that specifies whether playback is paused.
|
|
@@ -11698,11 +11351,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11698
11351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)
|
|
11699
11352
|
*/
|
|
11700
11353
|
playbackRate: number;
|
|
11701
|
-
/**
|
|
11702
|
-
* Gets TimeRanges for the current media resource that has been played.
|
|
11703
|
-
*
|
|
11704
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played)
|
|
11705
|
-
*/
|
|
11354
|
+
/** Gets TimeRanges for the current media resource that has been played. */
|
|
11706
11355
|
readonly played: TimeRanges;
|
|
11707
11356
|
/**
|
|
11708
11357
|
* Gets or sets a value indicating what data should be preloaded, if any.
|
|
@@ -11722,11 +11371,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11722
11371
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)
|
|
11723
11372
|
*/
|
|
11724
11373
|
readonly seekable: TimeRanges;
|
|
11725
|
-
/**
|
|
11726
|
-
* Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
|
|
11727
|
-
*
|
|
11728
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
|
|
11729
|
-
*/
|
|
11374
|
+
/** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */
|
|
11730
11375
|
readonly seeking: boolean;
|
|
11731
11376
|
/**
|
|
11732
11377
|
* Available only in secure contexts.
|
|
@@ -11750,7 +11395,6 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11750
11395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
|
|
11751
11396
|
*/
|
|
11752
11397
|
volume: number;
|
|
11753
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */
|
|
11754
11398
|
addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
|
|
11755
11399
|
/**
|
|
11756
11400
|
* Returns a string that specifies whether the client can play a given media resource type.
|
|
@@ -11821,11 +11465,7 @@ declare var HTMLMediaElement: {
|
|
|
11821
11465
|
|
|
11822
11466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement) */
|
|
11823
11467
|
interface HTMLMenuElement extends HTMLElement {
|
|
11824
|
-
/**
|
|
11825
|
-
* @deprecated
|
|
11826
|
-
*
|
|
11827
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement/compact)
|
|
11828
|
-
*/
|
|
11468
|
+
/** @deprecated */
|
|
11829
11469
|
compact: boolean;
|
|
11830
11470
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11831
11471
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11888,19 +11528,13 @@ declare var HTMLMetaElement: {
|
|
|
11888
11528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)
|
|
11889
11529
|
*/
|
|
11890
11530
|
interface HTMLMeterElement extends HTMLElement {
|
|
11891
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
11892
11531
|
high: number;
|
|
11893
11532
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */
|
|
11894
11533
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
11895
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
11896
11534
|
low: number;
|
|
11897
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
11898
11535
|
max: number;
|
|
11899
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
11900
11536
|
min: number;
|
|
11901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
11902
11537
|
optimum: number;
|
|
11903
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
11904
11538
|
value: number;
|
|
11905
11539
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11906
11540
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11919,17 +11553,9 @@ declare var HTMLMeterElement: {
|
|
|
11919
11553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement)
|
|
11920
11554
|
*/
|
|
11921
11555
|
interface HTMLModElement extends HTMLElement {
|
|
11922
|
-
/**
|
|
11923
|
-
* Sets or retrieves reference information about the object.
|
|
11924
|
-
*
|
|
11925
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
|
|
11926
|
-
*/
|
|
11556
|
+
/** Sets or retrieves reference information about the object. */
|
|
11927
11557
|
cite: string;
|
|
11928
|
-
/**
|
|
11929
|
-
* Sets or retrieves the date and time of a modification to the object.
|
|
11930
|
-
*
|
|
11931
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)
|
|
11932
|
-
*/
|
|
11558
|
+
/** Sets or retrieves the date and time of a modification to the object. */
|
|
11933
11559
|
dateTime: string;
|
|
11934
11560
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11935
11561
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11948,11 +11574,7 @@ declare var HTMLModElement: {
|
|
|
11948
11574
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement)
|
|
11949
11575
|
*/
|
|
11950
11576
|
interface HTMLOListElement extends HTMLElement {
|
|
11951
|
-
/**
|
|
11952
|
-
* @deprecated
|
|
11953
|
-
*
|
|
11954
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/compact)
|
|
11955
|
-
*/
|
|
11577
|
+
/** @deprecated */
|
|
11956
11578
|
compact: boolean;
|
|
11957
11579
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed) */
|
|
11958
11580
|
reversed: boolean;
|
|
@@ -11981,44 +11603,28 @@ declare var HTMLOListElement: {
|
|
|
11981
11603
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement)
|
|
11982
11604
|
*/
|
|
11983
11605
|
interface HTMLObjectElement extends HTMLElement {
|
|
11984
|
-
/**
|
|
11985
|
-
* @deprecated
|
|
11986
|
-
*
|
|
11987
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/align)
|
|
11988
|
-
*/
|
|
11606
|
+
/** @deprecated */
|
|
11989
11607
|
align: string;
|
|
11990
11608
|
/**
|
|
11991
11609
|
* Sets or retrieves a character string that can be used to implement your own archive functionality for the object.
|
|
11992
11610
|
* @deprecated
|
|
11993
|
-
*
|
|
11994
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/archive)
|
|
11995
11611
|
*/
|
|
11996
11612
|
archive: string;
|
|
11997
|
-
/**
|
|
11998
|
-
* @deprecated
|
|
11999
|
-
*
|
|
12000
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/border)
|
|
12001
|
-
*/
|
|
11613
|
+
/** @deprecated */
|
|
12002
11614
|
border: string;
|
|
12003
11615
|
/**
|
|
12004
11616
|
* Sets or retrieves the URL of the file containing the compiled Java class.
|
|
12005
11617
|
* @deprecated
|
|
12006
|
-
*
|
|
12007
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/code)
|
|
12008
11618
|
*/
|
|
12009
11619
|
code: string;
|
|
12010
11620
|
/**
|
|
12011
11621
|
* Sets or retrieves the URL of the component.
|
|
12012
11622
|
* @deprecated
|
|
12013
|
-
*
|
|
12014
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeBase)
|
|
12015
11623
|
*/
|
|
12016
11624
|
codeBase: string;
|
|
12017
11625
|
/**
|
|
12018
11626
|
* Sets or retrieves the Internet media type for the code associated with the object.
|
|
12019
11627
|
* @deprecated
|
|
12020
|
-
*
|
|
12021
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/codeType)
|
|
12022
11628
|
*/
|
|
12023
11629
|
codeType: string;
|
|
12024
11630
|
/**
|
|
@@ -12035,11 +11641,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
12035
11641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)
|
|
12036
11642
|
*/
|
|
12037
11643
|
data: string;
|
|
12038
|
-
/**
|
|
12039
|
-
* @deprecated
|
|
12040
|
-
*
|
|
12041
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/declare)
|
|
12042
|
-
*/
|
|
11644
|
+
/** @deprecated */
|
|
12043
11645
|
declare: boolean;
|
|
12044
11646
|
/**
|
|
12045
11647
|
* Retrieves a reference to the form that the object is embedded in.
|
|
@@ -12053,11 +11655,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
12053
11655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)
|
|
12054
11656
|
*/
|
|
12055
11657
|
height: string;
|
|
12056
|
-
/**
|
|
12057
|
-
* @deprecated
|
|
12058
|
-
*
|
|
12059
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/hspace)
|
|
12060
|
-
*/
|
|
11658
|
+
/** @deprecated */
|
|
12061
11659
|
hspace: number;
|
|
12062
11660
|
/**
|
|
12063
11661
|
* Sets or retrieves the name of the object.
|
|
@@ -12068,8 +11666,6 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
12068
11666
|
/**
|
|
12069
11667
|
* Sets or retrieves a message to be displayed while an object is loading.
|
|
12070
11668
|
* @deprecated
|
|
12071
|
-
*
|
|
12072
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/standby)
|
|
12073
11669
|
*/
|
|
12074
11670
|
standby: string;
|
|
12075
11671
|
/**
|
|
@@ -12097,11 +11693,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
12097
11693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity)
|
|
12098
11694
|
*/
|
|
12099
11695
|
readonly validity: ValidityState;
|
|
12100
|
-
/**
|
|
12101
|
-
* @deprecated
|
|
12102
|
-
*
|
|
12103
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/vspace)
|
|
12104
|
-
*/
|
|
11696
|
+
/** @deprecated */
|
|
12105
11697
|
vspace: number;
|
|
12106
11698
|
/**
|
|
12107
11699
|
* Sets or retrieves the width of the object.
|
|
@@ -12121,9 +11713,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
12121
11713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity)
|
|
12122
11714
|
*/
|
|
12123
11715
|
checkValidity(): boolean;
|
|
12124
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument) */
|
|
12125
11716
|
getSVGDocument(): Document | null;
|
|
12126
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */
|
|
12127
11717
|
reportValidity(): boolean;
|
|
12128
11718
|
/**
|
|
12129
11719
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -12149,13 +11739,8 @@ declare var HTMLObjectElement: {
|
|
|
12149
11739
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
|
|
12150
11740
|
*/
|
|
12151
11741
|
interface HTMLOptGroupElement extends HTMLElement {
|
|
12152
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
|
|
12153
11742
|
disabled: boolean;
|
|
12154
|
-
/**
|
|
12155
|
-
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
12156
|
-
*
|
|
12157
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
|
|
12158
|
-
*/
|
|
11743
|
+
/** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
|
|
12159
11744
|
label: string;
|
|
12160
11745
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12161
11746
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12174,49 +11759,20 @@ declare var HTMLOptGroupElement: {
|
|
|
12174
11759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
|
|
12175
11760
|
*/
|
|
12176
11761
|
interface HTMLOptionElement extends HTMLElement {
|
|
12177
|
-
/**
|
|
12178
|
-
* Sets or retrieves the status of an option.
|
|
12179
|
-
*
|
|
12180
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
|
|
12181
|
-
*/
|
|
11762
|
+
/** Sets or retrieves the status of an option. */
|
|
12182
11763
|
defaultSelected: boolean;
|
|
12183
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
|
|
12184
11764
|
disabled: boolean;
|
|
12185
|
-
/**
|
|
12186
|
-
* Retrieves a reference to the form that the object is embedded in.
|
|
12187
|
-
*
|
|
12188
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
|
|
12189
|
-
*/
|
|
11765
|
+
/** Retrieves a reference to the form that the object is embedded in. */
|
|
12190
11766
|
readonly form: HTMLFormElement | null;
|
|
12191
|
-
/**
|
|
12192
|
-
* Sets or retrieves the ordinal position of an option in a list box.
|
|
12193
|
-
*
|
|
12194
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
|
|
12195
|
-
*/
|
|
11767
|
+
/** Sets or retrieves the ordinal position of an option in a list box. */
|
|
12196
11768
|
readonly index: number;
|
|
12197
|
-
/**
|
|
12198
|
-
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
12199
|
-
*
|
|
12200
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
|
|
12201
|
-
*/
|
|
11769
|
+
/** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
|
|
12202
11770
|
label: string;
|
|
12203
|
-
/**
|
|
12204
|
-
* Sets or retrieves whether the option in the list box is the default item.
|
|
12205
|
-
*
|
|
12206
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
|
|
12207
|
-
*/
|
|
11771
|
+
/** Sets or retrieves whether the option in the list box is the default item. */
|
|
12208
11772
|
selected: boolean;
|
|
12209
|
-
/**
|
|
12210
|
-
* Sets or retrieves the text string specified by the option tag.
|
|
12211
|
-
*
|
|
12212
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
|
|
12213
|
-
*/
|
|
11773
|
+
/** Sets or retrieves the text string specified by the option tag. */
|
|
12214
11774
|
text: string;
|
|
12215
|
-
/**
|
|
12216
|
-
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
12217
|
-
*
|
|
12218
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
|
|
12219
|
-
*/
|
|
11775
|
+
/** Sets or retrieves the value which is returned to the server when the form control is submitted. */
|
|
12220
11776
|
value: string;
|
|
12221
11777
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12222
11778
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12241,16 +11797,12 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12241
11797
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
12242
11798
|
*
|
|
12243
11799
|
* When set to a greater number, adds new blank option elements to that container.
|
|
12244
|
-
*
|
|
12245
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)
|
|
12246
11800
|
*/
|
|
12247
11801
|
length: number;
|
|
12248
11802
|
/**
|
|
12249
11803
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
12250
11804
|
*
|
|
12251
11805
|
* Can be set, to change the selection.
|
|
12252
|
-
*
|
|
12253
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)
|
|
12254
11806
|
*/
|
|
12255
11807
|
selectedIndex: number;
|
|
12256
11808
|
/**
|
|
@@ -12261,15 +11813,9 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12261
11813
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
12262
11814
|
*
|
|
12263
11815
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
12264
|
-
*
|
|
12265
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)
|
|
12266
11816
|
*/
|
|
12267
11817
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
12268
|
-
/**
|
|
12269
|
-
* Removes the item with index index from the collection.
|
|
12270
|
-
*
|
|
12271
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)
|
|
12272
|
-
*/
|
|
11818
|
+
/** Removes the item with index index from the collection. */
|
|
12273
11819
|
remove(index: number): void;
|
|
12274
11820
|
}
|
|
12275
11821
|
|
|
@@ -12299,41 +11845,25 @@ interface HTMLOrSVGElement {
|
|
|
12299
11845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
|
|
12300
11846
|
*/
|
|
12301
11847
|
interface HTMLOutputElement extends HTMLElement {
|
|
12302
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
12303
11848
|
defaultValue: string;
|
|
12304
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12305
11849
|
readonly form: HTMLFormElement | null;
|
|
12306
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12307
11850
|
readonly htmlFor: DOMTokenList;
|
|
12308
11851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12309
11852
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12310
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
12311
11853
|
name: string;
|
|
12312
|
-
/**
|
|
12313
|
-
* Returns the string "output".
|
|
12314
|
-
*
|
|
12315
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
|
|
12316
|
-
*/
|
|
11854
|
+
/** Returns the string "output". */
|
|
12317
11855
|
readonly type: string;
|
|
12318
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
|
|
12319
11856
|
readonly validationMessage: string;
|
|
12320
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
|
|
12321
11857
|
readonly validity: ValidityState;
|
|
12322
11858
|
/**
|
|
12323
11859
|
* Returns the element's current value.
|
|
12324
11860
|
*
|
|
12325
11861
|
* Can be set, to change the value.
|
|
12326
|
-
*
|
|
12327
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
12328
11862
|
*/
|
|
12329
11863
|
value: string;
|
|
12330
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */
|
|
12331
11864
|
readonly willValidate: boolean;
|
|
12332
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
|
|
12333
11865
|
checkValidity(): boolean;
|
|
12334
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
|
|
12335
11866
|
reportValidity(): boolean;
|
|
12336
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
|
|
12337
11867
|
setCustomValidity(error: string): void;
|
|
12338
11868
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12339
11869
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12355,8 +11885,6 @@ interface HTMLParagraphElement extends HTMLElement {
|
|
|
12355
11885
|
/**
|
|
12356
11886
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
12357
11887
|
* @deprecated
|
|
12358
|
-
*
|
|
12359
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement/align)
|
|
12360
11888
|
*/
|
|
12361
11889
|
align: string;
|
|
12362
11890
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12380,29 +11908,21 @@ interface HTMLParamElement extends HTMLElement {
|
|
|
12380
11908
|
/**
|
|
12381
11909
|
* Sets or retrieves the name of an input parameter for an element.
|
|
12382
11910
|
* @deprecated
|
|
12383
|
-
*
|
|
12384
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/name)
|
|
12385
11911
|
*/
|
|
12386
11912
|
name: string;
|
|
12387
11913
|
/**
|
|
12388
11914
|
* Sets or retrieves the content type of the resource designated by the value attribute.
|
|
12389
11915
|
* @deprecated
|
|
12390
|
-
*
|
|
12391
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/type)
|
|
12392
11916
|
*/
|
|
12393
11917
|
type: string;
|
|
12394
11918
|
/**
|
|
12395
11919
|
* Sets or retrieves the value of an input parameter for an element.
|
|
12396
11920
|
* @deprecated
|
|
12397
|
-
*
|
|
12398
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/value)
|
|
12399
11921
|
*/
|
|
12400
11922
|
value: string;
|
|
12401
11923
|
/**
|
|
12402
11924
|
* Sets or retrieves the data type of the value attribute.
|
|
12403
11925
|
* @deprecated
|
|
12404
|
-
*
|
|
12405
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement/valueType)
|
|
12406
11926
|
*/
|
|
12407
11927
|
valueType: string;
|
|
12408
11928
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12443,8 +11963,6 @@ interface HTMLPreElement extends HTMLElement {
|
|
|
12443
11963
|
/**
|
|
12444
11964
|
* Sets or gets a value that you can use to implement your own width functionality for the object.
|
|
12445
11965
|
* @deprecated
|
|
12446
|
-
*
|
|
12447
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement/width)
|
|
12448
11966
|
*/
|
|
12449
11967
|
width: number;
|
|
12450
11968
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12501,11 +12019,7 @@ declare var HTMLProgressElement: {
|
|
|
12501
12019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement)
|
|
12502
12020
|
*/
|
|
12503
12021
|
interface HTMLQuoteElement extends HTMLElement {
|
|
12504
|
-
/**
|
|
12505
|
-
* Sets or retrieves reference information about the object.
|
|
12506
|
-
*
|
|
12507
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)
|
|
12508
|
-
*/
|
|
12022
|
+
/** Sets or retrieves reference information about the object. */
|
|
12509
12023
|
cite: string;
|
|
12510
12024
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12511
12025
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12594,7 +12108,6 @@ declare var HTMLScriptElement: {
|
|
|
12594
12108
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement)
|
|
12595
12109
|
*/
|
|
12596
12110
|
interface HTMLSelectElement extends HTMLElement {
|
|
12597
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
12598
12111
|
autocomplete: AutoFill;
|
|
12599
12112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
12600
12113
|
disabled: boolean;
|
|
@@ -12606,23 +12119,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12606
12119
|
readonly form: HTMLFormElement | null;
|
|
12607
12120
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */
|
|
12608
12121
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12609
|
-
/**
|
|
12610
|
-
* Sets or retrieves the number of objects in a collection.
|
|
12611
|
-
*
|
|
12612
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length)
|
|
12613
|
-
*/
|
|
12122
|
+
/** Sets or retrieves the number of objects in a collection. */
|
|
12614
12123
|
length: number;
|
|
12615
|
-
/**
|
|
12616
|
-
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
12617
|
-
*
|
|
12618
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)
|
|
12619
|
-
*/
|
|
12124
|
+
/** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
|
|
12620
12125
|
multiple: boolean;
|
|
12621
|
-
/**
|
|
12622
|
-
* Sets or retrieves the name of the object.
|
|
12623
|
-
*
|
|
12624
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
12625
|
-
*/
|
|
12126
|
+
/** Sets or retrieves the name of the object. */
|
|
12626
12127
|
name: string;
|
|
12627
12128
|
/**
|
|
12628
12129
|
* Returns an HTMLOptionsCollection of the list of options.
|
|
@@ -12630,11 +12131,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12630
12131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)
|
|
12631
12132
|
*/
|
|
12632
12133
|
readonly options: HTMLOptionsCollection;
|
|
12633
|
-
/**
|
|
12634
|
-
* When present, marks an element that can't be submitted without a value.
|
|
12635
|
-
*
|
|
12636
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)
|
|
12637
|
-
*/
|
|
12134
|
+
/** When present, marks an element that can't be submitted without a value. */
|
|
12638
12135
|
required: boolean;
|
|
12639
12136
|
/**
|
|
12640
12137
|
* Sets or retrieves the index of the selected option in a select object.
|
|
@@ -12644,11 +12141,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12644
12141
|
selectedIndex: number;
|
|
12645
12142
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */
|
|
12646
12143
|
readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
|
|
12647
|
-
/**
|
|
12648
|
-
* Sets or retrieves the number of rows in the list box.
|
|
12649
|
-
*
|
|
12650
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)
|
|
12651
|
-
*/
|
|
12144
|
+
/** Sets or retrieves the number of rows in the list box. */
|
|
12652
12145
|
size: number;
|
|
12653
12146
|
/**
|
|
12654
12147
|
* Retrieves the type of select control based on the value of the MULTIPLE attribute.
|
|
@@ -12656,17 +12149,9 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12656
12149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
|
|
12657
12150
|
*/
|
|
12658
12151
|
readonly type: "select-one" | "select-multiple";
|
|
12659
|
-
/**
|
|
12660
|
-
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
12661
|
-
*
|
|
12662
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
|
|
12663
|
-
*/
|
|
12152
|
+
/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
|
|
12664
12153
|
readonly validationMessage: string;
|
|
12665
|
-
/**
|
|
12666
|
-
* Returns a ValidityState object that represents the validity states of an element.
|
|
12667
|
-
*
|
|
12668
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity)
|
|
12669
|
-
*/
|
|
12154
|
+
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
12670
12155
|
readonly validity: ValidityState;
|
|
12671
12156
|
/**
|
|
12672
12157
|
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
@@ -12674,11 +12159,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12674
12159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
|
|
12675
12160
|
*/
|
|
12676
12161
|
value: string;
|
|
12677
|
-
/**
|
|
12678
|
-
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
12679
|
-
*
|
|
12680
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate)
|
|
12681
|
-
*/
|
|
12162
|
+
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
12682
12163
|
readonly willValidate: boolean;
|
|
12683
12164
|
/**
|
|
12684
12165
|
* Adds an element to the areas, controlRange, or options collection.
|
|
@@ -12717,7 +12198,6 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12717
12198
|
*/
|
|
12718
12199
|
remove(): void;
|
|
12719
12200
|
remove(index: number): void;
|
|
12720
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */
|
|
12721
12201
|
reportValidity(): boolean;
|
|
12722
12202
|
/**
|
|
12723
12203
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -12769,27 +12249,13 @@ declare var HTMLSlotElement: {
|
|
|
12769
12249
|
interface HTMLSourceElement extends HTMLElement {
|
|
12770
12250
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height) */
|
|
12771
12251
|
height: number;
|
|
12772
|
-
/**
|
|
12773
|
-
* Gets or sets the intended media type of the media source.
|
|
12774
|
-
*
|
|
12775
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media)
|
|
12776
|
-
*/
|
|
12252
|
+
/** Gets or sets the intended media type of the media source. */
|
|
12777
12253
|
media: string;
|
|
12778
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes) */
|
|
12779
12254
|
sizes: string;
|
|
12780
|
-
/**
|
|
12781
|
-
* The address or URL of the a media resource that is to be considered.
|
|
12782
|
-
*
|
|
12783
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src)
|
|
12784
|
-
*/
|
|
12255
|
+
/** The address or URL of the a media resource that is to be considered. */
|
|
12785
12256
|
src: string;
|
|
12786
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset) */
|
|
12787
12257
|
srcset: string;
|
|
12788
|
-
/**
|
|
12789
|
-
* Gets or sets the MIME type of a media resource.
|
|
12790
|
-
*
|
|
12791
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type)
|
|
12792
|
-
*/
|
|
12258
|
+
/** Gets or sets the MIME type of a media resource. */
|
|
12793
12259
|
type: string;
|
|
12794
12260
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width) */
|
|
12795
12261
|
width: number;
|
|
@@ -12866,8 +12332,6 @@ interface HTMLTableCaptionElement extends HTMLElement {
|
|
|
12866
12332
|
/**
|
|
12867
12333
|
* Sets or retrieves the alignment of the caption or legend.
|
|
12868
12334
|
* @deprecated
|
|
12869
|
-
*
|
|
12870
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)
|
|
12871
12335
|
*/
|
|
12872
12336
|
align: string;
|
|
12873
12337
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12903,8 +12367,6 @@ interface HTMLTableCellElement extends HTMLElement {
|
|
|
12903
12367
|
/**
|
|
12904
12368
|
* Sets or retrieves a comma-delimited list of conceptual categories associated with the object.
|
|
12905
12369
|
* @deprecated
|
|
12906
|
-
*
|
|
12907
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/axis)
|
|
12908
12370
|
*/
|
|
12909
12371
|
axis: string;
|
|
12910
12372
|
/**
|
|
@@ -12946,8 +12408,6 @@ interface HTMLTableCellElement extends HTMLElement {
|
|
|
12946
12408
|
/**
|
|
12947
12409
|
* Sets or retrieves the height of the object.
|
|
12948
12410
|
* @deprecated
|
|
12949
|
-
*
|
|
12950
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/height)
|
|
12951
12411
|
*/
|
|
12952
12412
|
height: string;
|
|
12953
12413
|
/**
|
|
@@ -12978,8 +12438,6 @@ interface HTMLTableCellElement extends HTMLElement {
|
|
|
12978
12438
|
/**
|
|
12979
12439
|
* Sets or retrieves the width of the object.
|
|
12980
12440
|
* @deprecated
|
|
12981
|
-
*
|
|
12982
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/width)
|
|
12983
12441
|
*/
|
|
12984
12442
|
width: string;
|
|
12985
12443
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13033,8 +12491,6 @@ interface HTMLTableColElement extends HTMLElement {
|
|
|
13033
12491
|
/**
|
|
13034
12492
|
* Sets or retrieves the width of the object.
|
|
13035
12493
|
* @deprecated
|
|
13036
|
-
*
|
|
13037
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/width)
|
|
13038
12494
|
*/
|
|
13039
12495
|
width: string;
|
|
13040
12496
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13238,8 +12694,6 @@ interface HTMLTableRowElement extends HTMLElement {
|
|
|
13238
12694
|
/**
|
|
13239
12695
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
13240
12696
|
* @deprecated
|
|
13241
|
-
*
|
|
13242
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)
|
|
13243
12697
|
*/
|
|
13244
12698
|
align: string;
|
|
13245
12699
|
/**
|
|
@@ -13278,11 +12732,7 @@ interface HTMLTableRowElement extends HTMLElement {
|
|
|
13278
12732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
|
|
13279
12733
|
*/
|
|
13280
12734
|
readonly sectionRowIndex: number;
|
|
13281
|
-
/**
|
|
13282
|
-
* @deprecated
|
|
13283
|
-
*
|
|
13284
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)
|
|
13285
|
-
*/
|
|
12735
|
+
/** @deprecated */
|
|
13286
12736
|
vAlign: string;
|
|
13287
12737
|
/**
|
|
13288
12738
|
* Removes the specified cell from the table row, as well as from the cells collection.
|
|
@@ -13318,8 +12768,6 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
13318
12768
|
/**
|
|
13319
12769
|
* Sets or retrieves a value that indicates the table alignment.
|
|
13320
12770
|
* @deprecated
|
|
13321
|
-
*
|
|
13322
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)
|
|
13323
12771
|
*/
|
|
13324
12772
|
align: string;
|
|
13325
12773
|
/**
|
|
@@ -13340,11 +12788,7 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
13340
12788
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
|
|
13341
12789
|
*/
|
|
13342
12790
|
readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
|
|
13343
|
-
/**
|
|
13344
|
-
* @deprecated
|
|
13345
|
-
*
|
|
13346
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)
|
|
13347
|
-
*/
|
|
12791
|
+
/** @deprecated */
|
|
13348
12792
|
vAlign: string;
|
|
13349
12793
|
/**
|
|
13350
12794
|
* Removes the specified row (tr) from the element and from the rows collection.
|
|
@@ -13408,7 +12852,6 @@ declare var HTMLTemplateElement: {
|
|
|
13408
12852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)
|
|
13409
12853
|
*/
|
|
13410
12854
|
interface HTMLTextAreaElement extends HTMLElement {
|
|
13411
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
|
|
13412
12855
|
autocomplete: AutoFill;
|
|
13413
12856
|
/** Sets or retrieves the width of the object. */
|
|
13414
12857
|
cols: number;
|
|
@@ -13438,7 +12881,6 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13438
12881
|
selectionEnd: number;
|
|
13439
12882
|
/** Gets or sets the starting position or offset of a text selection. */
|
|
13440
12883
|
selectionStart: number;
|
|
13441
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
|
|
13442
12884
|
readonly textLength: number;
|
|
13443
12885
|
/**
|
|
13444
12886
|
* Retrieves the type of control.
|
|
@@ -13458,7 +12900,6 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13458
12900
|
wrap: string;
|
|
13459
12901
|
/** Returns whether a form will validate when it is submitted, without having to submit it. */
|
|
13460
12902
|
checkValidity(): boolean;
|
|
13461
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
13462
12903
|
reportValidity(): boolean;
|
|
13463
12904
|
/** Highlights the input area of a form element. */
|
|
13464
12905
|
select(): void;
|
|
@@ -13535,23 +12976,14 @@ declare var HTMLTitleElement: {
|
|
|
13535
12976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement)
|
|
13536
12977
|
*/
|
|
13537
12978
|
interface HTMLTrackElement extends HTMLElement {
|
|
13538
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default) */
|
|
13539
12979
|
default: boolean;
|
|
13540
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind) */
|
|
13541
12980
|
kind: string;
|
|
13542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label) */
|
|
13543
12981
|
label: string;
|
|
13544
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState) */
|
|
13545
12982
|
readonly readyState: number;
|
|
13546
12983
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src) */
|
|
13547
12984
|
src: string;
|
|
13548
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang) */
|
|
13549
12985
|
srclang: string;
|
|
13550
|
-
/**
|
|
13551
|
-
* Returns the TextTrack object corresponding to the text track of the track element.
|
|
13552
|
-
*
|
|
13553
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track)
|
|
13554
|
-
*/
|
|
12986
|
+
/** Returns the TextTrack object corresponding to the text track of the track element. */
|
|
13555
12987
|
readonly track: TextTrack;
|
|
13556
12988
|
readonly NONE: 0;
|
|
13557
12989
|
readonly LOADING: 1;
|
|
@@ -13578,17 +13010,9 @@ declare var HTMLTrackElement: {
|
|
|
13578
13010
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement)
|
|
13579
13011
|
*/
|
|
13580
13012
|
interface HTMLUListElement extends HTMLElement {
|
|
13581
|
-
/**
|
|
13582
|
-
* @deprecated
|
|
13583
|
-
*
|
|
13584
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/compact)
|
|
13585
|
-
*/
|
|
13013
|
+
/** @deprecated */
|
|
13586
13014
|
compact: boolean;
|
|
13587
|
-
/**
|
|
13588
|
-
* @deprecated
|
|
13589
|
-
*
|
|
13590
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement/type)
|
|
13591
|
-
*/
|
|
13015
|
+
/** @deprecated */
|
|
13592
13016
|
type: string;
|
|
13593
13017
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13594
13018
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -14419,7 +13843,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
14419
13843
|
/**
|
|
14420
13844
|
* Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
|
|
14421
13845
|
*
|
|
14422
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
13846
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
|
|
14423
13847
|
*/
|
|
14424
13848
|
readonly objectStoreNames: DOMStringList;
|
|
14425
13849
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -15536,11 +14960,8 @@ interface MediaSource extends EventTarget {
|
|
|
15536
14960
|
readonly activeSourceBuffers: SourceBufferList;
|
|
15537
14961
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration) */
|
|
15538
14962
|
duration: number;
|
|
15539
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */
|
|
15540
14963
|
onsourceclose: ((this: MediaSource, ev: Event) => any) | null;
|
|
15541
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */
|
|
15542
14964
|
onsourceended: ((this: MediaSource, ev: Event) => any) | null;
|
|
15543
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
15544
14965
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
15545
14966
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState) */
|
|
15546
14967
|
readonly readyState: ReadyState;
|
|
@@ -15783,11 +15204,7 @@ interface MessageEvent<T = any> extends Event {
|
|
|
15783
15204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
15784
15205
|
*/
|
|
15785
15206
|
readonly source: MessageEventSource | null;
|
|
15786
|
-
/**
|
|
15787
|
-
* @deprecated
|
|
15788
|
-
*
|
|
15789
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
15790
|
-
*/
|
|
15207
|
+
/** @deprecated */
|
|
15791
15208
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
15792
15209
|
}
|
|
15793
15210
|
|
|
@@ -15853,29 +15270,21 @@ interface MimeType {
|
|
|
15853
15270
|
/**
|
|
15854
15271
|
* Returns the MIME type's description.
|
|
15855
15272
|
* @deprecated
|
|
15856
|
-
*
|
|
15857
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/description)
|
|
15858
15273
|
*/
|
|
15859
15274
|
readonly description: string;
|
|
15860
15275
|
/**
|
|
15861
15276
|
* Returns the Plugin object that implements this MIME type.
|
|
15862
15277
|
* @deprecated
|
|
15863
|
-
*
|
|
15864
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/enabledPlugin)
|
|
15865
15278
|
*/
|
|
15866
15279
|
readonly enabledPlugin: Plugin;
|
|
15867
15280
|
/**
|
|
15868
15281
|
* Returns the MIME type's typical file extensions, in a comma-separated list.
|
|
15869
15282
|
* @deprecated
|
|
15870
|
-
*
|
|
15871
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/suffixes)
|
|
15872
15283
|
*/
|
|
15873
15284
|
readonly suffixes: string;
|
|
15874
15285
|
/**
|
|
15875
15286
|
* Returns the MIME type.
|
|
15876
15287
|
* @deprecated
|
|
15877
|
-
*
|
|
15878
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType/type)
|
|
15879
15288
|
*/
|
|
15880
15289
|
readonly type: string;
|
|
15881
15290
|
}
|
|
@@ -15893,23 +15302,11 @@ declare var MimeType: {
|
|
|
15893
15302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray)
|
|
15894
15303
|
*/
|
|
15895
15304
|
interface MimeTypeArray {
|
|
15896
|
-
/**
|
|
15897
|
-
* @deprecated
|
|
15898
|
-
*
|
|
15899
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/length)
|
|
15900
|
-
*/
|
|
15305
|
+
/** @deprecated */
|
|
15901
15306
|
readonly length: number;
|
|
15902
|
-
/**
|
|
15903
|
-
* @deprecated
|
|
15904
|
-
*
|
|
15905
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/item)
|
|
15906
|
-
*/
|
|
15307
|
+
/** @deprecated */
|
|
15907
15308
|
item(index: number): MimeType | null;
|
|
15908
|
-
/**
|
|
15909
|
-
* @deprecated
|
|
15910
|
-
*
|
|
15911
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray/namedItem)
|
|
15912
|
-
*/
|
|
15309
|
+
/** @deprecated */
|
|
15913
15310
|
namedItem(name: string): MimeType | null;
|
|
15914
15311
|
[index: number]: MimeType;
|
|
15915
15312
|
}
|
|
@@ -16380,7 +15777,7 @@ interface NavigatorPlugins {
|
|
|
16380
15777
|
/**
|
|
16381
15778
|
* @deprecated
|
|
16382
15779
|
*
|
|
16383
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
15780
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
|
|
16384
15781
|
*/
|
|
16385
15782
|
readonly mimeTypes: MimeTypeArray;
|
|
16386
15783
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
|
|
@@ -16929,7 +16326,9 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
16929
16326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
|
|
16930
16327
|
*/
|
|
16931
16328
|
height: number;
|
|
16329
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
|
|
16932
16330
|
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
16331
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
|
|
16933
16332
|
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
16934
16333
|
/**
|
|
16935
16334
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -17840,15 +17239,11 @@ interface Plugin {
|
|
|
17840
17239
|
/**
|
|
17841
17240
|
* Returns the plugin's description.
|
|
17842
17241
|
* @deprecated
|
|
17843
|
-
*
|
|
17844
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/description)
|
|
17845
17242
|
*/
|
|
17846
17243
|
readonly description: string;
|
|
17847
17244
|
/**
|
|
17848
17245
|
* Returns the plugin library's filename, if applicable on the current platform.
|
|
17849
17246
|
* @deprecated
|
|
17850
|
-
*
|
|
17851
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/filename)
|
|
17852
17247
|
*/
|
|
17853
17248
|
readonly filename: string;
|
|
17854
17249
|
/**
|
|
@@ -17859,22 +17254,14 @@ interface Plugin {
|
|
|
17859
17254
|
/**
|
|
17860
17255
|
* Returns the plugin's name.
|
|
17861
17256
|
* @deprecated
|
|
17862
|
-
*
|
|
17863
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/name)
|
|
17864
17257
|
*/
|
|
17865
17258
|
readonly name: string;
|
|
17866
17259
|
/**
|
|
17867
17260
|
* Returns the specified MimeType object.
|
|
17868
17261
|
* @deprecated
|
|
17869
|
-
*
|
|
17870
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/item)
|
|
17871
17262
|
*/
|
|
17872
17263
|
item(index: number): MimeType | null;
|
|
17873
|
-
/**
|
|
17874
|
-
* @deprecated
|
|
17875
|
-
*
|
|
17876
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin/namedItem)
|
|
17877
|
-
*/
|
|
17264
|
+
/** @deprecated */
|
|
17878
17265
|
namedItem(name: string): MimeType | null;
|
|
17879
17266
|
[index: number]: MimeType;
|
|
17880
17267
|
}
|
|
@@ -17892,29 +17279,13 @@ declare var Plugin: {
|
|
|
17892
17279
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray)
|
|
17893
17280
|
*/
|
|
17894
17281
|
interface PluginArray {
|
|
17895
|
-
/**
|
|
17896
|
-
* @deprecated
|
|
17897
|
-
*
|
|
17898
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/length)
|
|
17899
|
-
*/
|
|
17282
|
+
/** @deprecated */
|
|
17900
17283
|
readonly length: number;
|
|
17901
|
-
/**
|
|
17902
|
-
* @deprecated
|
|
17903
|
-
*
|
|
17904
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/item)
|
|
17905
|
-
*/
|
|
17284
|
+
/** @deprecated */
|
|
17906
17285
|
item(index: number): Plugin | null;
|
|
17907
|
-
/**
|
|
17908
|
-
* @deprecated
|
|
17909
|
-
*
|
|
17910
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/namedItem)
|
|
17911
|
-
*/
|
|
17286
|
+
/** @deprecated */
|
|
17912
17287
|
namedItem(name: string): Plugin | null;
|
|
17913
|
-
/**
|
|
17914
|
-
* @deprecated
|
|
17915
|
-
*
|
|
17916
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray/refresh)
|
|
17917
|
-
*/
|
|
17288
|
+
/** @deprecated */
|
|
17918
17289
|
refresh(): void;
|
|
17919
17290
|
[index: number]: Plugin;
|
|
17920
17291
|
}
|
|
@@ -18048,6 +17419,7 @@ declare var PromiseRejectionEvent: {
|
|
|
18048
17419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential)
|
|
18049
17420
|
*/
|
|
18050
17421
|
interface PublicKeyCredential extends Credential {
|
|
17422
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment) */
|
|
18051
17423
|
readonly authenticatorAttachment: string | null;
|
|
18052
17424
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId) */
|
|
18053
17425
|
readonly rawId: ArrayBuffer;
|
|
@@ -18267,12 +17639,11 @@ interface RTCDtlsTransportEventMap {
|
|
|
18267
17639
|
interface RTCDtlsTransport extends EventTarget {
|
|
18268
17640
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */
|
|
18269
17641
|
readonly iceTransport: RTCIceTransport;
|
|
17642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */
|
|
18270
17643
|
onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
18271
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/statechange_event) */
|
|
18272
17644
|
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
18273
17645
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */
|
|
18274
17646
|
readonly state: RTCDtlsTransportState;
|
|
18275
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */
|
|
18276
17647
|
getRemoteCertificates(): ArrayBuffer[];
|
|
18277
17648
|
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
18278
17649
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -18551,12 +17922,9 @@ declare var RTCPeerConnection: {
|
|
|
18551
17922
|
interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
18552
17923
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address) */
|
|
18553
17924
|
readonly address: string | null;
|
|
18554
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
18555
17925
|
readonly errorCode: number;
|
|
18556
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
18557
17926
|
readonly errorText: string;
|
|
18558
17927
|
readonly port: number | null;
|
|
18559
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
18560
17928
|
readonly url: string;
|
|
18561
17929
|
}
|
|
18562
17930
|
|
|
@@ -18586,6 +17954,7 @@ declare var RTCPeerConnectionIceEvent: {
|
|
|
18586
17954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver)
|
|
18587
17955
|
*/
|
|
18588
17956
|
interface RTCRtpReceiver {
|
|
17957
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget) */
|
|
18589
17958
|
jitterBufferTarget: DOMHighResTimeStamp | null;
|
|
18590
17959
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */
|
|
18591
17960
|
readonly track: MediaStreamTrack;
|
|
@@ -18685,6 +18054,7 @@ interface RTCSctpTransport extends EventTarget {
|
|
|
18685
18054
|
readonly maxChannels: number | null;
|
|
18686
18055
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize) */
|
|
18687
18056
|
readonly maxMessageSize: number;
|
|
18057
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */
|
|
18688
18058
|
onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;
|
|
18689
18059
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state) */
|
|
18690
18060
|
readonly state: RTCSctpTransportState;
|
|
@@ -19004,6 +18374,7 @@ declare var Report: {
|
|
|
19004
18374
|
|
|
19005
18375
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
|
|
19006
18376
|
interface ReportBody {
|
|
18377
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
19007
18378
|
toJSON(): any;
|
|
19008
18379
|
}
|
|
19009
18380
|
|
|
@@ -19063,11 +18434,7 @@ interface Request extends Body {
|
|
|
19063
18434
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
19064
18435
|
*/
|
|
19065
18436
|
readonly integrity: string;
|
|
19066
|
-
/**
|
|
19067
|
-
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
|
|
19068
|
-
*
|
|
19069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
|
|
19070
|
-
*/
|
|
18437
|
+
/** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
|
|
19071
18438
|
readonly keepalive: boolean;
|
|
19072
18439
|
/**
|
|
19073
18440
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -19143,6 +18510,7 @@ interface ResizeObserverEntry {
|
|
|
19143
18510
|
readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
19144
18511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect) */
|
|
19145
18512
|
readonly contentRect: DOMRectReadOnly;
|
|
18513
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize) */
|
|
19146
18514
|
readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
19147
18515
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target) */
|
|
19148
18516
|
readonly target: Element;
|
|
@@ -19326,7 +18694,9 @@ declare var SVGAnimatedBoolean: {
|
|
|
19326
18694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration)
|
|
19327
18695
|
*/
|
|
19328
18696
|
interface SVGAnimatedEnumeration {
|
|
18697
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal) */
|
|
19329
18698
|
readonly animVal: number;
|
|
18699
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal) */
|
|
19330
18700
|
baseVal: number;
|
|
19331
18701
|
}
|
|
19332
18702
|
|
|
@@ -19356,7 +18726,9 @@ declare var SVGAnimatedInteger: {
|
|
|
19356
18726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength)
|
|
19357
18727
|
*/
|
|
19358
18728
|
interface SVGAnimatedLength {
|
|
18729
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal) */
|
|
19359
18730
|
readonly animVal: SVGLength;
|
|
18731
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal) */
|
|
19360
18732
|
readonly baseVal: SVGLength;
|
|
19361
18733
|
}
|
|
19362
18734
|
|
|
@@ -19718,11 +19090,8 @@ declare var SVGFEBlendElement: {
|
|
|
19718
19090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement)
|
|
19719
19091
|
*/
|
|
19720
19092
|
interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
19721
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) */
|
|
19722
19093
|
readonly in1: SVGAnimatedString;
|
|
19723
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) */
|
|
19724
19094
|
readonly type: SVGAnimatedEnumeration;
|
|
19725
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) */
|
|
19726
19095
|
readonly values: SVGAnimatedNumberList;
|
|
19727
19096
|
readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0;
|
|
19728
19097
|
readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;
|
|
@@ -20412,7 +19781,6 @@ declare var SVGGraphicsElement: {
|
|
|
20412
19781
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
20413
19782
|
*/
|
|
20414
19783
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
20415
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) */
|
|
20416
19784
|
crossOrigin: string | null;
|
|
20417
19785
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
20418
19786
|
readonly height: SVGAnimatedLength;
|
|
@@ -21361,6 +20729,7 @@ interface ScreenOrientationEventMap {
|
|
|
21361
20729
|
interface ScreenOrientation extends EventTarget {
|
|
21362
20730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle) */
|
|
21363
20731
|
readonly angle: number;
|
|
20732
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */
|
|
21364
20733
|
onchange: ((this: ScreenOrientation, ev: Event) => any) | null;
|
|
21365
20734
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */
|
|
21366
20735
|
readonly type: OrientationType;
|
|
@@ -21459,6 +20828,7 @@ interface Selection {
|
|
|
21459
20828
|
readonly anchorNode: Node | null;
|
|
21460
20829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */
|
|
21461
20830
|
readonly anchorOffset: number;
|
|
20831
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction) */
|
|
21462
20832
|
readonly direction: string;
|
|
21463
20833
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */
|
|
21464
20834
|
readonly focusNode: Node | null;
|
|
@@ -21644,10 +21014,13 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
21644
21014
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */
|
|
21645
21015
|
readonly mode: ShadowRootMode;
|
|
21646
21016
|
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
|
21017
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable) */
|
|
21647
21018
|
readonly serializable: boolean;
|
|
21648
21019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */
|
|
21649
21020
|
readonly slotAssignment: SlotAssignmentMode;
|
|
21021
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML) */
|
|
21650
21022
|
getHTML(options?: GetHTMLOptions): string;
|
|
21023
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe) */
|
|
21651
21024
|
setHTMLUnsafe(html: string): void;
|
|
21652
21025
|
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
|
|
21653
21026
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21707,15 +21080,10 @@ interface SourceBuffer extends EventTarget {
|
|
|
21707
21080
|
readonly buffered: TimeRanges;
|
|
21708
21081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode) */
|
|
21709
21082
|
mode: AppendMode;
|
|
21710
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort_event) */
|
|
21711
21083
|
onabort: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
21712
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/error_event) */
|
|
21713
21084
|
onerror: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
21714
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/update_event) */
|
|
21715
21085
|
onupdate: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
21716
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updateend_event) */
|
|
21717
21086
|
onupdateend: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
21718
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updatestart_event) */
|
|
21719
21087
|
onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null;
|
|
21720
21088
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset) */
|
|
21721
21089
|
timestampOffset: number;
|
|
@@ -21753,9 +21121,7 @@ interface SourceBufferListEventMap {
|
|
|
21753
21121
|
interface SourceBufferList extends EventTarget {
|
|
21754
21122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length) */
|
|
21755
21123
|
readonly length: number;
|
|
21756
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/addsourcebuffer_event) */
|
|
21757
21124
|
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
|
|
21758
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/removesourcebuffer_event) */
|
|
21759
21125
|
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
|
|
21760
21126
|
addEventListener<K extends keyof SourceBufferListEventMap>(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21761
21127
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22675,7 +22041,7 @@ interface TextTrackList extends EventTarget {
|
|
|
22675
22041
|
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22676
22042
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
|
|
22677
22043
|
onchange: ((this: TextTrackList, ev: Event) => any) | null;
|
|
22678
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/
|
|
22044
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */
|
|
22679
22045
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22680
22046
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
|
|
22681
22047
|
getTrackById(id: string): TextTrack | null;
|
|
@@ -22992,11 +22358,11 @@ declare var URL: {
|
|
|
22992
22358
|
prototype: URL;
|
|
22993
22359
|
new(url: string | URL, base?: string | URL): URL;
|
|
22994
22360
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
22995
|
-
canParse(url: string | URL, base?: string): boolean;
|
|
22361
|
+
canParse(url: string | URL, base?: string | URL): boolean;
|
|
22996
22362
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
|
22997
22363
|
createObjectURL(obj: Blob | MediaSource): string;
|
|
22998
22364
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
22999
|
-
parse(url: string | URL, base?: string): URL | null;
|
|
22365
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
23000
22366
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
|
23001
22367
|
revokeObjectURL(url: string): void;
|
|
23002
22368
|
};
|
|
@@ -23106,21 +22472,13 @@ declare var VTTCue: {
|
|
|
23106
22472
|
|
|
23107
22473
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion) */
|
|
23108
22474
|
interface VTTRegion {
|
|
23109
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/id) */
|
|
23110
22475
|
id: string;
|
|
23111
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/lines) */
|
|
23112
22476
|
lines: number;
|
|
23113
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorX) */
|
|
23114
22477
|
regionAnchorX: number;
|
|
23115
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/regionAnchorY) */
|
|
23116
22478
|
regionAnchorY: number;
|
|
23117
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/scroll) */
|
|
23118
22479
|
scroll: ScrollSetting;
|
|
23119
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorX) */
|
|
23120
22480
|
viewportAnchorX: number;
|
|
23121
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/viewportAnchorY) */
|
|
23122
22481
|
viewportAnchorY: number;
|
|
23123
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion/width) */
|
|
23124
22482
|
width: number;
|
|
23125
22483
|
}
|
|
23126
22484
|
|
|
@@ -23137,7 +22495,6 @@ declare var VTTRegion: {
|
|
|
23137
22495
|
interface ValidityState {
|
|
23138
22496
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */
|
|
23139
22497
|
readonly badInput: boolean;
|
|
23140
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */
|
|
23141
22498
|
readonly customError: boolean;
|
|
23142
22499
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */
|
|
23143
22500
|
readonly patternMismatch: boolean;
|
|
@@ -23153,7 +22510,6 @@ interface ValidityState {
|
|
|
23153
22510
|
readonly tooShort: boolean;
|
|
23154
22511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */
|
|
23155
22512
|
readonly typeMismatch: boolean;
|
|
23156
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */
|
|
23157
22513
|
readonly valid: boolean;
|
|
23158
22514
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */
|
|
23159
22515
|
readonly valueMissing: boolean;
|
|
@@ -23195,6 +22551,7 @@ interface VideoDecoderEventMap {
|
|
|
23195
22551
|
interface VideoDecoder extends EventTarget {
|
|
23196
22552
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */
|
|
23197
22553
|
readonly decodeQueueSize: number;
|
|
22554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */
|
|
23198
22555
|
ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;
|
|
23199
22556
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */
|
|
23200
22557
|
readonly state: CodecState;
|
|
@@ -23217,6 +22574,7 @@ interface VideoDecoder extends EventTarget {
|
|
|
23217
22574
|
declare var VideoDecoder: {
|
|
23218
22575
|
prototype: VideoDecoder;
|
|
23219
22576
|
new(init: VideoDecoderInit): VideoDecoder;
|
|
22577
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */
|
|
23220
22578
|
isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;
|
|
23221
22579
|
};
|
|
23222
22580
|
|
|
@@ -23232,6 +22590,7 @@ interface VideoEncoderEventMap {
|
|
|
23232
22590
|
interface VideoEncoder extends EventTarget {
|
|
23233
22591
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */
|
|
23234
22592
|
readonly encodeQueueSize: number;
|
|
22593
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */
|
|
23235
22594
|
ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;
|
|
23236
22595
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */
|
|
23237
22596
|
readonly state: CodecState;
|
|
@@ -23241,6 +22600,7 @@ interface VideoEncoder extends EventTarget {
|
|
|
23241
22600
|
configure(config: VideoEncoderConfig): void;
|
|
23242
22601
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */
|
|
23243
22602
|
encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;
|
|
22603
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */
|
|
23244
22604
|
flush(): Promise<void>;
|
|
23245
22605
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */
|
|
23246
22606
|
reset(): void;
|
|
@@ -23253,6 +22613,7 @@ interface VideoEncoder extends EventTarget {
|
|
|
23253
22613
|
declare var VideoEncoder: {
|
|
23254
22614
|
prototype: VideoEncoder;
|
|
23255
22615
|
new(init: VideoEncoderInit): VideoEncoder;
|
|
22616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */
|
|
23256
22617
|
isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;
|
|
23257
22618
|
};
|
|
23258
22619
|
|
|
@@ -23284,6 +22645,7 @@ interface VideoFrame {
|
|
|
23284
22645
|
clone(): VideoFrame;
|
|
23285
22646
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
|
|
23286
22647
|
close(): void;
|
|
22648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */
|
|
23287
22649
|
copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
|
|
23288
22650
|
}
|
|
23289
22651
|
|
|
@@ -24200,7 +23562,7 @@ interface WebGL2RenderingContextBase {
|
|
|
24200
23562
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
24201
23563
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
24202
23564
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
24203
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
23565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
24204
23566
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
24205
23567
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
24206
23568
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -25793,7 +25155,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
25793
25155
|
new(): WebGLVertexArrayObject;
|
|
25794
25156
|
};
|
|
25795
25157
|
|
|
25796
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25158
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
25797
25159
|
interface WebGLVertexArrayObjectOES {
|
|
25798
25160
|
}
|
|
25799
25161
|
|
|
@@ -26374,24 +25736,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26374
25736
|
/**
|
|
26375
25737
|
* Available only in secure contexts.
|
|
26376
25738
|
*
|
|
26377
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
25739
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
26378
25740
|
*/
|
|
26379
25741
|
readonly caches: CacheStorage;
|
|
26380
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
25742
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
26381
25743
|
readonly crossOriginIsolated: boolean;
|
|
26382
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25744
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
26383
25745
|
readonly crypto: Crypto;
|
|
26384
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
25746
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
26385
25747
|
readonly indexedDB: IDBFactory;
|
|
26386
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
25748
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
26387
25749
|
readonly isSecureContext: boolean;
|
|
26388
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
25750
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
26389
25751
|
readonly origin: string;
|
|
26390
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
25752
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
26391
25753
|
readonly performance: Performance;
|
|
26392
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
25754
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
26393
25755
|
atob(data: string): string;
|
|
26394
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
25756
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
26395
25757
|
btoa(data: string): string;
|
|
26396
25758
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
26397
25759
|
clearInterval(id: number | undefined): void;
|
|
@@ -26898,7 +26260,7 @@ interface Console {
|
|
|
26898
26260
|
clear(): void;
|
|
26899
26261
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
26900
26262
|
count(label?: string): void;
|
|
26901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26263
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
26902
26264
|
countReset(label?: string): void;
|
|
26903
26265
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
26904
26266
|
debug(...data: any[]): void;
|
|
@@ -26910,9 +26272,9 @@ interface Console {
|
|
|
26910
26272
|
error(...data: any[]): void;
|
|
26911
26273
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
26912
26274
|
group(...data: any[]): void;
|
|
26913
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26275
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
26914
26276
|
groupCollapsed(...data: any[]): void;
|
|
26915
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26277
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
26916
26278
|
groupEnd(): void;
|
|
26917
26279
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
26918
26280
|
info(...data: any[]): void;
|
|
@@ -26922,9 +26284,9 @@ interface Console {
|
|
|
26922
26284
|
table(tabularData?: any, properties?: string[]): void;
|
|
26923
26285
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
26924
26286
|
time(label?: string): void;
|
|
26925
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26287
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
26926
26288
|
timeEnd(label?: string): void;
|
|
26927
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26289
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
26928
26290
|
timeLog(label?: string, ...data: any[]): void;
|
|
26929
26291
|
timeStamp(label?: string): void;
|
|
26930
26292
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -27076,9 +26438,7 @@ declare namespace WebAssembly {
|
|
|
27076
26438
|
|
|
27077
26439
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
27078
26440
|
interface Global<T extends ValueType = ValueType> {
|
|
27079
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
27080
26441
|
value: ValueTypeMap[T];
|
|
27081
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
27082
26442
|
valueOf(): ValueTypeMap[T];
|
|
27083
26443
|
}
|
|
27084
26444
|
|
|
@@ -27957,7 +27317,7 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
|
27957
27317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
27958
27318
|
*/
|
|
27959
27319
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
27960
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27320
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/cancel_event) */
|
|
27961
27321
|
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
27962
27322
|
/**
|
|
27963
27323
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -28145,7 +27505,7 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;
|
|
|
28145
27505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
|
|
28146
27506
|
*/
|
|
28147
27507
|
declare var onloadstart: ((this: Window, ev: Event) => any) | null;
|
|
28148
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27508
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */
|
|
28149
27509
|
declare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
|
|
28150
27510
|
/**
|
|
28151
27511
|
* Fires when the user clicks the object with either mouse button.
|
|
@@ -28412,24 +27772,24 @@ declare var localStorage: Storage;
|
|
|
28412
27772
|
/**
|
|
28413
27773
|
* Available only in secure contexts.
|
|
28414
27774
|
*
|
|
28415
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
27775
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
28416
27776
|
*/
|
|
28417
27777
|
declare var caches: CacheStorage;
|
|
28418
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
27778
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
28419
27779
|
declare var crossOriginIsolated: boolean;
|
|
28420
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27780
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
28421
27781
|
declare var crypto: Crypto;
|
|
28422
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
27782
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
28423
27783
|
declare var indexedDB: IDBFactory;
|
|
28424
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
27784
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
28425
27785
|
declare var isSecureContext: boolean;
|
|
28426
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
27786
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
28427
27787
|
declare var origin: string;
|
|
28428
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27788
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
28429
27789
|
declare var performance: Performance;
|
|
28430
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
27790
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
28431
27791
|
declare function atob(data: string): string;
|
|
28432
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
27792
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
28433
27793
|
declare function btoa(data: string): string;
|
|
28434
27794
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
28435
27795
|
declare function clearInterval(id: number | undefined): void;
|