@types/web 0.0.352 → 0.0.354
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 +409 -149
- package/package.json +1 -1
- package/ts5.5/index.d.ts +409 -149
- package/ts5.6/index.d.ts +409 -149
- package/ts5.9/index.d.ts +409 -149
package/ts5.5/index.d.ts
CHANGED
|
@@ -818,6 +818,7 @@ interface FormDataEventInit extends EventInit {
|
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
interface FullscreenOptions {
|
|
821
|
+
keyboardLock?: FullscreenKeyboardLock;
|
|
821
822
|
navigationUI?: FullscreenNavigationUI;
|
|
822
823
|
}
|
|
823
824
|
|
|
@@ -1000,6 +1001,7 @@ interface GPUPipelineErrorInit {
|
|
|
1000
1001
|
|
|
1001
1002
|
interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
|
|
1002
1003
|
bindGroupLayouts: (GPUBindGroupLayout | null)[];
|
|
1004
|
+
immediateSize?: GPUSize32;
|
|
1003
1005
|
}
|
|
1004
1006
|
|
|
1005
1007
|
interface GPUPrimitiveState {
|
|
@@ -1833,6 +1835,10 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
1833
1835
|
rolloffFactor?: number;
|
|
1834
1836
|
}
|
|
1835
1837
|
|
|
1838
|
+
interface ParseHTMLUnsafeOptions {
|
|
1839
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1836
1842
|
interface PayerErrors {
|
|
1837
1843
|
email?: string;
|
|
1838
1844
|
name?: string;
|
|
@@ -2760,6 +2766,10 @@ interface SetHTMLOptions {
|
|
|
2760
2766
|
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2761
2767
|
}
|
|
2762
2768
|
|
|
2769
|
+
interface SetHTMLUnsafeOptions {
|
|
2770
|
+
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2763
2773
|
interface ShadowRootInit {
|
|
2764
2774
|
clonable?: boolean;
|
|
2765
2775
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -3330,109 +3340,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3330
3340
|
}
|
|
3331
3341
|
|
|
3332
3342
|
interface ARIAMixin {
|
|
3333
|
-
/**
|
|
3343
|
+
/**
|
|
3344
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3345
|
+
*
|
|
3346
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3347
|
+
*/
|
|
3334
3348
|
ariaActiveDescendantElement: Element | null;
|
|
3335
|
-
/**
|
|
3349
|
+
/**
|
|
3350
|
+
* The **`ariaAtomic`** property of the Element interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
|
|
3351
|
+
*
|
|
3352
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3353
|
+
*/
|
|
3336
3354
|
ariaAtomic: string | null;
|
|
3337
|
-
/**
|
|
3355
|
+
/**
|
|
3356
|
+
* The **`ariaAutoComplete`** property of the Element interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
|
|
3357
|
+
*
|
|
3358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3359
|
+
*/
|
|
3338
3360
|
ariaAutoComplete: string | null;
|
|
3339
|
-
/**
|
|
3361
|
+
/**
|
|
3362
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3363
|
+
*
|
|
3364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3365
|
+
*/
|
|
3340
3366
|
ariaBrailleLabel: string | null;
|
|
3341
|
-
/**
|
|
3367
|
+
/**
|
|
3368
|
+
* The **`ariaBrailleRoleDescription`** property of the Element interface reflects the value of the aria-brailleroledescription attribute, which defines the ARIA braille role description of the element.
|
|
3369
|
+
*
|
|
3370
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3371
|
+
*/
|
|
3342
3372
|
ariaBrailleRoleDescription: string | null;
|
|
3343
|
-
/**
|
|
3373
|
+
/**
|
|
3374
|
+
* The **`ariaBusy`** property of the Element interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
|
|
3375
|
+
*
|
|
3376
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3377
|
+
*/
|
|
3344
3378
|
ariaBusy: string | null;
|
|
3345
|
-
/**
|
|
3379
|
+
/**
|
|
3380
|
+
* The **`ariaChecked`** property of the Element interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
|
|
3381
|
+
*
|
|
3382
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3383
|
+
*/
|
|
3346
3384
|
ariaChecked: string | null;
|
|
3347
|
-
/**
|
|
3385
|
+
/**
|
|
3386
|
+
* The **`ariaColCount`** property of the Element interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
|
|
3387
|
+
*
|
|
3388
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3389
|
+
*/
|
|
3348
3390
|
ariaColCount: string | null;
|
|
3349
|
-
/**
|
|
3391
|
+
/**
|
|
3392
|
+
* The **`ariaColIndex`** property of the Element interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
3393
|
+
*
|
|
3394
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3395
|
+
*/
|
|
3350
3396
|
ariaColIndex: string | null;
|
|
3351
|
-
/**
|
|
3397
|
+
/**
|
|
3398
|
+
* The **`ariaColIndexText`** property of the Element interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
|
|
3399
|
+
*
|
|
3400
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3401
|
+
*/
|
|
3352
3402
|
ariaColIndexText: string | null;
|
|
3353
|
-
/**
|
|
3403
|
+
/**
|
|
3404
|
+
* The **`ariaColSpan`** property of the Element interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3405
|
+
*
|
|
3406
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3407
|
+
*/
|
|
3354
3408
|
ariaColSpan: string | null;
|
|
3355
|
-
/**
|
|
3409
|
+
/**
|
|
3410
|
+
* The **`ariaControlsElements`** property of the Element interface is an array containing the elements that are controlled by the element it is applied to. For example, this might be set on a combobox to indicate the element that it pops up, or on a scrollbar to indicate the ID of the element it controls.
|
|
3411
|
+
*
|
|
3412
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3413
|
+
*/
|
|
3356
3414
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3357
|
-
/**
|
|
3415
|
+
/**
|
|
3416
|
+
* The **`ariaCurrent`** property of the Element interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
|
|
3417
|
+
*
|
|
3418
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3419
|
+
*/
|
|
3358
3420
|
ariaCurrent: string | null;
|
|
3359
|
-
/**
|
|
3421
|
+
/**
|
|
3422
|
+
* The **`ariaDescribedByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible description for the element it is applied to. The accessible description is similar to the accessible label (see ariaLabelledByElements), but provides more verbose information.
|
|
3423
|
+
*
|
|
3424
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3425
|
+
*/
|
|
3360
3426
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3361
|
-
/**
|
|
3427
|
+
/**
|
|
3428
|
+
* The **`ariaDescription`** property of the Element interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
|
|
3429
|
+
*
|
|
3430
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3431
|
+
*/
|
|
3362
3432
|
ariaDescription: string | null;
|
|
3363
|
-
/**
|
|
3433
|
+
/**
|
|
3434
|
+
* The **`ariaDetailsElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible details for the element it is applied to. The accessible details are similar to the accessible description (see ariaDescribedByElements), but provides more verbose information.
|
|
3435
|
+
*
|
|
3436
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3437
|
+
*/
|
|
3364
3438
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3365
|
-
/**
|
|
3439
|
+
/**
|
|
3440
|
+
* The **`ariaDisabled`** property of the Element interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
3441
|
+
*
|
|
3442
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3443
|
+
*/
|
|
3366
3444
|
ariaDisabled: string | null;
|
|
3367
|
-
/**
|
|
3445
|
+
/**
|
|
3446
|
+
* The **`ariaErrorMessageElements`** property of the Element interface is an array containing the element (or elements) that provide an error message for the element it is applied to.
|
|
3447
|
+
*
|
|
3448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3449
|
+
*/
|
|
3368
3450
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3369
|
-
/**
|
|
3451
|
+
/**
|
|
3452
|
+
* The **`ariaExpanded`** property of the Element interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
|
|
3453
|
+
*
|
|
3454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3455
|
+
*/
|
|
3370
3456
|
ariaExpanded: string | null;
|
|
3371
|
-
/**
|
|
3457
|
+
/**
|
|
3458
|
+
* The **`ariaFlowToElements`** property of the Element interface is an array containing the element (or elements) that provide an alternate reading order of content, overriding the general default reading order at the user's discretion. If just one element is provided this is the next element in the reading order. If multiple elements are provided, then each element represents a possible path that should be offered to the user for selection.
|
|
3459
|
+
*
|
|
3460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3461
|
+
*/
|
|
3372
3462
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3373
|
-
/**
|
|
3463
|
+
/**
|
|
3464
|
+
* The **`ariaHasPopup`** property of the Element interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
|
|
3465
|
+
*
|
|
3466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3467
|
+
*/
|
|
3374
3468
|
ariaHasPopup: string | null;
|
|
3375
|
-
/**
|
|
3469
|
+
/**
|
|
3470
|
+
* The **`ariaHidden`** property of the Element interface reflects the value of the aria-hidden) attribute, which indicates whether the element is exposed to an accessibility API.
|
|
3471
|
+
*
|
|
3472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3473
|
+
*/
|
|
3376
3474
|
ariaHidden: string | null;
|
|
3377
|
-
/**
|
|
3475
|
+
/**
|
|
3476
|
+
* The **`ariaInvalid`** property of the Element interface reflects the value of the aria-invalid attribute. Relevant for the application, checkbox, combobox, gridcell, listbox, radiogroup, slider, spinbutton, textbox, and tree roles, it indicates to the accessibility API whether the entered value does not conform to the format expected by the application.
|
|
3477
|
+
*
|
|
3478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3479
|
+
*/
|
|
3378
3480
|
ariaInvalid: string | null;
|
|
3379
|
-
/**
|
|
3481
|
+
/**
|
|
3482
|
+
* The **`ariaKeyShortcuts`** property of the Element interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
|
|
3483
|
+
*
|
|
3484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3485
|
+
*/
|
|
3380
3486
|
ariaKeyShortcuts: string | null;
|
|
3381
|
-
/**
|
|
3487
|
+
/**
|
|
3488
|
+
* The **`ariaLabel`** property of the Element interface reflects the value of the aria-label attribute, which defines a string value that labels the current element.
|
|
3489
|
+
*
|
|
3490
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3491
|
+
*/
|
|
3382
3492
|
ariaLabel: string | null;
|
|
3383
|
-
/**
|
|
3493
|
+
/**
|
|
3494
|
+
* The **`ariaLabelledByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible name for the element it is applied to.
|
|
3495
|
+
*
|
|
3496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3497
|
+
*/
|
|
3384
3498
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3385
|
-
/**
|
|
3499
|
+
/**
|
|
3500
|
+
* The **`ariaLevel`** property of the Element interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
|
|
3501
|
+
*
|
|
3502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3503
|
+
*/
|
|
3386
3504
|
ariaLevel: string | null;
|
|
3387
|
-
/**
|
|
3505
|
+
/**
|
|
3506
|
+
* The **`ariaLive`** property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
|
|
3507
|
+
*
|
|
3508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3509
|
+
*/
|
|
3388
3510
|
ariaLive: string | null;
|
|
3389
|
-
/**
|
|
3511
|
+
/**
|
|
3512
|
+
* The **`ariaModal`** property of the Element interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed. Applying the aria-modal property to an element with role="dialog" replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert.
|
|
3513
|
+
*
|
|
3514
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3515
|
+
*/
|
|
3390
3516
|
ariaModal: string | null;
|
|
3391
|
-
/**
|
|
3517
|
+
/**
|
|
3518
|
+
* The **`ariaMultiLine`** property of the Element interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
|
|
3519
|
+
*
|
|
3520
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3521
|
+
*/
|
|
3392
3522
|
ariaMultiLine: string | null;
|
|
3393
|
-
/**
|
|
3523
|
+
/**
|
|
3524
|
+
* The **`ariaMultiSelectable`** property of the Element interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
|
|
3525
|
+
*
|
|
3526
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3527
|
+
*/
|
|
3394
3528
|
ariaMultiSelectable: string | null;
|
|
3395
|
-
/**
|
|
3529
|
+
/**
|
|
3530
|
+
* The **`ariaOrientation`** property of the Element interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
|
|
3531
|
+
*
|
|
3532
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3533
|
+
*/
|
|
3396
3534
|
ariaOrientation: string | null;
|
|
3397
|
-
/**
|
|
3535
|
+
/**
|
|
3536
|
+
* The **`ariaOwnsElements`** property of the Element interface is an array containing the element (or elements) that define a visual, functional, or contextual relationship between a parent element that it is applied to, and its child elements. This is used when the DOM hierarchy cannot be used to represent the relationship, and it would not otherwise be available to assistive technology,
|
|
3537
|
+
*
|
|
3538
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3539
|
+
*/
|
|
3398
3540
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3399
|
-
/**
|
|
3541
|
+
/**
|
|
3542
|
+
* The **`ariaPlaceholder`** property of the Element interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
|
|
3543
|
+
*
|
|
3544
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3545
|
+
*/
|
|
3400
3546
|
ariaPlaceholder: string | null;
|
|
3401
|
-
/**
|
|
3547
|
+
/**
|
|
3548
|
+
* The **`ariaPosInSet`** property of the Element interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
|
|
3549
|
+
*
|
|
3550
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3551
|
+
*/
|
|
3402
3552
|
ariaPosInSet: string | null;
|
|
3403
|
-
/**
|
|
3553
|
+
/**
|
|
3554
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3555
|
+
*
|
|
3556
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3557
|
+
*/
|
|
3404
3558
|
ariaPressed: string | null;
|
|
3405
|
-
/**
|
|
3559
|
+
/**
|
|
3560
|
+
* The **`ariaReadOnly`** property of the Element interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
|
|
3561
|
+
*
|
|
3562
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3563
|
+
*/
|
|
3406
3564
|
ariaReadOnly: string | null;
|
|
3407
|
-
/**
|
|
3565
|
+
/**
|
|
3566
|
+
* The **`ariaRelevant`** property of the Element interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
|
|
3567
|
+
*
|
|
3568
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3569
|
+
*/
|
|
3408
3570
|
ariaRelevant: string | null;
|
|
3409
|
-
/**
|
|
3571
|
+
/**
|
|
3572
|
+
* The **`ariaRequired`** property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
|
|
3573
|
+
*
|
|
3574
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3575
|
+
*/
|
|
3410
3576
|
ariaRequired: string | null;
|
|
3411
|
-
/**
|
|
3577
|
+
/**
|
|
3578
|
+
* The **`ariaRoleDescription`** property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
|
|
3579
|
+
*
|
|
3580
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3581
|
+
*/
|
|
3412
3582
|
ariaRoleDescription: string | null;
|
|
3413
|
-
/**
|
|
3583
|
+
/**
|
|
3584
|
+
* The **`ariaRowCount`** property of the Element interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
|
|
3585
|
+
*
|
|
3586
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3587
|
+
*/
|
|
3414
3588
|
ariaRowCount: string | null;
|
|
3415
|
-
/**
|
|
3589
|
+
/**
|
|
3590
|
+
* The **`ariaRowIndex`** property of the Element interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
3591
|
+
*
|
|
3592
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3593
|
+
*/
|
|
3416
3594
|
ariaRowIndex: string | null;
|
|
3417
|
-
/**
|
|
3595
|
+
/**
|
|
3596
|
+
* The **`ariaRowIndexText`** property of the Element interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
|
|
3597
|
+
*
|
|
3598
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3599
|
+
*/
|
|
3418
3600
|
ariaRowIndexText: string | null;
|
|
3419
|
-
/**
|
|
3601
|
+
/**
|
|
3602
|
+
* The **`ariaRowSpan`** property of the Element interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
3603
|
+
*
|
|
3604
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3605
|
+
*/
|
|
3420
3606
|
ariaRowSpan: string | null;
|
|
3421
|
-
/**
|
|
3607
|
+
/**
|
|
3608
|
+
* The **`ariaSelected`** property of the Element interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
|
|
3609
|
+
*
|
|
3610
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3611
|
+
*/
|
|
3422
3612
|
ariaSelected: string | null;
|
|
3423
|
-
/**
|
|
3613
|
+
/**
|
|
3614
|
+
* The **`ariaSetSize`** property of the Element interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
|
|
3615
|
+
*
|
|
3616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3617
|
+
*/
|
|
3424
3618
|
ariaSetSize: string | null;
|
|
3425
|
-
/**
|
|
3619
|
+
/**
|
|
3620
|
+
* The **`ariaSort`** property of the Element interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
|
|
3621
|
+
*
|
|
3622
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3623
|
+
*/
|
|
3426
3624
|
ariaSort: string | null;
|
|
3427
|
-
/**
|
|
3625
|
+
/**
|
|
3626
|
+
* The **`ariaValueMax`** property of the Element interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
|
|
3627
|
+
*
|
|
3628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3629
|
+
*/
|
|
3428
3630
|
ariaValueMax: string | null;
|
|
3429
|
-
/**
|
|
3631
|
+
/**
|
|
3632
|
+
* The **`ariaValueMin`** property of the Element interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
|
|
3633
|
+
*
|
|
3634
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3635
|
+
*/
|
|
3430
3636
|
ariaValueMin: string | null;
|
|
3431
|
-
/**
|
|
3637
|
+
/**
|
|
3638
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3639
|
+
*
|
|
3640
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3641
|
+
*/
|
|
3432
3642
|
ariaValueNow: string | null;
|
|
3433
|
-
/**
|
|
3643
|
+
/**
|
|
3644
|
+
* The **`ariaValueText`** property of the Element interface reflects the value of the aria-valuetext attribute, which defines the human-readable text alternative of aria-valuenow for a range widget.
|
|
3645
|
+
*
|
|
3646
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3647
|
+
*/
|
|
3434
3648
|
ariaValueText: string | null;
|
|
3435
|
-
/**
|
|
3649
|
+
/**
|
|
3650
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3651
|
+
*
|
|
3652
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3653
|
+
*/
|
|
3436
3654
|
role: string | null;
|
|
3437
3655
|
}
|
|
3438
3656
|
|
|
@@ -5203,21 +5421,53 @@ declare var BlobEvent: {
|
|
|
5203
5421
|
};
|
|
5204
5422
|
|
|
5205
5423
|
interface Body {
|
|
5206
|
-
/**
|
|
5424
|
+
/**
|
|
5425
|
+
* The **`body`** read-only property of the Request interface contains a ReadableStream with the body contents that have been added to the request. Note that a request using the GET or HEAD method cannot have a body and null is returned in these cases.
|
|
5426
|
+
*
|
|
5427
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5428
|
+
*/
|
|
5207
5429
|
readonly body: ReadableStream<Uint8Array> | null;
|
|
5208
|
-
/**
|
|
5430
|
+
/**
|
|
5431
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5432
|
+
*
|
|
5433
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5434
|
+
*/
|
|
5209
5435
|
readonly bodyUsed: boolean;
|
|
5210
|
-
/**
|
|
5436
|
+
/**
|
|
5437
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5438
|
+
*
|
|
5439
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5440
|
+
*/
|
|
5211
5441
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5212
|
-
/**
|
|
5442
|
+
/**
|
|
5443
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5444
|
+
*
|
|
5445
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5446
|
+
*/
|
|
5213
5447
|
blob(): Promise<Blob>;
|
|
5214
|
-
/**
|
|
5448
|
+
/**
|
|
5449
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5450
|
+
*
|
|
5451
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5452
|
+
*/
|
|
5215
5453
|
bytes(): Promise<Uint8Array>;
|
|
5216
|
-
/**
|
|
5454
|
+
/**
|
|
5455
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5456
|
+
*
|
|
5457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5458
|
+
*/
|
|
5217
5459
|
formData(): Promise<FormData>;
|
|
5218
|
-
/**
|
|
5460
|
+
/**
|
|
5461
|
+
* The **`json()`** method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.
|
|
5462
|
+
*
|
|
5463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5464
|
+
*/
|
|
5219
5465
|
json(): Promise<any>;
|
|
5220
|
-
/**
|
|
5466
|
+
/**
|
|
5467
|
+
* The **`text()`** method of the Request interface reads the request body and returns it as a promise that resolves with a String. The response is always decoded using UTF-8.
|
|
5468
|
+
*
|
|
5469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5470
|
+
*/
|
|
5221
5471
|
text(): Promise<string>;
|
|
5222
5472
|
}
|
|
5223
5473
|
|
|
@@ -12721,7 +12971,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12721
12971
|
/** Available only in secure contexts. */
|
|
12722
12972
|
interface DigitalCredential extends Credential {
|
|
12723
12973
|
readonly data: any;
|
|
12724
|
-
readonly protocol:
|
|
12974
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12725
12975
|
toJSON(): any;
|
|
12726
12976
|
}
|
|
12727
12977
|
|
|
@@ -13406,7 +13656,7 @@ declare var Document: {
|
|
|
13406
13656
|
*
|
|
13407
13657
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
|
|
13408
13658
|
*/
|
|
13409
|
-
parseHTMLUnsafe(html: string): Document;
|
|
13659
|
+
parseHTMLUnsafe(html: string, options?: ParseHTMLUnsafeOptions): Document;
|
|
13410
13660
|
};
|
|
13411
13661
|
|
|
13412
13662
|
/**
|
|
@@ -13430,34 +13680,56 @@ declare var DocumentFragment: {
|
|
|
13430
13680
|
|
|
13431
13681
|
interface DocumentOrShadowRoot {
|
|
13432
13682
|
/**
|
|
13433
|
-
*
|
|
13434
|
-
*
|
|
13435
|
-
* For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document.
|
|
13436
|
-
*
|
|
13437
|
-
* Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.
|
|
13683
|
+
* The **`activeElement`** read-only property of the Document interface returns the Element within the DOM that is receiving keyboard events such as keydown and keyup. This is usually analogous to the focused element.
|
|
13438
13684
|
*
|
|
13439
13685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13440
13686
|
*/
|
|
13441
13687
|
readonly activeElement: Element | null;
|
|
13442
|
-
/**
|
|
13688
|
+
/**
|
|
13689
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13690
|
+
*
|
|
13691
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13692
|
+
*/
|
|
13443
13693
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13444
|
-
/**
|
|
13694
|
+
/**
|
|
13695
|
+
* The **`customElementRegistry`** read-only property of the Document interface returns the CustomElementRegistry object associated with this document, or null if one has not been set.
|
|
13696
|
+
*
|
|
13697
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13698
|
+
*/
|
|
13445
13699
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13446
13700
|
/**
|
|
13447
|
-
*
|
|
13701
|
+
* The **`Document.fullscreenElement`** read-only property returns the Element that is currently being presented in fullscreen mode in this document, or null if fullscreen mode is not currently in use.
|
|
13448
13702
|
*
|
|
13449
13703
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13450
13704
|
*/
|
|
13451
13705
|
readonly fullscreenElement: Element | null;
|
|
13452
|
-
/**
|
|
13706
|
+
/**
|
|
13707
|
+
* The read-only **`pictureInPictureElement`** property of the Document interface returns the Element that is currently being presented in picture-in-picture mode in this document, or null if picture-in-picture mode is not currently in use.
|
|
13708
|
+
*
|
|
13709
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13710
|
+
*/
|
|
13453
13711
|
readonly pictureInPictureElement: Element | null;
|
|
13454
|
-
/**
|
|
13712
|
+
/**
|
|
13713
|
+
* The **`pointerLockElement`** read-only property of the Document interface provides the element set as the target for mouse events while the pointer is locked. It is null if lock is pending, pointer is unlocked, or the target is in another document.
|
|
13714
|
+
*
|
|
13715
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13716
|
+
*/
|
|
13455
13717
|
readonly pointerLockElement: Element | null;
|
|
13456
|
-
/**
|
|
13718
|
+
/**
|
|
13719
|
+
* The **`styleSheets`** read-only property of the Document interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
|
|
13720
|
+
*
|
|
13721
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13722
|
+
*/
|
|
13457
13723
|
readonly styleSheets: StyleSheetList;
|
|
13724
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13458
13725
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13726
|
+
/** The **`elementsFromPoint()`** method of the Document interface returns an array of all elements at the specified coordinates (relative to the viewport). The elements are ordered from the topmost to the bottommost box of the viewport. */
|
|
13459
13727
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13460
|
-
/**
|
|
13728
|
+
/**
|
|
13729
|
+
* The **`getAnimations()`** method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document. This array includes CSS Animations, CSS Transitions, and Web Animations.
|
|
13730
|
+
*
|
|
13731
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13732
|
+
*/
|
|
13461
13733
|
getAnimations(): Animation[];
|
|
13462
13734
|
}
|
|
13463
13735
|
|
|
@@ -14152,7 +14424,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14152
14424
|
*
|
|
14153
14425
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
|
|
14154
14426
|
*/
|
|
14155
|
-
setHTMLUnsafe(html: string): void;
|
|
14427
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
14156
14428
|
/**
|
|
14157
14429
|
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
|
|
14158
14430
|
*
|
|
@@ -17305,12 +17577,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17305
17577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17306
17578
|
*/
|
|
17307
17579
|
download: string;
|
|
17308
|
-
/**
|
|
17309
|
-
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
17310
|
-
*
|
|
17311
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
17312
|
-
*/
|
|
17313
|
-
hreflang: string;
|
|
17314
17580
|
/** @deprecated */
|
|
17315
17581
|
name: string;
|
|
17316
17582
|
/**
|
|
@@ -17341,24 +17607,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17341
17607
|
rev: string;
|
|
17342
17608
|
/** @deprecated */
|
|
17343
17609
|
shape: string;
|
|
17344
|
-
/**
|
|
17345
|
-
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
17346
|
-
*
|
|
17347
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
17348
|
-
*/
|
|
17349
|
-
target: string;
|
|
17350
17610
|
/**
|
|
17351
17611
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17352
17612
|
*
|
|
17353
17613
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17354
17614
|
*/
|
|
17355
17615
|
text: string;
|
|
17356
|
-
/**
|
|
17357
|
-
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
17358
|
-
*
|
|
17359
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
17360
|
-
*/
|
|
17361
|
-
type: string;
|
|
17362
17616
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17363
17617
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17364
17618
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17426,12 +17680,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl
|
|
|
17426
17680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17427
17681
|
*/
|
|
17428
17682
|
shape: string;
|
|
17429
|
-
/**
|
|
17430
|
-
* The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource.
|
|
17431
|
-
*
|
|
17432
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)
|
|
17433
|
-
*/
|
|
17434
|
-
target: string;
|
|
17435
17683
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17436
17684
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17437
17685
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17704,6 +17952,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17704
17952
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17705
17953
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17706
17954
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17955
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17707
17956
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17708
17957
|
/**
|
|
17709
17958
|
* The **`HTMLCanvasElement.toBlob()`** method creates a Blob object representing the image contained in the canvas. This file may be cached on the disk or stored in memory at the discretion of the user agent.
|
|
@@ -18626,14 +18875,18 @@ declare var HTMLHtmlElement: {
|
|
|
18626
18875
|
|
|
18627
18876
|
interface HTMLHyperlinkElementUtils {
|
|
18628
18877
|
/**
|
|
18629
|
-
*
|
|
18630
|
-
*
|
|
18631
|
-
* Can be set, to change the URL.
|
|
18878
|
+
* The **`href`** property of the HTMLAnchorElement interface is a stringifier that returns the absolute URL corresponding to the element's href attribute (or an empty string if href is unset). Setting this property updates the element's href attribute to the provided value.
|
|
18632
18879
|
*
|
|
18633
18880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18634
18881
|
*/
|
|
18635
18882
|
href: string;
|
|
18636
18883
|
toString(): string;
|
|
18884
|
+
/**
|
|
18885
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18886
|
+
*
|
|
18887
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18888
|
+
*/
|
|
18889
|
+
target: string;
|
|
18637
18890
|
}
|
|
18638
18891
|
|
|
18639
18892
|
/**
|
|
@@ -22172,79 +22425,73 @@ declare var History: {
|
|
|
22172
22425
|
|
|
22173
22426
|
interface HyperlinkElementUtils {
|
|
22174
22427
|
/**
|
|
22175
|
-
*
|
|
22176
|
-
*
|
|
22177
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
22428
|
+
* The **`hash`** property of the HTMLAnchorElement interface is a string containing a "#" followed by the fragment identifier of the <a> element's href. If the URL does not have a fragment identifier, this property contains an empty string, "".
|
|
22178
22429
|
*
|
|
22179
22430
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22180
22431
|
*/
|
|
22181
22432
|
hash: string;
|
|
22182
22433
|
/**
|
|
22183
|
-
*
|
|
22184
|
-
*
|
|
22185
|
-
* Can be set, to change the URL's host and port.
|
|
22434
|
+
* The **`host`** property of the HTMLAnchorElement interface is a string containing the host, which is the hostname, and then, if the port of the URL is nonempty, a ":", followed by the port of the URL. If the URL does not have a hostname, this property contains an empty string, "".
|
|
22186
22435
|
*
|
|
22187
22436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22188
22437
|
*/
|
|
22189
22438
|
host: string;
|
|
22190
22439
|
/**
|
|
22191
|
-
*
|
|
22192
|
-
*
|
|
22193
|
-
* Can be set, to change the URL's host.
|
|
22440
|
+
* The **`hostname`** property of the HTMLAnchorElement interface is a string containing either the domain name or IP address of the <a> element's href. If the URL does not have a hostname, this property contains an empty string, "". IPv4 and IPv6 addresses are normalized, such as stripping leading zeros, and domain names are converted to IDN.
|
|
22194
22441
|
*
|
|
22195
22442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22196
22443
|
*/
|
|
22197
22444
|
hostname: string;
|
|
22198
22445
|
/**
|
|
22199
|
-
*
|
|
22446
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22447
|
+
*
|
|
22448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22449
|
+
*/
|
|
22450
|
+
hreflang: string;
|
|
22451
|
+
/**
|
|
22452
|
+
* The **`origin`** read-only property of the HTMLAnchorElement interface returns a string containing the Unicode serialization of the origin of the <a> element's href.
|
|
22200
22453
|
*
|
|
22201
22454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22202
22455
|
*/
|
|
22203
22456
|
readonly origin: string;
|
|
22204
22457
|
/**
|
|
22205
|
-
*
|
|
22206
|
-
*
|
|
22207
|
-
* Can be set, to change the URL's password.
|
|
22458
|
+
* The **`password`** property of the HTMLAnchorElement interface is a string containing the password component of the <a> element's href. If the URL does not have a password, this property contains an empty string, "".
|
|
22208
22459
|
*
|
|
22209
22460
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22210
22461
|
*/
|
|
22211
22462
|
password: string;
|
|
22212
22463
|
/**
|
|
22213
|
-
*
|
|
22214
|
-
*
|
|
22215
|
-
* Can be set, to change the URL's path.
|
|
22464
|
+
* The **`HTMLAnchorElement.pathname`** property is a string containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).
|
|
22216
22465
|
*
|
|
22217
22466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22218
22467
|
*/
|
|
22219
22468
|
pathname: string;
|
|
22220
22469
|
/**
|
|
22221
|
-
*
|
|
22222
|
-
*
|
|
22223
|
-
* Can be set, to change the URL's port.
|
|
22470
|
+
* The **`port`** property of the HTMLAnchorElement interface is a string containing the port number of the <a> element's href. If the port is the default for the protocol (80 for ws: and http:, 443 for wss: and https:, and 21 for ftp:), this property contains an empty string, "".
|
|
22224
22471
|
*
|
|
22225
22472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22226
22473
|
*/
|
|
22227
22474
|
port: string;
|
|
22228
22475
|
/**
|
|
22229
|
-
*
|
|
22230
|
-
*
|
|
22231
|
-
* Can be set, to change the URL's scheme.
|
|
22476
|
+
* The **`protocol`** property of the HTMLAnchorElement interface is a string containing the protocol or scheme of the <area> element's href, including the final ":".
|
|
22232
22477
|
*
|
|
22233
22478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22234
22479
|
*/
|
|
22235
22480
|
protocol: string;
|
|
22236
22481
|
/**
|
|
22237
|
-
*
|
|
22238
|
-
*
|
|
22239
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
22482
|
+
* The **`search`** property of the HTMLAnchorElement interface is a search string, also called a query string, that is a string containing a "?" followed by the parameters of the <a> element's href. If the URL does not have a search query, this property contains an empty string, "".
|
|
22240
22483
|
*
|
|
22241
22484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22242
22485
|
*/
|
|
22243
22486
|
search: string;
|
|
22244
22487
|
/**
|
|
22245
|
-
*
|
|
22488
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22246
22489
|
*
|
|
22247
|
-
*
|
|
22490
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22491
|
+
*/
|
|
22492
|
+
type: string;
|
|
22493
|
+
/**
|
|
22494
|
+
* The **`username`** property of the HTMLAnchorElement interface is a string containing the username component of the <a> element's href. If the URL does not have a username, this property contains an empty string, "".
|
|
22248
22495
|
*
|
|
22249
22496
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22250
22497
|
*/
|
|
@@ -26679,7 +26926,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26679
26926
|
|
|
26680
26927
|
interface NonElementParentNode {
|
|
26681
26928
|
/**
|
|
26682
|
-
*
|
|
26929
|
+
* The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly.
|
|
26683
26930
|
*
|
|
26684
26931
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26685
26932
|
*/
|
|
@@ -27070,6 +27317,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
27070
27317
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
27071
27318
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
27072
27319
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27320
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
27073
27321
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
27074
27322
|
/**
|
|
27075
27323
|
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
|
|
@@ -27357,46 +27605,50 @@ declare var PannerNode: {
|
|
|
27357
27605
|
};
|
|
27358
27606
|
|
|
27359
27607
|
interface ParentNode extends Node {
|
|
27360
|
-
/**
|
|
27608
|
+
/**
|
|
27609
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27610
|
+
*
|
|
27611
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27612
|
+
*/
|
|
27361
27613
|
readonly childElementCount: number;
|
|
27362
27614
|
/**
|
|
27363
|
-
*
|
|
27615
|
+
* The read-only **`children`** property returns a live HTMLCollection which contains all of the child elements of the document upon which it was called.
|
|
27364
27616
|
*
|
|
27365
27617
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27366
27618
|
*/
|
|
27367
27619
|
readonly children: HTMLCollection;
|
|
27368
27620
|
/**
|
|
27369
|
-
*
|
|
27621
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27370
27622
|
*
|
|
27371
27623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27372
27624
|
*/
|
|
27373
27625
|
readonly firstElementChild: Element | null;
|
|
27374
27626
|
/**
|
|
27375
|
-
*
|
|
27627
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27376
27628
|
*
|
|
27377
27629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27378
27630
|
*/
|
|
27379
27631
|
readonly lastElementChild: Element | null;
|
|
27380
27632
|
/**
|
|
27381
|
-
*
|
|
27382
|
-
*
|
|
27383
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27633
|
+
* The **`Document.append()`** method inserts a set of Node objects or strings after the last child of the document. Strings are inserted as equivalent Text nodes.
|
|
27384
27634
|
*
|
|
27385
27635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27386
27636
|
*/
|
|
27387
27637
|
append(...nodes: (Node | string)[]): void;
|
|
27388
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
|
|
27389
|
-
moveBefore(node: Node, child: Node | null): void;
|
|
27390
27638
|
/**
|
|
27391
|
-
*
|
|
27639
|
+
* The **`moveBefore()`** method of the Document interface moves a given Node inside the Document DOM node as a direct child, before a given reference node.
|
|
27392
27640
|
*
|
|
27393
|
-
*
|
|
27641
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27642
|
+
*/
|
|
27643
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27644
|
+
/**
|
|
27645
|
+
* The **`Document.prepend()`** method inserts a set of Node objects or strings before the first child of the document. Strings are inserted as equivalent Text nodes.
|
|
27394
27646
|
*
|
|
27395
27647
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27396
27648
|
*/
|
|
27397
27649
|
prepend(...nodes: (Node | string)[]): void;
|
|
27398
27650
|
/**
|
|
27399
|
-
*
|
|
27651
|
+
* The Document method **`querySelector()`** returns the first Element within the document that matches the specified CSS selector, or group of CSS selectors. If no matches are found, null is returned.
|
|
27400
27652
|
*
|
|
27401
27653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27402
27654
|
*/
|
|
@@ -27407,7 +27659,7 @@ interface ParentNode extends Node {
|
|
|
27407
27659
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27408
27660
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27409
27661
|
/**
|
|
27410
|
-
*
|
|
27662
|
+
* The Document method **`querySelectorAll()`** returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
|
|
27411
27663
|
*
|
|
27412
27664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27413
27665
|
*/
|
|
@@ -27418,9 +27670,7 @@ interface ParentNode extends Node {
|
|
|
27418
27670
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27419
27671
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27420
27672
|
/**
|
|
27421
|
-
*
|
|
27422
|
-
*
|
|
27423
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27673
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27424
27674
|
*
|
|
27425
27675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27426
27676
|
*/
|
|
@@ -28886,9 +29136,17 @@ declare var PopStateEvent: {
|
|
|
28886
29136
|
};
|
|
28887
29137
|
|
|
28888
29138
|
interface PopoverTargetAttributes {
|
|
28889
|
-
/**
|
|
29139
|
+
/**
|
|
29140
|
+
* The **`popoverTargetAction`** property of the HTMLButtonElement interface gets and sets the action to be performed ("hide", "show", or "toggle") on a popover element being controlled by a button.
|
|
29141
|
+
*
|
|
29142
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29143
|
+
*/
|
|
28890
29144
|
popoverTargetAction: string;
|
|
28891
|
-
/**
|
|
29145
|
+
/**
|
|
29146
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29147
|
+
*
|
|
29148
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29149
|
+
*/
|
|
28892
29150
|
popoverTargetElement: Element | null;
|
|
28893
29151
|
}
|
|
28894
29152
|
|
|
@@ -35786,7 +36044,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
|
35786
36044
|
*
|
|
35787
36045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
|
|
35788
36046
|
*/
|
|
35789
|
-
setHTMLUnsafe(html: string): void;
|
|
36047
|
+
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
|
|
35790
36048
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35791
36049
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35792
36050
|
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -44885,6 +45143,7 @@ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
|
44885
45143
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44886
45144
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44887
45145
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45146
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44888
45147
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44889
45148
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44890
45149
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44901,6 +45160,7 @@ type FlowControlType = "hardware" | "none";
|
|
|
44901
45160
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44902
45161
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44903
45162
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45163
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44904
45164
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44905
45165
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44906
45166
|
type GPUAutoLayoutMode = "auto";
|