@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/ts5.5/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
|
-
readonly style:
|
|
4791
|
+
readonly style: CSSStyleProperties;
|
|
4791
4792
|
}
|
|
4792
4793
|
|
|
4793
4794
|
declare var CSSFontFaceRule: {
|
|
@@ -4955,7 +4956,7 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
4955
4956
|
*
|
|
4956
4957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
|
|
4957
4958
|
*/
|
|
4958
|
-
readonly style:
|
|
4959
|
+
readonly style: CSSStyleProperties;
|
|
4959
4960
|
}
|
|
4960
4961
|
|
|
4961
4962
|
declare var CSSKeyframeRule: {
|
|
@@ -5288,7 +5289,7 @@ interface CSSNestedDeclarations extends CSSRule {
|
|
|
5288
5289
|
*
|
|
5289
5290
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
|
|
5290
5291
|
*/
|
|
5291
|
-
readonly style:
|
|
5292
|
+
readonly style: CSSStyleProperties;
|
|
5292
5293
|
}
|
|
5293
5294
|
|
|
5294
5295
|
declare var CSSNestedDeclarations: {
|
|
@@ -5396,6 +5397,39 @@ declare var CSSNumericValue: {
|
|
|
5396
5397
|
parse(cssText: string): CSSNumericValue;
|
|
5397
5398
|
};
|
|
5398
5399
|
|
|
5400
|
+
/**
|
|
5401
|
+
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
|
|
5402
|
+
*
|
|
5403
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
|
|
5404
|
+
*/
|
|
5405
|
+
interface CSSPageDescriptors extends CSSStyleDeclaration {
|
|
5406
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
|
|
5407
|
+
margin: string;
|
|
5408
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
|
|
5409
|
+
"margin-bottom": string;
|
|
5410
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
|
|
5411
|
+
"margin-left": string;
|
|
5412
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
|
|
5413
|
+
"margin-right": string;
|
|
5414
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
|
|
5415
|
+
"margin-top": string;
|
|
5416
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
|
|
5417
|
+
marginBottom: string;
|
|
5418
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
|
|
5419
|
+
marginLeft: string;
|
|
5420
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
|
|
5421
|
+
marginRight: string;
|
|
5422
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
|
|
5423
|
+
marginTop: string;
|
|
5424
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
|
|
5425
|
+
size: string;
|
|
5426
|
+
}
|
|
5427
|
+
|
|
5428
|
+
declare var CSSPageDescriptors: {
|
|
5429
|
+
prototype: CSSPageDescriptors;
|
|
5430
|
+
new(): CSSPageDescriptors;
|
|
5431
|
+
};
|
|
5432
|
+
|
|
5399
5433
|
/**
|
|
5400
5434
|
* **`CSSPageRule`** represents a single CSS @page rule.
|
|
5401
5435
|
*
|
|
@@ -5413,7 +5447,7 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
5413
5447
|
*
|
|
5414
5448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
|
|
5415
5449
|
*/
|
|
5416
|
-
readonly style:
|
|
5450
|
+
readonly style: CSSPageDescriptors;
|
|
5417
5451
|
}
|
|
5418
5452
|
|
|
5419
5453
|
declare var CSSPageRule: {
|
|
@@ -5440,6 +5474,184 @@ declare var CSSPerspective: {
|
|
|
5440
5474
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
5441
5475
|
};
|
|
5442
5476
|
|
|
5477
|
+
/**
|
|
5478
|
+
* 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.
|
|
5479
|
+
*
|
|
5480
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
|
|
5481
|
+
*/
|
|
5482
|
+
interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
|
|
5483
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5484
|
+
"align-self": string;
|
|
5485
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5486
|
+
alignSelf: string;
|
|
5487
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5488
|
+
"block-size": string;
|
|
5489
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5490
|
+
blockSize: string;
|
|
5491
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5492
|
+
bottom: string;
|
|
5493
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5494
|
+
height: string;
|
|
5495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5496
|
+
"inline-size": string;
|
|
5497
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5498
|
+
inlineSize: string;
|
|
5499
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5500
|
+
inset: string;
|
|
5501
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5502
|
+
"inset-block": string;
|
|
5503
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5504
|
+
"inset-block-end": string;
|
|
5505
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5506
|
+
"inset-block-start": string;
|
|
5507
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5508
|
+
"inset-inline": string;
|
|
5509
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5510
|
+
"inset-inline-end": string;
|
|
5511
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5512
|
+
"inset-inline-start": string;
|
|
5513
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5514
|
+
insetBlock: string;
|
|
5515
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5516
|
+
insetBlockEnd: string;
|
|
5517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5518
|
+
insetBlockStart: string;
|
|
5519
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5520
|
+
insetInline: string;
|
|
5521
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5522
|
+
insetInlineEnd: string;
|
|
5523
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5524
|
+
insetInlineStart: string;
|
|
5525
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5526
|
+
"justify-self": string;
|
|
5527
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5528
|
+
justifySelf: string;
|
|
5529
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5530
|
+
left: string;
|
|
5531
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5532
|
+
margin: string;
|
|
5533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5534
|
+
"margin-block": string;
|
|
5535
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5536
|
+
"margin-block-end": string;
|
|
5537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5538
|
+
"margin-block-start": string;
|
|
5539
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5540
|
+
"margin-bottom": string;
|
|
5541
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5542
|
+
"margin-inline": string;
|
|
5543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5544
|
+
"margin-inline-end": string;
|
|
5545
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5546
|
+
"margin-inline-start": string;
|
|
5547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5548
|
+
"margin-left": string;
|
|
5549
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5550
|
+
"margin-right": string;
|
|
5551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5552
|
+
"margin-top": string;
|
|
5553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5554
|
+
marginBlock: string;
|
|
5555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5556
|
+
marginBlockEnd: string;
|
|
5557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5558
|
+
marginBlockStart: string;
|
|
5559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5560
|
+
marginBottom: string;
|
|
5561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5562
|
+
marginInline: string;
|
|
5563
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5564
|
+
marginInlineEnd: string;
|
|
5565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5566
|
+
marginInlineStart: string;
|
|
5567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5568
|
+
marginLeft: string;
|
|
5569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5570
|
+
marginRight: string;
|
|
5571
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5572
|
+
marginTop: string;
|
|
5573
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5574
|
+
"max-block-size": string;
|
|
5575
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5576
|
+
"max-height": string;
|
|
5577
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5578
|
+
"max-inline-size": string;
|
|
5579
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5580
|
+
"max-width": string;
|
|
5581
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5582
|
+
maxBlockSize: string;
|
|
5583
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5584
|
+
maxHeight: string;
|
|
5585
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5586
|
+
maxInlineSize: string;
|
|
5587
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5588
|
+
maxWidth: string;
|
|
5589
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5590
|
+
"min-block-size": string;
|
|
5591
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5592
|
+
"min-height": string;
|
|
5593
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5594
|
+
"min-inline-size": string;
|
|
5595
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5596
|
+
"min-width": string;
|
|
5597
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5598
|
+
minBlockSize: string;
|
|
5599
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5600
|
+
minHeight: string;
|
|
5601
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5602
|
+
minInlineSize: string;
|
|
5603
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5604
|
+
minWidth: string;
|
|
5605
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5606
|
+
"place-self": string;
|
|
5607
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5608
|
+
placeSelf: string;
|
|
5609
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5610
|
+
"position-anchor": string;
|
|
5611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5612
|
+
"position-area": string;
|
|
5613
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5614
|
+
positionAnchor: string;
|
|
5615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5616
|
+
positionArea: string;
|
|
5617
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5618
|
+
right: string;
|
|
5619
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5620
|
+
top: string;
|
|
5621
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
|
|
5622
|
+
width: string;
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5625
|
+
declare var CSSPositionTryDescriptors: {
|
|
5626
|
+
prototype: CSSPositionTryDescriptors;
|
|
5627
|
+
new(): CSSPositionTryDescriptors;
|
|
5628
|
+
};
|
|
5629
|
+
|
|
5630
|
+
/**
|
|
5631
|
+
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
|
|
5632
|
+
*
|
|
5633
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
|
|
5634
|
+
*/
|
|
5635
|
+
interface CSSPositionTryRule extends CSSRule {
|
|
5636
|
+
/**
|
|
5637
|
+
* 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.
|
|
5638
|
+
*
|
|
5639
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
|
|
5640
|
+
*/
|
|
5641
|
+
readonly name: string;
|
|
5642
|
+
/**
|
|
5643
|
+
* 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.
|
|
5644
|
+
*
|
|
5645
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
|
|
5646
|
+
*/
|
|
5647
|
+
readonly style: CSSPositionTryDescriptors;
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
declare var CSSPositionTryRule: {
|
|
5651
|
+
prototype: CSSPositionTryRule;
|
|
5652
|
+
new(): CSSPositionTryRule;
|
|
5653
|
+
};
|
|
5654
|
+
|
|
5443
5655
|
/**
|
|
5444
5656
|
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
|
|
5445
5657
|
*
|
|
@@ -5741,6 +5953,63 @@ declare var CSSStartingStyleRule: {
|
|
|
5741
5953
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
|
|
5742
5954
|
*/
|
|
5743
5955
|
interface CSSStyleDeclaration {
|
|
5956
|
+
/**
|
|
5957
|
+
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
5958
|
+
*
|
|
5959
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
5960
|
+
*/
|
|
5961
|
+
cssText: string;
|
|
5962
|
+
/**
|
|
5963
|
+
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
5964
|
+
*
|
|
5965
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
5966
|
+
*/
|
|
5967
|
+
readonly length: number;
|
|
5968
|
+
/**
|
|
5969
|
+
* 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.
|
|
5970
|
+
*
|
|
5971
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
5972
|
+
*/
|
|
5973
|
+
readonly parentRule: CSSRule | null;
|
|
5974
|
+
/**
|
|
5975
|
+
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
5976
|
+
*
|
|
5977
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
5978
|
+
*/
|
|
5979
|
+
getPropertyPriority(property: string): string;
|
|
5980
|
+
/**
|
|
5981
|
+
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
5982
|
+
*
|
|
5983
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
5984
|
+
*/
|
|
5985
|
+
getPropertyValue(property: string): string;
|
|
5986
|
+
/**
|
|
5987
|
+
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
5988
|
+
*
|
|
5989
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
5990
|
+
*/
|
|
5991
|
+
item(index: number): string;
|
|
5992
|
+
/**
|
|
5993
|
+
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
5994
|
+
*
|
|
5995
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
5996
|
+
*/
|
|
5997
|
+
removeProperty(property: string): string;
|
|
5998
|
+
/**
|
|
5999
|
+
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
6000
|
+
*
|
|
6001
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
6002
|
+
*/
|
|
6003
|
+
setProperty(property: string, value: string | null, priority?: string): void;
|
|
6004
|
+
[index: number]: string;
|
|
6005
|
+
}
|
|
6006
|
+
|
|
6007
|
+
declare var CSSStyleDeclaration: {
|
|
6008
|
+
prototype: CSSStyleDeclaration;
|
|
6009
|
+
new(): CSSStyleDeclaration;
|
|
6010
|
+
};
|
|
6011
|
+
|
|
6012
|
+
interface CSSStyleProperties extends CSSStyleDeclaration {
|
|
5744
6013
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
|
|
5745
6014
|
accentColor: string;
|
|
5746
6015
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
|
|
@@ -5753,6 +6022,9 @@ interface CSSStyleDeclaration {
|
|
|
5753
6022
|
alignmentBaseline: string;
|
|
5754
6023
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
|
|
5755
6024
|
all: string;
|
|
6025
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
|
|
6026
|
+
anchorName: string;
|
|
6027
|
+
anchorScope: string;
|
|
5756
6028
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
|
|
5757
6029
|
animation: string;
|
|
5758
6030
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
|
|
@@ -5771,6 +6043,14 @@ interface CSSStyleDeclaration {
|
|
|
5771
6043
|
animationName: string;
|
|
5772
6044
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
|
|
5773
6045
|
animationPlayState: string;
|
|
6046
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
|
|
6047
|
+
animationRange: string;
|
|
6048
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
|
|
6049
|
+
animationRangeEnd: string;
|
|
6050
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
|
|
6051
|
+
animationRangeStart: string;
|
|
6052
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
|
|
6053
|
+
animationTimeline: string;
|
|
5774
6054
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
|
|
5775
6055
|
animationTimingFunction: string;
|
|
5776
6056
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
|
|
@@ -6019,12 +6299,6 @@ interface CSSStyleDeclaration {
|
|
|
6019
6299
|
counterSet: string;
|
|
6020
6300
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */
|
|
6021
6301
|
cssFloat: string;
|
|
6022
|
-
/**
|
|
6023
|
-
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
|
|
6024
|
-
*
|
|
6025
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
|
|
6026
|
-
*/
|
|
6027
|
-
cssText: string;
|
|
6028
6302
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
6029
6303
|
cursor: string;
|
|
6030
6304
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
@@ -6039,6 +6313,7 @@ interface CSSStyleDeclaration {
|
|
|
6039
6313
|
display: string;
|
|
6040
6314
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
6041
6315
|
dominantBaseline: string;
|
|
6316
|
+
dynamicRangeLimit: string;
|
|
6042
6317
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
6043
6318
|
emptyCells: string;
|
|
6044
6319
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
@@ -6201,12 +6476,6 @@ interface CSSStyleDeclaration {
|
|
|
6201
6476
|
justifySelf: string;
|
|
6202
6477
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */
|
|
6203
6478
|
left: string;
|
|
6204
|
-
/**
|
|
6205
|
-
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
|
6206
|
-
*
|
|
6207
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
|
|
6208
|
-
*/
|
|
6209
|
-
readonly length: number;
|
|
6210
6479
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
6211
6480
|
letterSpacing: string;
|
|
6212
6481
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
@@ -6397,12 +6666,6 @@ interface CSSStyleDeclaration {
|
|
|
6397
6666
|
pageBreakInside: string;
|
|
6398
6667
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
6399
6668
|
paintOrder: string;
|
|
6400
|
-
/**
|
|
6401
|
-
* 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.
|
|
6402
|
-
*
|
|
6403
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
|
|
6404
|
-
*/
|
|
6405
|
-
readonly parentRule: CSSRule | null;
|
|
6406
6669
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */
|
|
6407
6670
|
perspective: string;
|
|
6408
6671
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */
|
|
@@ -6417,6 +6680,16 @@ interface CSSStyleDeclaration {
|
|
|
6417
6680
|
pointerEvents: string;
|
|
6418
6681
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
6419
6682
|
position: string;
|
|
6683
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
|
|
6684
|
+
positionAnchor: string;
|
|
6685
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
6686
|
+
positionArea: string;
|
|
6687
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
|
|
6688
|
+
positionTry: string;
|
|
6689
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
|
|
6690
|
+
positionTryFallbacks: string;
|
|
6691
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
|
|
6692
|
+
positionTryOrder: string;
|
|
6420
6693
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
6421
6694
|
printColorAdjust: string;
|
|
6422
6695
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -6493,6 +6766,12 @@ interface CSSStyleDeclaration {
|
|
|
6493
6766
|
scrollSnapStop: string;
|
|
6494
6767
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
6495
6768
|
scrollSnapType: string;
|
|
6769
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
|
|
6770
|
+
scrollTimeline: string;
|
|
6771
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
|
|
6772
|
+
scrollTimelineAxis: string;
|
|
6773
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
|
|
6774
|
+
scrollTimelineName: string;
|
|
6496
6775
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
6497
6776
|
scrollbarColor: string;
|
|
6498
6777
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
@@ -6587,6 +6866,8 @@ interface CSSStyleDeclaration {
|
|
|
6587
6866
|
textWrapMode: string;
|
|
6588
6867
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
|
|
6589
6868
|
textWrapStyle: string;
|
|
6869
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
|
|
6870
|
+
timelineScope: string;
|
|
6590
6871
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
6591
6872
|
top: string;
|
|
6592
6873
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -6621,6 +6902,14 @@ interface CSSStyleDeclaration {
|
|
|
6621
6902
|
vectorEffect: string;
|
|
6622
6903
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
6623
6904
|
verticalAlign: string;
|
|
6905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
|
|
6906
|
+
viewTimeline: string;
|
|
6907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
|
|
6908
|
+
viewTimelineAxis: string;
|
|
6909
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
|
|
6910
|
+
viewTimelineInset: string;
|
|
6911
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
|
|
6912
|
+
viewTimelineName: string;
|
|
6624
6913
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
|
|
6625
6914
|
viewTransitionClass: string;
|
|
6626
6915
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
|
|
@@ -7057,42 +7346,11 @@ interface CSSStyleDeclaration {
|
|
|
7057
7346
|
zIndex: string;
|
|
7058
7347
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */
|
|
7059
7348
|
zoom: string;
|
|
7060
|
-
/**
|
|
7061
|
-
* The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.
|
|
7062
|
-
*
|
|
7063
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
|
|
7064
|
-
*/
|
|
7065
|
-
getPropertyPriority(property: string): string;
|
|
7066
|
-
/**
|
|
7067
|
-
* The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.
|
|
7068
|
-
*
|
|
7069
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
|
|
7070
|
-
*/
|
|
7071
|
-
getPropertyValue(property: string): string;
|
|
7072
|
-
/**
|
|
7073
|
-
* The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.
|
|
7074
|
-
*
|
|
7075
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
|
|
7076
|
-
*/
|
|
7077
|
-
item(index: number): string;
|
|
7078
|
-
/**
|
|
7079
|
-
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
|
|
7080
|
-
*
|
|
7081
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
|
|
7082
|
-
*/
|
|
7083
|
-
removeProperty(property: string): string;
|
|
7084
|
-
/**
|
|
7085
|
-
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
|
|
7086
|
-
*
|
|
7087
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
|
|
7088
|
-
*/
|
|
7089
|
-
setProperty(property: string, value: string | null, priority?: string): void;
|
|
7090
|
-
[index: number]: string;
|
|
7091
7349
|
}
|
|
7092
7350
|
|
|
7093
|
-
declare var
|
|
7094
|
-
prototype:
|
|
7095
|
-
new():
|
|
7351
|
+
declare var CSSStyleProperties: {
|
|
7352
|
+
prototype: CSSStyleProperties;
|
|
7353
|
+
new(): CSSStyleProperties;
|
|
7096
7354
|
};
|
|
7097
7355
|
|
|
7098
7356
|
/**
|
|
@@ -7112,7 +7370,7 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
7112
7370
|
*
|
|
7113
7371
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
|
|
7114
7372
|
*/
|
|
7115
|
-
readonly style:
|
|
7373
|
+
readonly style: CSSStyleProperties;
|
|
7116
7374
|
/**
|
|
7117
7375
|
* The **`styleMap`** read-only property of the which provides access to the rule's property-value pairs.
|
|
7118
7376
|
*
|
|
@@ -10363,6 +10621,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10363
10621
|
write(...text: string[]): void;
|
|
10364
10622
|
/**
|
|
10365
10623
|
* 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.
|
|
10624
|
+
* @deprecated
|
|
10366
10625
|
*
|
|
10367
10626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10368
10627
|
*/
|
|
@@ -18658,6 +18917,12 @@ interface ImageCapture {
|
|
|
18658
18917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
|
|
18659
18918
|
*/
|
|
18660
18919
|
getPhotoSettings(): Promise<PhotoSettings>;
|
|
18920
|
+
/**
|
|
18921
|
+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
|
|
18922
|
+
*
|
|
18923
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
|
|
18924
|
+
*/
|
|
18925
|
+
grabFrame(): Promise<ImageBitmap>;
|
|
18661
18926
|
/**
|
|
18662
18927
|
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
|
|
18663
18928
|
*
|
|
@@ -18932,6 +19197,7 @@ interface IntersectionObserver {
|
|
|
18932
19197
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
|
|
18933
19198
|
*/
|
|
18934
19199
|
readonly rootMargin: string;
|
|
19200
|
+
readonly scrollMargin: string;
|
|
18935
19201
|
/**
|
|
18936
19202
|
* 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.
|
|
18937
19203
|
*
|
|
@@ -21996,12 +22262,6 @@ interface NotificationEventMap {
|
|
|
21996
22262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
21997
22263
|
*/
|
|
21998
22264
|
interface Notification extends EventTarget {
|
|
21999
|
-
/**
|
|
22000
|
-
* 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.
|
|
22001
|
-
*
|
|
22002
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
22003
|
-
*/
|
|
22004
|
-
readonly badge: string;
|
|
22005
22265
|
/**
|
|
22006
22266
|
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
|
22007
22267
|
*
|