Skip to content

Commit af0de20

Browse files
authored
Add CSS properties from BCD 6.0.24 (#2051)
Co-authored-by: saschanaz <[email protected]>
1 parent d9660b3 commit af0de20

14 files changed

+318
-75
lines changed

baselines/dom.generated.d.ts

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,6 +3154,7 @@ interface AnimationTimeline {
31543154
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
31553155
*/
31563156
readonly currentTime: CSSNumberish | null;
3157+
readonly duration: CSSNumberish | null;
31573158
}
31583159

31593160
declare var AnimationTimeline: {
@@ -5756,6 +5757,9 @@ interface CSSStyleDeclaration {
57565757
alignmentBaseline: string;
57575758
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
57585759
all: string;
5760+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
5761+
anchorName: string;
5762+
anchorScope: string;
57595763
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
57605764
animation: string;
57615765
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
@@ -5774,6 +5778,14 @@ interface CSSStyleDeclaration {
57745778
animationName: string;
57755779
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
57765780
animationPlayState: string;
5781+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
5782+
animationRange: string;
5783+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
5784+
animationRangeEnd: string;
5785+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
5786+
animationRangeStart: string;
5787+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
5788+
animationTimeline: string;
57775789
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
57785790
animationTimingFunction: string;
57795791
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
@@ -6042,6 +6054,7 @@ interface CSSStyleDeclaration {
60426054
display: string;
60436055
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
60446056
dominantBaseline: string;
6057+
dynamicRangeLimit: string;
60456058
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
60466059
emptyCells: string;
60476060
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
@@ -6420,6 +6433,16 @@ interface CSSStyleDeclaration {
64206433
pointerEvents: string;
64216434
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
64226435
position: string;
6436+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
6437+
positionAnchor: string;
6438+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
6439+
positionArea: string;
6440+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
6441+
positionTry: string;
6442+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
6443+
positionTryFallbacks: string;
6444+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
6445+
positionTryOrder: string;
64236446
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
64246447
printColorAdjust: string;
64256448
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
@@ -6496,6 +6519,12 @@ interface CSSStyleDeclaration {
64966519
scrollSnapStop: string;
64976520
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
64986521
scrollSnapType: string;
6522+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
6523+
scrollTimeline: string;
6524+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
6525+
scrollTimelineAxis: string;
6526+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
6527+
scrollTimelineName: string;
64996528
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
65006529
scrollbarColor: string;
65016530
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
@@ -6590,6 +6619,8 @@ interface CSSStyleDeclaration {
65906619
textWrapMode: string;
65916620
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
65926621
textWrapStyle: string;
6622+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
6623+
timelineScope: string;
65936624
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
65946625
top: string;
65956626
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
@@ -6624,6 +6655,14 @@ interface CSSStyleDeclaration {
66246655
vectorEffect: string;
66256656
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
66266657
verticalAlign: string;
6658+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
6659+
viewTimeline: string;
6660+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
6661+
viewTimelineAxis: string;
6662+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
6663+
viewTimelineInset: string;
6664+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
6665+
viewTimelineName: string;
66276666
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
66286667
viewTransitionClass: string;
66296668
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
@@ -10367,6 +10406,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1036710406
write(...text: string[]): void;
1036810407
/**
1036910408
* 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.
10409+
* @deprecated
1037010410
*
1037110411
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1037210412
*/
@@ -18675,6 +18715,12 @@ interface ImageCapture {
1867518715
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
1867618716
*/
1867718717
getPhotoSettings(): Promise<PhotoSettings>;
18718+
/**
18719+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
18720+
*
18721+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
18722+
*/
18723+
grabFrame(): Promise<ImageBitmap>;
1867818724
/**
1867918725
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
1868018726
*
@@ -18949,6 +18995,7 @@ interface IntersectionObserver {
1894918995
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
1895018996
*/
1895118997
readonly rootMargin: string;
18998+
readonly scrollMargin: string;
1895218999
/**
1895319000
* 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.
1895419001
*
@@ -22013,12 +22060,6 @@ interface NotificationEventMap {
2201322060
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
2201422061
*/
2201522062
interface Notification extends EventTarget {
22016-
/**
22017-
* 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.
22018-
*
22019-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
22020-
*/
22021-
readonly badge: string;
2202222063
/**
2202322064
* The **`body`** read-only property of the specified in the `body` option of the A string.
2202422065
*

baselines/serviceworker.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5219,12 +5219,6 @@ interface NotificationEventMap {
52195219
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
52205220
*/
52215221
interface Notification extends EventTarget {
5222-
/**
5223-
* 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.
5224-
*
5225-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
5226-
*/
5227-
readonly badge: string;
52285222
/**
52295223
* The **`body`** read-only property of the specified in the `body` option of the A string.
52305224
*

baselines/sharedworker.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4902,12 +4902,6 @@ interface NotificationEventMap {
49024902
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
49034903
*/
49044904
interface Notification extends EventTarget {
4905-
/**
4906-
* 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.
4907-
*
4908-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
4909-
*/
4910-
readonly badge: string;
49114905
/**
49124906
* The **`body`** read-only property of the specified in the `body` option of the A string.
49134907
*

baselines/ts5.5/dom.generated.d.ts

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,6 +3154,7 @@ interface AnimationTimeline {
31543154
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
31553155
*/
31563156
readonly currentTime: CSSNumberish | null;
3157+
readonly duration: CSSNumberish | null;
31573158
}
31583159

31593160
declare var AnimationTimeline: {
@@ -5750,6 +5751,9 @@ interface CSSStyleDeclaration {
57505751
alignmentBaseline: string;
57515752
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */
57525753
all: string;
5754+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/anchor-name) */
5755+
anchorName: string;
5756+
anchorScope: string;
57535757
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */
57545758
animation: string;
57555759
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */
@@ -5768,6 +5772,14 @@ interface CSSStyleDeclaration {
57685772
animationName: string;
57695773
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */
57705774
animationPlayState: string;
5775+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range) */
5776+
animationRange: string;
5777+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-end) */
5778+
animationRangeEnd: string;
5779+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-range-start) */
5780+
animationRangeStart: string;
5781+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timeline) */
5782+
animationTimeline: string;
57715783
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */
57725784
animationTimingFunction: string;
57735785
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */
@@ -6036,6 +6048,7 @@ interface CSSStyleDeclaration {
60366048
display: string;
60376049
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
60386050
dominantBaseline: string;
6051+
dynamicRangeLimit: string;
60396052
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
60406053
emptyCells: string;
60416054
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
@@ -6414,6 +6427,16 @@ interface CSSStyleDeclaration {
64146427
pointerEvents: string;
64156428
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
64166429
position: string;
6430+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-anchor) */
6431+
positionAnchor: string;
6432+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
6433+
positionArea: string;
6434+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try) */
6435+
positionTry: string;
6436+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-fallbacks) */
6437+
positionTryFallbacks: string;
6438+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-try-order) */
6439+
positionTryOrder: string;
64176440
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
64186441
printColorAdjust: string;
64196442
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
@@ -6490,6 +6513,12 @@ interface CSSStyleDeclaration {
64906513
scrollSnapStop: string;
64916514
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
64926515
scrollSnapType: string;
6516+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline) */
6517+
scrollTimeline: string;
6518+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-axis) */
6519+
scrollTimelineAxis: string;
6520+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name) */
6521+
scrollTimelineName: string;
64936522
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
64946523
scrollbarColor: string;
64956524
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
@@ -6584,6 +6613,8 @@ interface CSSStyleDeclaration {
65846613
textWrapMode: string;
65856614
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */
65866615
textWrapStyle: string;
6616+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/timeline-scope) */
6617+
timelineScope: string;
65876618
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
65886619
top: string;
65896620
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
@@ -6618,6 +6649,14 @@ interface CSSStyleDeclaration {
66186649
vectorEffect: string;
66196650
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
66206651
verticalAlign: string;
6652+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline) */
6653+
viewTimeline: string;
6654+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-axis) */
6655+
viewTimelineAxis: string;
6656+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-inset) */
6657+
viewTimelineInset: string;
6658+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-timeline-name) */
6659+
viewTimelineName: string;
66216660
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
66226661
viewTransitionClass: string;
66236662
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
@@ -10360,6 +10399,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
1036010399
write(...text: string[]): void;
1036110400
/**
1036210401
* 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.
10402+
* @deprecated
1036310403
*
1036410404
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
1036510405
*/
@@ -18655,6 +18695,12 @@ interface ImageCapture {
1865518695
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)
1865618696
*/
1865718697
getPhotoSettings(): Promise<PhotoSettings>;
18698+
/**
18699+
* The **`grabFrame()`** method of the a ImageBitmap containing the snapshot.
18700+
*
18701+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/grabFrame)
18702+
*/
18703+
grabFrame(): Promise<ImageBitmap>;
1865818704
/**
1865918705
* The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
1866018706
*
@@ -18929,6 +18975,7 @@ interface IntersectionObserver {
1892918975
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)
1893018976
*/
1893118977
readonly rootMargin: string;
18978+
readonly scrollMargin: string;
1893218979
/**
1893318980
* 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.
1893418981
*
@@ -21993,12 +22040,6 @@ interface NotificationEventMap {
2199322040
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
2199422041
*/
2199522042
interface Notification extends EventTarget {
21996-
/**
21997-
* 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.
21998-
*
21999-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
22000-
*/
22001-
readonly badge: string;
2200222043
/**
2200322044
* The **`body`** read-only property of the specified in the `body` option of the A string.
2200422045
*

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5219,12 +5219,6 @@ interface NotificationEventMap {
52195219
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
52205220
*/
52215221
interface Notification extends EventTarget {
5222-
/**
5223-
* 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.
5224-
*
5225-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
5226-
*/
5227-
readonly badge: string;
52285222
/**
52295223
* The **`body`** read-only property of the specified in the `body` option of the A string.
52305224
*

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4902,12 +4902,6 @@ interface NotificationEventMap {
49024902
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
49034903
*/
49044904
interface Notification extends EventTarget {
4905-
/**
4906-
* 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.
4907-
*
4908-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
4909-
*/
4910-
readonly badge: string;
49114905
/**
49124906
* The **`body`** read-only property of the specified in the `body` option of the A string.
49134907
*

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6080,12 +6080,6 @@ interface NotificationEventMap {
60806080
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
60816081
*/
60826082
interface Notification extends EventTarget {
6083-
/**
6084-
* 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.
6085-
*
6086-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
6087-
*/
6088-
readonly badge: string;
60896083
/**
60906084
* The **`body`** read-only property of the specified in the `body` option of the A string.
60916085
*

0 commit comments

Comments
 (0)