Skip to content

Commit 0382556

Browse files
committed
add CSS Fragmentation types
1 parent dbaff83 commit 0382556

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

baselines/dom.generated.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2789,9 +2789,9 @@ interface CSSStyleDeclaration {
27892789
bottom: string | null;
27902790
boxShadow: string;
27912791
boxSizing: string;
2792-
breakAfter: string | null;
2793-
breakBefore: string | null;
2794-
breakInside: string | null;
2792+
breakAfter: string;
2793+
breakBefore: string;
2794+
breakInside: string;
27952795
captionSide: string | null;
27962796
caretColor: string;
27972797
clear: string | null;
@@ -2966,7 +2966,7 @@ interface CSSStyleDeclaration {
29662966
objectPosition: string;
29672967
opacity: string | null;
29682968
order: string;
2969-
orphans: string | null;
2969+
orphans: string;
29702970
outline: string;
29712971
outlineColor: string;
29722972
outlineOffset: string;
@@ -3208,7 +3208,7 @@ interface CSSStyleDeclaration {
32083208
webkitUserSelect: string | null;
32093209
webkitWritingMode: string | null;
32103210
whiteSpace: string;
3211-
widows: string | null;
3211+
widows: string;
32123212
width: string | null;
32133213
willChange: string;
32143214
wordBreak: string;

inputfiles/idl/CSS Fragmentation.widl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakBefore;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakAfter;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakInside;
5+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString orphans;
6+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString widows;
7+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString boxDecorationBreak;
8+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
"url": "https://www.w3.org/TR/css-fonts-3/",
4141
"title": "CSS Fonts"
4242
},
43+
{
44+
"url": "https://www.w3.org/TR/css-break-3/",
45+
"title": "CSS Fragmentation"
46+
},
4347
{
4448
"url": "https://www.w3.org/TR/css-grid-1/",
4549
"title": "CSS Grid Layout"

inputfiles/removedTypes.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,18 @@
7070
"property": {
7171
"backgroundPositionBlock": null,
7272
"backgroundPositionInline": null,
73+
"blockOverflow": null,
7374
"borderClip": null,
7475
"borderClipBottom": null,
7576
"borderClipLeft": null,
7677
"borderClipRight": null,
7778
"borderClipTop": null,
7879
"borderLimit": null,
80+
"boxDecorationBreak": null,
81+
"continue": null,
7982
"cornerShape": null,
8083
"corners": null,
8184
"hangingPunctuation": null,
82-
"blockOverflow": null,
83-
"continue": null,
8485
"lineClamp": null,
8586
"maskBorder": null,
8687
"maskBorderMode": null,

0 commit comments

Comments
 (0)