@types/web 0.0.351 → 0.0.353
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 +439 -146
- package/package.json +1 -1
- package/ts5.5/index.d.ts +439 -146
- package/ts5.6/index.d.ts +439 -146
- package/ts5.9/index.d.ts +439 -146
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 {
|
|
@@ -3330,109 +3332,317 @@ interface ANGLE_instanced_arrays {
|
|
|
3330
3332
|
}
|
|
3331
3333
|
|
|
3332
3334
|
interface ARIAMixin {
|
|
3333
|
-
/**
|
|
3335
|
+
/**
|
|
3336
|
+
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
|
|
3337
|
+
*
|
|
3338
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
|
|
3339
|
+
*/
|
|
3334
3340
|
ariaActiveDescendantElement: Element | null;
|
|
3335
|
-
/**
|
|
3341
|
+
/**
|
|
3342
|
+
* 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.
|
|
3343
|
+
*
|
|
3344
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
|
|
3345
|
+
*/
|
|
3336
3346
|
ariaAtomic: string | null;
|
|
3337
|
-
/**
|
|
3347
|
+
/**
|
|
3348
|
+
* 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.
|
|
3349
|
+
*
|
|
3350
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
|
|
3351
|
+
*/
|
|
3338
3352
|
ariaAutoComplete: string | null;
|
|
3339
|
-
/**
|
|
3353
|
+
/**
|
|
3354
|
+
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
|
|
3355
|
+
*
|
|
3356
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
|
|
3357
|
+
*/
|
|
3340
3358
|
ariaBrailleLabel: string | null;
|
|
3341
|
-
/**
|
|
3359
|
+
/**
|
|
3360
|
+
* 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.
|
|
3361
|
+
*
|
|
3362
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
|
|
3363
|
+
*/
|
|
3342
3364
|
ariaBrailleRoleDescription: string | null;
|
|
3343
|
-
/**
|
|
3365
|
+
/**
|
|
3366
|
+
* 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.
|
|
3367
|
+
*
|
|
3368
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
|
|
3369
|
+
*/
|
|
3344
3370
|
ariaBusy: string | null;
|
|
3345
|
-
/**
|
|
3371
|
+
/**
|
|
3372
|
+
* 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.
|
|
3373
|
+
*
|
|
3374
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
|
|
3375
|
+
*/
|
|
3346
3376
|
ariaChecked: string | null;
|
|
3347
|
-
/**
|
|
3377
|
+
/**
|
|
3378
|
+
* 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.
|
|
3379
|
+
*
|
|
3380
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
|
|
3381
|
+
*/
|
|
3348
3382
|
ariaColCount: string | null;
|
|
3349
|
-
/**
|
|
3383
|
+
/**
|
|
3384
|
+
* 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.
|
|
3385
|
+
*
|
|
3386
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
|
|
3387
|
+
*/
|
|
3350
3388
|
ariaColIndex: string | null;
|
|
3351
|
-
/**
|
|
3389
|
+
/**
|
|
3390
|
+
* 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.
|
|
3391
|
+
*
|
|
3392
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
|
|
3393
|
+
*/
|
|
3352
3394
|
ariaColIndexText: string | null;
|
|
3353
|
-
/**
|
|
3395
|
+
/**
|
|
3396
|
+
* 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.
|
|
3397
|
+
*
|
|
3398
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
|
|
3399
|
+
*/
|
|
3354
3400
|
ariaColSpan: string | null;
|
|
3355
|
-
/**
|
|
3401
|
+
/**
|
|
3402
|
+
* 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.
|
|
3403
|
+
*
|
|
3404
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
|
|
3405
|
+
*/
|
|
3356
3406
|
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
3357
|
-
/**
|
|
3407
|
+
/**
|
|
3408
|
+
* 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.
|
|
3409
|
+
*
|
|
3410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
|
|
3411
|
+
*/
|
|
3358
3412
|
ariaCurrent: string | null;
|
|
3359
|
-
/**
|
|
3413
|
+
/**
|
|
3414
|
+
* 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.
|
|
3415
|
+
*
|
|
3416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
|
|
3417
|
+
*/
|
|
3360
3418
|
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
3361
|
-
/**
|
|
3419
|
+
/**
|
|
3420
|
+
* 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.
|
|
3421
|
+
*
|
|
3422
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
|
|
3423
|
+
*/
|
|
3362
3424
|
ariaDescription: string | null;
|
|
3363
|
-
/**
|
|
3425
|
+
/**
|
|
3426
|
+
* 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.
|
|
3427
|
+
*
|
|
3428
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
|
|
3429
|
+
*/
|
|
3364
3430
|
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
3365
|
-
/**
|
|
3431
|
+
/**
|
|
3432
|
+
* 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.
|
|
3433
|
+
*
|
|
3434
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
|
|
3435
|
+
*/
|
|
3366
3436
|
ariaDisabled: string | null;
|
|
3367
|
-
/**
|
|
3437
|
+
/**
|
|
3438
|
+
* 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.
|
|
3439
|
+
*
|
|
3440
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
|
|
3441
|
+
*/
|
|
3368
3442
|
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
3369
|
-
/**
|
|
3443
|
+
/**
|
|
3444
|
+
* 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.
|
|
3445
|
+
*
|
|
3446
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
|
|
3447
|
+
*/
|
|
3370
3448
|
ariaExpanded: string | null;
|
|
3371
|
-
/**
|
|
3449
|
+
/**
|
|
3450
|
+
* 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.
|
|
3451
|
+
*
|
|
3452
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
|
|
3453
|
+
*/
|
|
3372
3454
|
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
3373
|
-
/**
|
|
3455
|
+
/**
|
|
3456
|
+
* 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.
|
|
3457
|
+
*
|
|
3458
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
|
|
3459
|
+
*/
|
|
3374
3460
|
ariaHasPopup: string | null;
|
|
3375
|
-
/**
|
|
3461
|
+
/**
|
|
3462
|
+
* 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.
|
|
3463
|
+
*
|
|
3464
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
|
|
3465
|
+
*/
|
|
3376
3466
|
ariaHidden: string | null;
|
|
3377
|
-
/**
|
|
3467
|
+
/**
|
|
3468
|
+
* 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.
|
|
3469
|
+
*
|
|
3470
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
|
|
3471
|
+
*/
|
|
3378
3472
|
ariaInvalid: string | null;
|
|
3379
|
-
/**
|
|
3473
|
+
/**
|
|
3474
|
+
* 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.
|
|
3475
|
+
*
|
|
3476
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
|
|
3477
|
+
*/
|
|
3380
3478
|
ariaKeyShortcuts: string | null;
|
|
3381
|
-
/**
|
|
3479
|
+
/**
|
|
3480
|
+
* 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.
|
|
3481
|
+
*
|
|
3482
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
|
|
3483
|
+
*/
|
|
3382
3484
|
ariaLabel: string | null;
|
|
3383
|
-
/**
|
|
3485
|
+
/**
|
|
3486
|
+
* 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.
|
|
3487
|
+
*
|
|
3488
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
|
|
3489
|
+
*/
|
|
3384
3490
|
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
3385
|
-
/**
|
|
3491
|
+
/**
|
|
3492
|
+
* 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.
|
|
3493
|
+
*
|
|
3494
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
|
|
3495
|
+
*/
|
|
3386
3496
|
ariaLevel: string | null;
|
|
3387
|
-
/**
|
|
3497
|
+
/**
|
|
3498
|
+
* 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.
|
|
3499
|
+
*
|
|
3500
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
|
|
3501
|
+
*/
|
|
3388
3502
|
ariaLive: string | null;
|
|
3389
|
-
/**
|
|
3503
|
+
/**
|
|
3504
|
+
* 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.
|
|
3505
|
+
*
|
|
3506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
|
|
3507
|
+
*/
|
|
3390
3508
|
ariaModal: string | null;
|
|
3391
|
-
/**
|
|
3509
|
+
/**
|
|
3510
|
+
* 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.
|
|
3511
|
+
*
|
|
3512
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
|
|
3513
|
+
*/
|
|
3392
3514
|
ariaMultiLine: string | null;
|
|
3393
|
-
/**
|
|
3515
|
+
/**
|
|
3516
|
+
* 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.
|
|
3517
|
+
*
|
|
3518
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
|
|
3519
|
+
*/
|
|
3394
3520
|
ariaMultiSelectable: string | null;
|
|
3395
|
-
/**
|
|
3521
|
+
/**
|
|
3522
|
+
* 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.
|
|
3523
|
+
*
|
|
3524
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
|
|
3525
|
+
*/
|
|
3396
3526
|
ariaOrientation: string | null;
|
|
3397
|
-
/**
|
|
3527
|
+
/**
|
|
3528
|
+
* 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,
|
|
3529
|
+
*
|
|
3530
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
|
|
3531
|
+
*/
|
|
3398
3532
|
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
3399
|
-
/**
|
|
3533
|
+
/**
|
|
3534
|
+
* 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.
|
|
3535
|
+
*
|
|
3536
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
|
|
3537
|
+
*/
|
|
3400
3538
|
ariaPlaceholder: string | null;
|
|
3401
|
-
/**
|
|
3539
|
+
/**
|
|
3540
|
+
* 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.
|
|
3541
|
+
*
|
|
3542
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
|
|
3543
|
+
*/
|
|
3402
3544
|
ariaPosInSet: string | null;
|
|
3403
|
-
/**
|
|
3545
|
+
/**
|
|
3546
|
+
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
|
|
3547
|
+
*
|
|
3548
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
|
|
3549
|
+
*/
|
|
3404
3550
|
ariaPressed: string | null;
|
|
3405
|
-
/**
|
|
3551
|
+
/**
|
|
3552
|
+
* 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.
|
|
3553
|
+
*
|
|
3554
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
|
|
3555
|
+
*/
|
|
3406
3556
|
ariaReadOnly: string | null;
|
|
3407
|
-
/**
|
|
3557
|
+
/**
|
|
3558
|
+
* 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.
|
|
3559
|
+
*
|
|
3560
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
|
|
3561
|
+
*/
|
|
3408
3562
|
ariaRelevant: string | null;
|
|
3409
|
-
/**
|
|
3563
|
+
/**
|
|
3564
|
+
* 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.
|
|
3565
|
+
*
|
|
3566
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
|
|
3567
|
+
*/
|
|
3410
3568
|
ariaRequired: string | null;
|
|
3411
|
-
/**
|
|
3569
|
+
/**
|
|
3570
|
+
* 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.
|
|
3571
|
+
*
|
|
3572
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
|
|
3573
|
+
*/
|
|
3412
3574
|
ariaRoleDescription: string | null;
|
|
3413
|
-
/**
|
|
3575
|
+
/**
|
|
3576
|
+
* 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.
|
|
3577
|
+
*
|
|
3578
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
|
|
3579
|
+
*/
|
|
3414
3580
|
ariaRowCount: string | null;
|
|
3415
|
-
/**
|
|
3581
|
+
/**
|
|
3582
|
+
* 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.
|
|
3583
|
+
*
|
|
3584
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
|
|
3585
|
+
*/
|
|
3416
3586
|
ariaRowIndex: string | null;
|
|
3417
|
-
/**
|
|
3587
|
+
/**
|
|
3588
|
+
* 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.
|
|
3589
|
+
*
|
|
3590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
|
|
3591
|
+
*/
|
|
3418
3592
|
ariaRowIndexText: string | null;
|
|
3419
|
-
/**
|
|
3593
|
+
/**
|
|
3594
|
+
* 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.
|
|
3595
|
+
*
|
|
3596
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
|
|
3597
|
+
*/
|
|
3420
3598
|
ariaRowSpan: string | null;
|
|
3421
|
-
/**
|
|
3599
|
+
/**
|
|
3600
|
+
* 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.
|
|
3601
|
+
*
|
|
3602
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
|
|
3603
|
+
*/
|
|
3422
3604
|
ariaSelected: string | null;
|
|
3423
|
-
/**
|
|
3605
|
+
/**
|
|
3606
|
+
* 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.
|
|
3607
|
+
*
|
|
3608
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
|
|
3609
|
+
*/
|
|
3424
3610
|
ariaSetSize: string | null;
|
|
3425
|
-
/**
|
|
3611
|
+
/**
|
|
3612
|
+
* 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.
|
|
3613
|
+
*
|
|
3614
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
|
|
3615
|
+
*/
|
|
3426
3616
|
ariaSort: string | null;
|
|
3427
|
-
/**
|
|
3617
|
+
/**
|
|
3618
|
+
* 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.
|
|
3619
|
+
*
|
|
3620
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
|
|
3621
|
+
*/
|
|
3428
3622
|
ariaValueMax: string | null;
|
|
3429
|
-
/**
|
|
3623
|
+
/**
|
|
3624
|
+
* 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.
|
|
3625
|
+
*
|
|
3626
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
|
|
3627
|
+
*/
|
|
3430
3628
|
ariaValueMin: string | null;
|
|
3431
|
-
/**
|
|
3629
|
+
/**
|
|
3630
|
+
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
|
|
3631
|
+
*
|
|
3632
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
|
|
3633
|
+
*/
|
|
3432
3634
|
ariaValueNow: string | null;
|
|
3433
|
-
/**
|
|
3635
|
+
/**
|
|
3636
|
+
* 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.
|
|
3637
|
+
*
|
|
3638
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
|
|
3639
|
+
*/
|
|
3434
3640
|
ariaValueText: string | null;
|
|
3435
|
-
/**
|
|
3641
|
+
/**
|
|
3642
|
+
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
|
|
3643
|
+
*
|
|
3644
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
|
|
3645
|
+
*/
|
|
3436
3646
|
role: string | null;
|
|
3437
3647
|
}
|
|
3438
3648
|
|
|
@@ -5203,21 +5413,53 @@ declare var BlobEvent: {
|
|
|
5203
5413
|
};
|
|
5204
5414
|
|
|
5205
5415
|
interface Body {
|
|
5206
|
-
/**
|
|
5416
|
+
/**
|
|
5417
|
+
* 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.
|
|
5418
|
+
*
|
|
5419
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
|
|
5420
|
+
*/
|
|
5207
5421
|
readonly body: ReadableStream<Uint8Array> | null;
|
|
5208
|
-
/**
|
|
5422
|
+
/**
|
|
5423
|
+
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
|
|
5424
|
+
*
|
|
5425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
|
|
5426
|
+
*/
|
|
5209
5427
|
readonly bodyUsed: boolean;
|
|
5210
|
-
/**
|
|
5428
|
+
/**
|
|
5429
|
+
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
|
|
5430
|
+
*
|
|
5431
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
|
|
5432
|
+
*/
|
|
5211
5433
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
5212
|
-
/**
|
|
5434
|
+
/**
|
|
5435
|
+
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
|
|
5436
|
+
*
|
|
5437
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
|
|
5438
|
+
*/
|
|
5213
5439
|
blob(): Promise<Blob>;
|
|
5214
|
-
/**
|
|
5440
|
+
/**
|
|
5441
|
+
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
|
|
5442
|
+
*
|
|
5443
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
|
|
5444
|
+
*/
|
|
5215
5445
|
bytes(): Promise<Uint8Array>;
|
|
5216
|
-
/**
|
|
5446
|
+
/**
|
|
5447
|
+
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
|
|
5448
|
+
*
|
|
5449
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
|
|
5450
|
+
*/
|
|
5217
5451
|
formData(): Promise<FormData>;
|
|
5218
|
-
/**
|
|
5452
|
+
/**
|
|
5453
|
+
* 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.
|
|
5454
|
+
*
|
|
5455
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
|
|
5456
|
+
*/
|
|
5219
5457
|
json(): Promise<any>;
|
|
5220
|
-
/**
|
|
5458
|
+
/**
|
|
5459
|
+
* 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.
|
|
5460
|
+
*
|
|
5461
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
|
|
5462
|
+
*/
|
|
5221
5463
|
text(): Promise<string>;
|
|
5222
5464
|
}
|
|
5223
5465
|
|
|
@@ -12721,7 +12963,7 @@ declare var DeviceOrientationEvent: {
|
|
|
12721
12963
|
/** Available only in secure contexts. */
|
|
12722
12964
|
interface DigitalCredential extends Credential {
|
|
12723
12965
|
readonly data: any;
|
|
12724
|
-
readonly protocol:
|
|
12966
|
+
readonly protocol: DigitalCredentialPresentationProtocol;
|
|
12725
12967
|
toJSON(): any;
|
|
12726
12968
|
}
|
|
12727
12969
|
|
|
@@ -13430,34 +13672,56 @@ declare var DocumentFragment: {
|
|
|
13430
13672
|
|
|
13431
13673
|
interface DocumentOrShadowRoot {
|
|
13432
13674
|
/**
|
|
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.
|
|
13675
|
+
* 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
13676
|
*
|
|
13439
13677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)
|
|
13440
13678
|
*/
|
|
13441
13679
|
readonly activeElement: Element | null;
|
|
13442
|
-
/**
|
|
13680
|
+
/**
|
|
13681
|
+
* The **`adoptedStyleSheets`** property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
|
|
13682
|
+
*
|
|
13683
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets)
|
|
13684
|
+
*/
|
|
13443
13685
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13444
|
-
/**
|
|
13686
|
+
/**
|
|
13687
|
+
* 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.
|
|
13688
|
+
*
|
|
13689
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry)
|
|
13690
|
+
*/
|
|
13445
13691
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13446
13692
|
/**
|
|
13447
|
-
*
|
|
13693
|
+
* 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
13694
|
*
|
|
13449
13695
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)
|
|
13450
13696
|
*/
|
|
13451
13697
|
readonly fullscreenElement: Element | null;
|
|
13452
|
-
/**
|
|
13698
|
+
/**
|
|
13699
|
+
* 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.
|
|
13700
|
+
*
|
|
13701
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement)
|
|
13702
|
+
*/
|
|
13453
13703
|
readonly pictureInPictureElement: Element | null;
|
|
13454
|
-
/**
|
|
13704
|
+
/**
|
|
13705
|
+
* 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.
|
|
13706
|
+
*
|
|
13707
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement)
|
|
13708
|
+
*/
|
|
13455
13709
|
readonly pointerLockElement: Element | null;
|
|
13456
|
-
/**
|
|
13710
|
+
/**
|
|
13711
|
+
* 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.
|
|
13712
|
+
*
|
|
13713
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets)
|
|
13714
|
+
*/
|
|
13457
13715
|
readonly styleSheets: StyleSheetList;
|
|
13716
|
+
/** The **`elementFromPoint()`** method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport). */
|
|
13458
13717
|
elementFromPoint(x: number, y: number): Element | null;
|
|
13718
|
+
/** 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
13719
|
elementsFromPoint(x: number, y: number): Element[];
|
|
13460
|
-
/**
|
|
13720
|
+
/**
|
|
13721
|
+
* 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.
|
|
13722
|
+
*
|
|
13723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
|
|
13724
|
+
*/
|
|
13461
13725
|
getAnimations(): Animation[];
|
|
13462
13726
|
}
|
|
13463
13727
|
|
|
@@ -17305,12 +17569,6 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17305
17569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)
|
|
17306
17570
|
*/
|
|
17307
17571
|
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
17572
|
/** @deprecated */
|
|
17315
17573
|
name: string;
|
|
17316
17574
|
/**
|
|
@@ -17341,24 +17599,12 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, Hype
|
|
|
17341
17599
|
rev: string;
|
|
17342
17600
|
/** @deprecated */
|
|
17343
17601
|
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
17602
|
/**
|
|
17351
17603
|
* The **`text`** property of the HTMLAnchorElement represents the text inside the element. This property represents the same information as Node.textContent.
|
|
17352
17604
|
*
|
|
17353
17605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)
|
|
17354
17606
|
*/
|
|
17355
17607
|
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
17608
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17363
17609
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17364
17610
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17426,12 +17672,6 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, Hyperl
|
|
|
17426
17672
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)
|
|
17427
17673
|
*/
|
|
17428
17674
|
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
17675
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17436
17676
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17437
17677
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -17704,6 +17944,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
17704
17944
|
getContext(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
17705
17945
|
getContext(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
17706
17946
|
getContext(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
17947
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
17707
17948
|
getContext(contextId: string, options?: any): RenderingContext | null;
|
|
17708
17949
|
/**
|
|
17709
17950
|
* 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 +18867,18 @@ declare var HTMLHtmlElement: {
|
|
|
18626
18867
|
|
|
18627
18868
|
interface HTMLHyperlinkElementUtils {
|
|
18628
18869
|
/**
|
|
18629
|
-
*
|
|
18630
|
-
*
|
|
18631
|
-
* Can be set, to change the URL.
|
|
18870
|
+
* 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
18871
|
*
|
|
18633
18872
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)
|
|
18634
18873
|
*/
|
|
18635
18874
|
href: string;
|
|
18636
18875
|
toString(): string;
|
|
18876
|
+
/**
|
|
18877
|
+
* The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.
|
|
18878
|
+
*
|
|
18879
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)
|
|
18880
|
+
*/
|
|
18881
|
+
target: string;
|
|
18637
18882
|
}
|
|
18638
18883
|
|
|
18639
18884
|
/**
|
|
@@ -22172,79 +22417,73 @@ declare var History: {
|
|
|
22172
22417
|
|
|
22173
22418
|
interface HyperlinkElementUtils {
|
|
22174
22419
|
/**
|
|
22175
|
-
*
|
|
22176
|
-
*
|
|
22177
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
22420
|
+
* 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
22421
|
*
|
|
22179
22422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
22180
22423
|
*/
|
|
22181
22424
|
hash: string;
|
|
22182
22425
|
/**
|
|
22183
|
-
*
|
|
22184
|
-
*
|
|
22185
|
-
* Can be set, to change the URL's host and port.
|
|
22426
|
+
* 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
22427
|
*
|
|
22187
22428
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
22188
22429
|
*/
|
|
22189
22430
|
host: string;
|
|
22190
22431
|
/**
|
|
22191
|
-
*
|
|
22192
|
-
*
|
|
22193
|
-
* Can be set, to change the URL's host.
|
|
22432
|
+
* 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
22433
|
*
|
|
22195
22434
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
22196
22435
|
*/
|
|
22197
22436
|
hostname: string;
|
|
22198
22437
|
/**
|
|
22199
|
-
*
|
|
22438
|
+
* The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.
|
|
22439
|
+
*
|
|
22440
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)
|
|
22441
|
+
*/
|
|
22442
|
+
hreflang: string;
|
|
22443
|
+
/**
|
|
22444
|
+
* 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
22445
|
*
|
|
22201
22446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22202
22447
|
*/
|
|
22203
22448
|
readonly origin: string;
|
|
22204
22449
|
/**
|
|
22205
|
-
*
|
|
22206
|
-
*
|
|
22207
|
-
* Can be set, to change the URL's password.
|
|
22450
|
+
* 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
22451
|
*
|
|
22209
22452
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22210
22453
|
*/
|
|
22211
22454
|
password: string;
|
|
22212
22455
|
/**
|
|
22213
|
-
*
|
|
22214
|
-
*
|
|
22215
|
-
* Can be set, to change the URL's path.
|
|
22456
|
+
* 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
22457
|
*
|
|
22217
22458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22218
22459
|
*/
|
|
22219
22460
|
pathname: string;
|
|
22220
22461
|
/**
|
|
22221
|
-
*
|
|
22222
|
-
*
|
|
22223
|
-
* Can be set, to change the URL's port.
|
|
22462
|
+
* 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
22463
|
*
|
|
22225
22464
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22226
22465
|
*/
|
|
22227
22466
|
port: string;
|
|
22228
22467
|
/**
|
|
22229
|
-
*
|
|
22230
|
-
*
|
|
22231
|
-
* Can be set, to change the URL's scheme.
|
|
22468
|
+
* 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
22469
|
*
|
|
22233
22470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22234
22471
|
*/
|
|
22235
22472
|
protocol: string;
|
|
22236
22473
|
/**
|
|
22237
|
-
*
|
|
22238
|
-
*
|
|
22239
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
22474
|
+
* 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
22475
|
*
|
|
22241
22476
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22242
22477
|
*/
|
|
22243
22478
|
search: string;
|
|
22244
22479
|
/**
|
|
22245
|
-
*
|
|
22480
|
+
* The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.
|
|
22246
22481
|
*
|
|
22247
|
-
*
|
|
22482
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)
|
|
22483
|
+
*/
|
|
22484
|
+
type: string;
|
|
22485
|
+
/**
|
|
22486
|
+
* 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
22487
|
*
|
|
22249
22488
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22250
22489
|
*/
|
|
@@ -26679,7 +26918,7 @@ interface NonDocumentTypeChildNode {
|
|
|
26679
26918
|
|
|
26680
26919
|
interface NonElementParentNode {
|
|
26681
26920
|
/**
|
|
26682
|
-
*
|
|
26921
|
+
* 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
26922
|
*
|
|
26684
26923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
|
|
26685
26924
|
*/
|
|
@@ -27070,6 +27309,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
27070
27309
|
getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;
|
|
27071
27310
|
getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;
|
|
27072
27311
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
27312
|
+
getContext(contextId: "webgpu"): GPUCanvasContext | null;
|
|
27073
27313
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
27074
27314
|
/**
|
|
27075
27315
|
* 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 +27597,50 @@ declare var PannerNode: {
|
|
|
27357
27597
|
};
|
|
27358
27598
|
|
|
27359
27599
|
interface ParentNode extends Node {
|
|
27360
|
-
/**
|
|
27600
|
+
/**
|
|
27601
|
+
* The **`Document.childElementCount`** read-only property returns the number of child elements of the document.
|
|
27602
|
+
*
|
|
27603
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount)
|
|
27604
|
+
*/
|
|
27361
27605
|
readonly childElementCount: number;
|
|
27362
27606
|
/**
|
|
27363
|
-
*
|
|
27607
|
+
* 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
27608
|
*
|
|
27365
27609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)
|
|
27366
27610
|
*/
|
|
27367
27611
|
readonly children: HTMLCollection;
|
|
27368
27612
|
/**
|
|
27369
|
-
*
|
|
27613
|
+
* The **`Document.firstElementChild`** read-only property returns the document's first child Element, or null if there are no child elements.
|
|
27370
27614
|
*
|
|
27371
27615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)
|
|
27372
27616
|
*/
|
|
27373
27617
|
readonly firstElementChild: Element | null;
|
|
27374
27618
|
/**
|
|
27375
|
-
*
|
|
27619
|
+
* The **`Document.lastElementChild`** read-only property returns the document's last child Element, or null if there are no child elements.
|
|
27376
27620
|
*
|
|
27377
27621
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)
|
|
27378
27622
|
*/
|
|
27379
27623
|
readonly lastElementChild: Element | null;
|
|
27380
27624
|
/**
|
|
27381
|
-
*
|
|
27382
|
-
*
|
|
27383
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27625
|
+
* 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
27626
|
*
|
|
27385
27627
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
|
|
27386
27628
|
*/
|
|
27387
27629
|
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
27630
|
/**
|
|
27391
|
-
*
|
|
27631
|
+
* 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
27632
|
*
|
|
27393
|
-
*
|
|
27633
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore)
|
|
27634
|
+
*/
|
|
27635
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
27636
|
+
/**
|
|
27637
|
+
* 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
27638
|
*
|
|
27395
27639
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)
|
|
27396
27640
|
*/
|
|
27397
27641
|
prepend(...nodes: (Node | string)[]): void;
|
|
27398
27642
|
/**
|
|
27399
|
-
*
|
|
27643
|
+
* 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
27644
|
*
|
|
27401
27645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
|
|
27402
27646
|
*/
|
|
@@ -27407,7 +27651,7 @@ interface ParentNode extends Node {
|
|
|
27407
27651
|
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
27408
27652
|
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
27409
27653
|
/**
|
|
27410
|
-
*
|
|
27654
|
+
* 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
27655
|
*
|
|
27412
27656
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)
|
|
27413
27657
|
*/
|
|
@@ -27418,9 +27662,7 @@ interface ParentNode extends Node {
|
|
|
27418
27662
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
27419
27663
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
27420
27664
|
/**
|
|
27421
|
-
*
|
|
27422
|
-
*
|
|
27423
|
-
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
27665
|
+
* The **`Document.replaceChildren()`** method replaces the existing children of a Document with a specified new set of children.
|
|
27424
27666
|
*
|
|
27425
27667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)
|
|
27426
27668
|
*/
|
|
@@ -28886,9 +29128,17 @@ declare var PopStateEvent: {
|
|
|
28886
29128
|
};
|
|
28887
29129
|
|
|
28888
29130
|
interface PopoverTargetAttributes {
|
|
28889
|
-
/**
|
|
29131
|
+
/**
|
|
29132
|
+
* 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.
|
|
29133
|
+
*
|
|
29134
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction)
|
|
29135
|
+
*/
|
|
28890
29136
|
popoverTargetAction: string;
|
|
28891
|
-
/**
|
|
29137
|
+
/**
|
|
29138
|
+
* The **`popoverTargetElement`** property of the HTMLButtonElement interface gets and sets the popover element to control via a button.
|
|
29139
|
+
*
|
|
29140
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement)
|
|
29141
|
+
*/
|
|
28892
29142
|
popoverTargetElement: Element | null;
|
|
28893
29143
|
}
|
|
28894
29144
|
|
|
@@ -43034,6 +43284,47 @@ declare namespace CSS {
|
|
|
43034
43284
|
function vw(value: number): CSSUnitValue;
|
|
43035
43285
|
}
|
|
43036
43286
|
|
|
43287
|
+
declare namespace GPUBufferUsage {
|
|
43288
|
+
const MAP_READ: 0x0001;
|
|
43289
|
+
const MAP_WRITE: 0x0002;
|
|
43290
|
+
const COPY_SRC: 0x0004;
|
|
43291
|
+
const COPY_DST: 0x0008;
|
|
43292
|
+
const INDEX: 0x0010;
|
|
43293
|
+
const VERTEX: 0x0020;
|
|
43294
|
+
const UNIFORM: 0x0040;
|
|
43295
|
+
const STORAGE: 0x0080;
|
|
43296
|
+
const INDIRECT: 0x0100;
|
|
43297
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43298
|
+
}
|
|
43299
|
+
|
|
43300
|
+
declare namespace GPUColorWrite {
|
|
43301
|
+
const RED: 0x1;
|
|
43302
|
+
const GREEN: 0x2;
|
|
43303
|
+
const BLUE: 0x4;
|
|
43304
|
+
const ALPHA: 0x8;
|
|
43305
|
+
const ALL: 0xF;
|
|
43306
|
+
}
|
|
43307
|
+
|
|
43308
|
+
declare namespace GPUMapMode {
|
|
43309
|
+
const READ: 0x0001;
|
|
43310
|
+
const WRITE: 0x0002;
|
|
43311
|
+
}
|
|
43312
|
+
|
|
43313
|
+
declare namespace GPUShaderStage {
|
|
43314
|
+
const VERTEX: 0x1;
|
|
43315
|
+
const FRAGMENT: 0x2;
|
|
43316
|
+
const COMPUTE: 0x4;
|
|
43317
|
+
}
|
|
43318
|
+
|
|
43319
|
+
declare namespace GPUTextureUsage {
|
|
43320
|
+
const COPY_SRC: 0x01;
|
|
43321
|
+
const COPY_DST: 0x02;
|
|
43322
|
+
const TEXTURE_BINDING: 0x04;
|
|
43323
|
+
const STORAGE_BINDING: 0x08;
|
|
43324
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43325
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43326
|
+
}
|
|
43327
|
+
|
|
43037
43328
|
declare namespace WebAssembly {
|
|
43038
43329
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43039
43330
|
interface CompileError extends Error {
|
|
@@ -44844,6 +45135,7 @@ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
|
44844
45135
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44845
45136
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44846
45137
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
45138
|
+
type DigitalCredentialPresentationProtocol = "org-iso-mdoc";
|
|
44847
45139
|
type DirectionSetting = "" | "lr" | "rl";
|
|
44848
45140
|
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
44849
45141
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
@@ -44860,6 +45152,7 @@ type FlowControlType = "hardware" | "none";
|
|
|
44860
45152
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44861
45153
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44862
45154
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
45155
|
+
type FullscreenKeyboardLock = "browser" | "none";
|
|
44863
45156
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
44864
45157
|
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
44865
45158
|
type GPUAutoLayoutMode = "auto";
|