Skip to content

Commit 343b9f3

Browse files
committed
add CSS Fragmentation types
1 parent 80f06eb commit 343b9f3

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
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 | null;
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 | null;
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
@@ -28,6 +28,10 @@
2828
"url": "https://www.w3.org/TR/css-fonts-3/",
2929
"title": "CSS Fonts"
3030
},
31+
{
32+
"url": "https://www.w3.org/TR/css-break-3/",
33+
"title": "CSS Fragmentation"
34+
},
3135
{
3236
"url": "https://drafts.csswg.org/css-images-3/",
3337
"title": "CSS Images"

inputfiles/removedTypes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@
6868
"CSSStyleDeclaration": {
6969
"properties": {
7070
"property": {
71-
"hangingPunctuation": null,
71+
"boxDecorationBreak": null,
7272
"blockOverflow": null,
7373
"continue": null,
74+
"hangingPunctuation": null,
7475
"lineClamp": null,
7576
"maskBorder": null,
7677
"maskBorderMode": null,

0 commit comments

Comments
 (0)