@types/web 0.0.243 → 0.0.245
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 +324 -63
- package/package.json +1 -1
- package/ts5.5/index.d.ts +323 -63
- package/ts5.6/index.d.ts +324 -63
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.245 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.245.
|
package/index.d.ts
CHANGED
|
@@ -3157,6 +3157,7 @@ interface AnimationTimeline {
|
|
|
3157
3157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
|
|
3158
3158
|
*/
|
|
3159
3159
|
readonly currentTime: CSSNumberish | null;
|
|
3160
|
+
readonly duration: CSSNumberish | null;
|
|
3160
3161
|
}
|
|
3161
3162
|
|
|
3162
3163
|
declare var AnimationTimeline: {
|
|
@@ -4787,7 +4788,7 @@ interface CSSFontFaceRule extends CSSRule {
|
|
|
4787
4788
|
*
|
|
4788
4789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
|
|
4789
4790
|
*/
|
|
4790
|
-
get style():
|
|
4791
|
+
get style(): CSSStyleProperties;
|
|
4791
4792
|
set style(cssText: string);
|
|
4792
4793
|
}
|
|
4793
4794
|
|
|
@@ -4957,7 +4958,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4957
4958
|
*
|
|
4958
4959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
4959
4960
|
*/
|
|
4960
|
-
get style():
|
|
4961
|
+
get style(): CSSStyleProperties;
|
|
4961
4962
|
set style(cssText: string);
|
|
4962
4963
|
}
|
|
4963
4964
|
|
|
@@ -5292,7 +5293,7 @@ interface CSSNestedDeclarations extends CSSRule {
|
|
|
5292
5293
|
*
|
|
5293
5294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
|
|
5294
5295
|
*/
|
|
5295
|
-
get style():
|
|
5296
|
+
get style(): CSSStyleProperties;
|
|
5296
5297
|
set style(cssText: string);
|
|
5297
5298
|
}
|
|
5298
5299
|
|
|
@@ -5401,6 +5402,39 @@ declare var CSSNumericValue: {
|
|
|
5401
5402
|
parse(cssText: string): CSSNumericValue;
|
|
5402
5403
|
};
|
|
5403
5404
|
|
|
5405
|
+
/**
|
|
5406
|
+
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
|
|
5407
|
+
*
|
|
5408
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
|
|
5409
|
+
*/
|
|
5410
|
+
interface CSSPageDescriptors extends CSSStyleDeclaration {
|
|
5411
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
|
|
5412
|
+
margin: string;
|
|
5413
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
|
|
5414
|
+
"margin-bottom": string;
|
|
5415
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
|
|
5416
|
+
"margin-left": string;
|
|
5417
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
|
|
5418
|
+
"margin-right": string;
|
|
5419
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
|
|
5420
|
+
"margin-top": string;
|
|
5421
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
|
|
5422
|
+
marginBottom: string;
|
|
5423
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
|
|
5424
|
+
marginLeft: string;
|
|
5425
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
|
|
5426
|
+
marginRight: string;
|
|
5427
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
|
|
5428
|
+
marginTop: string;
|
|
5429
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
|
|
5430
|
+
size: string;
|
|
5431
|
+
}
|
|
5432
|
+
|
|
5433
|
+
declare var CSSPageDescriptors: {
|
|
5434
|
+
prototype: CSSPageDescriptors;
|
|
5435
|
+
new(): CSSPageDescriptors;
|
|
5436
|
+
};
|
|
5437
|
+
|
|
5404
5438
|
/**
|
|
5405
5439
|
* **`CSSPageRule`** represents a single CSS @page rule.
|
|
5406
5440
|
*
|
|
@@ -5418,7 +5452,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5418
5452
|
*
|
|
5419
5453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5420
5454
|
*/
|
|
5421
|
-
get style():
|
|
5455
|
+
get style(): CSSPageDescriptors;
|
|
5422
5456
|
set style(cssText: string);
|
|
5423
5457
|
}
|
|
5424
5458
|
|
|
@@ -5446,6 +5480,185 @@ declare var CSSPerspective: {
|
|
|
5446
5480
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
5447
5481
|
};
|
|
5448
5482
|
|
|
5483
|
+
/**
|
|
5484
|
+
* The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try at-rule.
|
|
5485
|
+
*
|
|
5486
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
|
|
5487
|
+
*/
|
|
5488
|
+
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
|
|
5489
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5490
|
+
"align-self": string;
|
|
5491
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5492
|
+
alignSelf: string;
|
|
5493
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5494
|
+
"block-size": string;
|
|
5495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5496
|
+
blockSize: string;
|
|
5497
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5498
|
+
bottom: string;
|
|
5499
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5500
|
+
height: string;
|
|
5501
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5502
|
+
"inline-size": string;
|
|
5503
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5504
|
+
inlineSize: string;
|
|
5505
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5506
|
+
inset: string;
|
|
5507
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5508
|
+
"inset-block": string;
|
|
5509
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5510
|
+
"inset-block-end": string;
|
|
5511
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5512
|
+
"inset-block-start": string;
|
|
5513
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5514
|
+
"inset-inline": string;
|
|
5515
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5516
|
+
"inset-inline-end": string;
|
|
5517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5518
|
+
"inset-inline-start": string;
|
|
5519
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5520
|
+
insetBlock: string;
|
|
5521
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5522
|
+
insetBlockEnd: string;
|
|
5523
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5524
|
+
insetBlockStart: string;
|
|
5525
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5526
|
+
insetInline: string;
|
|
5527
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5528
|
+
insetInlineEnd: string;
|
|
5529
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5530
|
+
insetInlineStart: string;
|
|
5531
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5532
|
+
"justify-self": string;
|
|
5533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5534
|
+
justifySelf: string;
|
|
5535
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5536
|
+
left: string;
|
|
5537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5538
|
+
margin: string;
|
|
5539
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5540
|
+
"margin-block": string;
|
|
5541
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5542
|
+
"margin-block-end": string;
|
|
5543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5544
|
+
"margin-block-start": string;
|
|
5545
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5546
|
+
"margin-bottom": string;
|
|
5547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5548
|
+
"margin-inline": string;
|
|
5549
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5550
|
+
"margin-inline-end": string;
|
|
5551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5552
|
+
"margin-inline-start": string;
|
|
5553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5554
|
+
"margin-left": string;
|
|
5555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5556
|
+
"margin-right": string;
|
|
5557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5558
|
+
"margin-top": string;
|
|
5559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5560
|
+
marginBlock: string;
|
|
5561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5562
|
+
marginBlockEnd: string;
|
|
5563
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5564
|
+
marginBlockStart: string;
|
|
5565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5566
|
+
marginBottom: string;
|
|
5567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5568
|
+
marginInline: string;
|
|
5569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5570
|
+
marginInlineEnd: string;
|
|
5571
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5572
|
+
marginInlineStart: string;
|
|
5573
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5574
|
+
marginLeft: string;
|
|
5575
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5576
|
+
marginRight: string;
|
|
5577
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5578
|
+
marginTop: string;
|
|
5579
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5580
|
+
"max-block-size": string;
|
|
5581
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5582
|
+
"max-height": string;
|
|
5583
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5584
|
+
"max-inline-size": string;
|
|
5585
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5586
|
+
"max-width": string;
|
|
5587
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5588
|
+
maxBlockSize: string;
|
|
5589
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5590
|
+
maxHeight: string;
|
|
5591
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5592
|
+
maxInlineSize: string;
|
|
5593
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5594
|
+
maxWidth: string;
|
|
5595
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5596
|
+
"min-block-size": string;
|
|
5597
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5598
|
+
"min-height": string;
|
|
5599
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5600
|
+
"min-inline-size": string;
|
|
5601
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5602
|
+
"min-width": string;
|
|
5603
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5604
|
+
minBlockSize: string;
|
|
5605
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5606
|
+
minHeight: string;
|
|
5607
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5608
|
+
minInlineSize: string;
|
|
5609
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5610
|
+
minWidth: string;
|
|
5611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5612
|
+
"place-self": string;
|
|
5613
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5614
|
+
placeSelf: string;
|
|
5615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5616
|
+
"position-anchor": string;
|
|
5617
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5618
|
+
"position-area": string;
|
|
5619
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5620
|
+
positionAnchor: string;
|
|
5621
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5622
|
+
positionArea: string;
|
|
5623
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5624
|
+
right: string;
|
|
5625
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5626
|
+
top: string;
|
|
5627
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5628
|
+
width: string;
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
declare var CSSPositionTryDescriptors: {
|
|
5632
|
+
prototype: CSSPositionTryDescriptors;
|
|
5633
|
+
new(): CSSPositionTryDescriptors;
|
|
5634
|
+
};
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
|
|
5638
|
+
*
|
|
5639
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
|
|
5640
|
+
*/
|
|
5641
|
+
interface CSSPositionTryRule extends CSSRule {
|
|
5642
|
+
/**
|
|
5643
|
+
* The **`name`** read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the `@position-try` at-rule's dashed-ident.
|
|
5644
|
+
*
|
|
5645
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
|
|
5646
|
+
*/
|
|
5647
|
+
readonly name: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* The **`style`** read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the `@position-try` at-rule.
|
|
5650
|
+
*
|
|
5651
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5652
|
+
*/
|
|
5653
|
+
get style(): CSSPositionTryDescriptors;
|
|
5654
|
+
set style(cssText: string);
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
declare var CSSPositionTryRule: {
|
|
5658
|
+
prototype: CSSPositionTryRule;
|
|
5659
|
+
new(): CSSPositionTryRule;
|
|
5660
|
+
};
|
|
5661
|
+
|
|
5449
5662
|
/**
|
|
5450
5663
|
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
|
|
5451
5664
|
*
|
|
@@ -5747,6 +5960,63 @@ declare var CSSStartingStyleRule: {
|
|
|
5747
5960
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5748
5961
|
*/
|
|
5749
5962
|
interface CSSStyleDeclaration {
|
|
5963
|
+
/**
|
|
5964
|
+
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
5965
|
+
*
|
|
5966
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
5967
|
+
*/
|
|
5968
|
+
cssText: string;
|
|
5969
|
+
/**
|
|
5970
|
+
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
5971
|
+
*
|
|
5972
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
5973
|
+
*/
|
|
5974
|
+
readonly length: number;
|
|
5975
|
+
/**
|
|
5976
|
+
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
5977
|
+
*
|
|
5978
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
5979
|
+
*/
|
|
5980
|
+
readonly parentRule: CSSRule | null;
|
|
5981
|
+
/**
|
|
5982
|
+
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
5983
|
+
*
|
|
5984
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
5985
|
+
*/
|
|
5986
|
+
getPropertyPriority(property: string): string;
|
|
5987
|
+
/**
|
|
5988
|
+
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
5989
|
+
*
|
|
5990
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
5991
|
+
*/
|
|
5992
|
+
getPropertyValue(property: string): string;
|
|
5993
|
+
/**
|
|
5994
|
+
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
5995
|
+
*
|
|
5996
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
5997
|
+
*/
|
|
5998
|
+
item(index: number): string;
|
|
5999
|
+
/**
|
|
6000
|
+
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
6001
|
+
*
|
|
6002
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
6003
|
+
*/
|
|
6004
|
+
removeProperty(property: string): string;
|
|
6005
|
+
/**
|
|
6006
|
+
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
6007
|
+
*
|
|
6008
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
6009
|
+
*/
|
|
6010
|
+
setProperty(property: string, value: string | null, priority?: string): void;
|
|
6011
|
+
[index: number]: string;
|
|
6012
|
+
}
|
|
6013
|
+
|
|
6014
|
+
declare var CSSStyleDeclaration: {
|
|
6015
|
+
prototype: CSSStyleDeclaration;
|
|
6016
|
+
new(): CSSStyleDeclaration;
|
|
6017
|
+
};
|
|
6018
|
+
|
|
6019
|
+
interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
5750
6020
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
5751
6021
|
accentColor: string;
|
|
5752
6022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
|
|
@@ -5759,6 +6029,9 @@ interface CSSStyleDeclaration {
|
|
|
5759
6029
|
alignmentBaseline: string;
|
|
5760
6030
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
5761
6031
|
all: string;
|
|
6032
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
|
|
6033
|
+
anchorName: string;
|
|
6034
|
+
anchorScope: string;
|
|
5762
6035
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
|
|
5763
6036
|
animation: string;
|
|
5764
6037
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
|
|
@@ -5777,6 +6050,14 @@ interface CSSStyleDeclaration {
|
|
|
5777
6050
|
animationName: string;
|
|
5778
6051
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
|
|
5779
6052
|
animationPlayState: string;
|
|
6053
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
|
|
6054
|
+
animationRange: string;
|
|
6055
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
|
|
6056
|
+
animationRangeEnd: string;
|
|
6057
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
|
|
6058
|
+
animationRangeStart: string;
|
|
6059
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
|
|
6060
|
+
animationTimeline: string;
|
|
5780
6061
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
|
|
5781
6062
|
animationTimingFunction: string;
|
|
5782
6063
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
|
|
@@ -6025,12 +6306,6 @@ interface CSSStyleDeclaration {
|
|
|
6025
6306
|
counterSet: string;
|
|
6026
6307
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
|
|
6027
6308
|
cssFloat: string;
|
|
6028
|
-
/**
|
|
6029
|
-
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
6030
|
-
*
|
|
6031
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
6032
|
-
*/
|
|
6033
|
-
cssText: string;
|
|
6034
6309
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6035
6310
|
cursor: string;
|
|
6036
6311
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
@@ -6045,6 +6320,7 @@ interface CSSStyleDeclaration {
|
|
|
6045
6320
|
display: string;
|
|
6046
6321
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
6047
6322
|
dominantBaseline: string;
|
|
6323
|
+
dynamicRangeLimit: string;
|
|
6048
6324
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
6049
6325
|
emptyCells: string;
|
|
6050
6326
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
@@ -6207,12 +6483,6 @@ interface CSSStyleDeclaration {
|
|
|
6207
6483
|
justifySelf: string;
|
|
6208
6484
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */
|
|
6209
6485
|
left: string;
|
|
6210
|
-
/**
|
|
6211
|
-
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
6212
|
-
*
|
|
6213
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
6214
|
-
*/
|
|
6215
|
-
readonly length: number;
|
|
6216
6486
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
6217
6487
|
letterSpacing: string;
|
|
6218
6488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
@@ -6403,12 +6673,6 @@ interface CSSStyleDeclaration {
|
|
|
6403
6673
|
pageBreakInside: string;
|
|
6404
6674
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
6405
6675
|
paintOrder: string;
|
|
6406
|
-
/**
|
|
6407
|
-
* The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
|
|
6408
|
-
*
|
|
6409
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
6410
|
-
*/
|
|
6411
|
-
readonly parentRule: CSSRule | null;
|
|
6412
6676
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */
|
|
6413
6677
|
perspective: string;
|
|
6414
6678
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */
|
|
@@ -6423,6 +6687,16 @@ interface CSSStyleDeclaration {
|
|
|
6423
6687
|
pointerEvents: string;
|
|
6424
6688
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
6425
6689
|
position: string;
|
|
6690
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
|
|
6691
|
+
positionAnchor: string;
|
|
6692
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
6693
|
+
positionArea: string;
|
|
6694
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
|
|
6695
|
+
positionTry: string;
|
|
6696
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
|
|
6697
|
+
positionTryFallbacks: string;
|
|
6698
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
|
|
6699
|
+
positionTryOrder: string;
|
|
6426
6700
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
6427
6701
|
printColorAdjust: string;
|
|
6428
6702
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -6499,6 +6773,12 @@ interface CSSStyleDeclaration {
|
|
|
6499
6773
|
scrollSnapStop: string;
|
|
6500
6774
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
6501
6775
|
scrollSnapType: string;
|
|
6776
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
|
|
6777
|
+
scrollTimeline: string;
|
|
6778
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
|
|
6779
|
+
scrollTimelineAxis: string;
|
|
6780
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
|
|
6781
|
+
scrollTimelineName: string;
|
|
6502
6782
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
6503
6783
|
scrollbarColor: string;
|
|
6504
6784
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
@@ -6593,6 +6873,8 @@ interface CSSStyleDeclaration {
|
|
|
6593
6873
|
textWrapMode: string;
|
|
6594
6874
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
6595
6875
|
textWrapStyle: string;
|
|
6876
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
|
|
6877
|
+
timelineScope: string;
|
|
6596
6878
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
6597
6879
|
top: string;
|
|
6598
6880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -6627,6 +6909,14 @@ interface CSSStyleDeclaration {
|
|
|
6627
6909
|
vectorEffect: string;
|
|
6628
6910
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
6629
6911
|
verticalAlign: string;
|
|
6912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
|
|
6913
|
+
viewTimeline: string;
|
|
6914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
|
|
6915
|
+
viewTimelineAxis: string;
|
|
6916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
|
|
6917
|
+
viewTimelineInset: string;
|
|
6918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
|
|
6919
|
+
viewTimelineName: string;
|
|
6630
6920
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
|
|
6631
6921
|
viewTransitionClass: string;
|
|
6632
6922
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
|
|
@@ -7063,42 +7353,11 @@ interface CSSStyleDeclaration {
|
|
|
7063
7353
|
zIndex: string;
|
|
7064
7354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */
|
|
7065
7355
|
zoom: string;
|
|
7066
|
-
/**
|
|
7067
|
-
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
7068
|
-
*
|
|
7069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
7070
|
-
*/
|
|
7071
|
-
getPropertyPriority(property: string): string;
|
|
7072
|
-
/**
|
|
7073
|
-
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
7074
|
-
*
|
|
7075
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
7076
|
-
*/
|
|
7077
|
-
getPropertyValue(property: string): string;
|
|
7078
|
-
/**
|
|
7079
|
-
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
7080
|
-
*
|
|
7081
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
7082
|
-
*/
|
|
7083
|
-
item(index: number): string;
|
|
7084
|
-
/**
|
|
7085
|
-
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
7086
|
-
*
|
|
7087
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
7088
|
-
*/
|
|
7089
|
-
removeProperty(property: string): string;
|
|
7090
|
-
/**
|
|
7091
|
-
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
7092
|
-
*
|
|
7093
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
7094
|
-
*/
|
|
7095
|
-
setProperty(property: string, value: string | null, priority?: string): void;
|
|
7096
|
-
[index: number]: string;
|
|
7097
7356
|
}
|
|
7098
7357
|
|
|
7099
|
-
declare var
|
|
7100
|
-
prototype:
|
|
7101
|
-
new():
|
|
7358
|
+
declare var CSSStyleProperties: {
|
|
7359
|
+
prototype: CSSStyleProperties;
|
|
7360
|
+
new(): CSSStyleProperties;
|
|
7102
7361
|
};
|
|
7103
7362
|
|
|
7104
7363
|
/**
|
|
@@ -7118,7 +7377,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7118
7377
|
*
|
|
7119
7378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7120
7379
|
*/
|
|
7121
|
-
get style():
|
|
7380
|
+
get style(): CSSStyleProperties;
|
|
7122
7381
|
set style(cssText: string);
|
|
7123
7382
|
/**
|
|
7124
7383
|
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
@@ -10370,6 +10629,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10370
10629
|
write(...text: string[]): void;
|
|
10371
10630
|
/**
|
|
10372
10631
|
* The **`writeln()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open(), followed by a newline character.
|
|
10632
|
+
* @deprecated
|
|
10373
10633
|
*
|
|
10374
10634
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10375
10635
|
*/
|
|
@@ -18678,6 +18938,12 @@ interface ImageCapture {
|
|
|
18678
18938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
|
|
18679
18939
|
*/
|
|
18680
18940
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18941
|
+
/**
|
|
18942
|
+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18943
|
+
*
|
|
18944
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18945
|
+
*/
|
|
18946
|
+
grabFrame(): Promise<ImageBitmap>;
|
|
18681
18947
|
/**
|
|
18682
18948
|
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18683
18949
|
*
|
|
@@ -18952,6 +19218,7 @@ interface IntersectionObserver {
|
|
|
18952
19218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
18953
19219
|
*/
|
|
18954
19220
|
readonly rootMargin: string;
|
|
19221
|
+
readonly scrollMargin: string;
|
|
18955
19222
|
/**
|
|
18956
19223
|
* The IntersectionObserver interface's read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.
|
|
18957
19224
|
*
|
|
@@ -22016,12 +22283,6 @@ interface NotificationEventMap {
|
|
|
22016
22283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
22017
22284
|
*/
|
|
22018
22285
|
interface Notification extends EventTarget {
|
|
22019
|
-
/**
|
|
22020
|
-
* The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.
|
|
22021
|
-
*
|
|
22022
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
22023
|
-
*/
|
|
22024
|
-
readonly badge: string;
|
|
22025
22286
|
/**
|
|
22026
22287
|
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
|
22027
22288
|
*
|