Skip to content

Commit 80f06eb

Browse files
saschanazsandersn
authored andcommitted
Add CSS Overflow types (#714)
* add CSS Overflow types * Add now-redundant removeTyped entries 1. SVGClipPathElement 2. SVGMaskElement These have probably been redundant for some time, but `console.warn` doesn't fail the build so they went unnoticed.
1 parent d0c1b1f commit 80f06eb

File tree

4 files changed

+27
-13
lines changed

4 files changed

+27
-13
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,11 +2972,11 @@ interface CSSStyleDeclaration {
29722972
outlineOffset: string;
29732973
outlineStyle: string;
29742974
outlineWidth: string;
2975-
overflow: string | null;
2975+
overflow: string;
29762976
overflowAnchor: string;
29772977
overflowWrap: string;
2978-
overflowX: string | null;
2979-
overflowY: string | null;
2978+
overflowX: string;
2979+
overflowY: string;
29802980
padding: string | null;
29812981
paddingBottom: string | null;
29822982
paddingLeft: string | null;
@@ -3142,6 +3142,7 @@ interface CSSStyleDeclaration {
31423142
webkitFlexWrap: string;
31433143
/** @deprecated */
31443144
webkitJustifyContent: string;
3145+
webkitLineClamp: string;
31453146
/** @deprecated */
31463147
webkitMask: string;
31473148
/** @deprecated */

inputfiles/idl/CSS Overflow.widl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflowX;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflowY;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflow;
5+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflowInline;
6+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflowBlock;
7+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textOverflow;
8+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString blockOverflow;
9+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString lineClamp;
10+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString webkitLineClamp;
11+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString maxLines;
12+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString continue;
13+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
"url": "https://drafts.csswg.org/cssom-view/",
4545
"title": "CSSOM View"
4646
},
47+
{
48+
"url": "https://www.w3.org/TR/css-overflow-3/",
49+
"title": "CSS Overflow"
50+
},
4751
{
4852
"url": "https://drafts.csswg.org/css-scroll-anchoring/",
4953
"title": "CSS Scroll Anchoring"

inputfiles/removedTypes.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
"properties": {
7070
"property": {
7171
"hangingPunctuation": null,
72+
"blockOverflow": null,
73+
"continue": null,
74+
"lineClamp": null,
7275
"maskBorder": null,
7376
"maskBorderMode": null,
7477
"maskBorderOutset": null,
@@ -79,6 +82,9 @@
7982
"maskClip": null,
8083
"maskMode": null,
8184
"maskOrigin": null,
85+
"maxLines": null,
86+
"overflowBlock": null,
87+
"overflowInline": null,
8288
"textAlignAll": null
8389
}
8490
}
@@ -130,11 +136,6 @@
130136
}
131137
}
132138
},
133-
"SVGClipPathElement": {
134-
"implements": [
135-
"SVGUnitTypes"
136-
]
137-
},
138139
"SVGElementInstance": {
139140
"properties": {
140141
"property": {
@@ -174,11 +175,6 @@
174175
"SVGUnitTypes"
175176
]
176177
},
177-
"SVGMaskElement": {
178-
"implements": [
179-
"SVGUnitTypes"
180-
]
181-
},
182178
"SVGMatrix": null,
183179
"SVGPatternElement": {
184180
"implements": [

0 commit comments

Comments
 (0)