Skip to content

Commit 4b13a8d

Browse files
saschanazsandersn
authored andcommitted
Add CSS Scroll Anchoring type (#695)
* add CSS Scroll Anchoring type * remove null from added properties
1 parent f6190cd commit 4b13a8d

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2836,6 +2836,7 @@ interface CSSStyleDeclaration {
28362836
outlineStyle: string;
28372837
outlineWidth: string;
28382838
overflow: string | null;
2839+
overflowAnchor: string;
28392840
overflowWrap: string;
28402841
overflowX: string | null;
28412842
overflowY: string | null;
@@ -2857,7 +2858,7 @@ interface CSSStyleDeclaration {
28572858
pointerEvents: string | null;
28582859
position: string | null;
28592860
quotes: string | null;
2860-
resize: string | null;
2861+
resize: string;
28612862
right: string | null;
28622863
rotate: string | null;
28632864
rowGap: string;
@@ -2912,7 +2913,7 @@ interface CSSStyleDeclaration {
29122913
transitionTimingFunction: string;
29132914
translate: string | null;
29142915
unicodeBidi: string;
2915-
userSelect: string | null;
2916+
userSelect: string;
29162917
verticalAlign: string | null;
29172918
visibility: string | null;
29182919
/** @deprecated */

inputfiles/addedTypes.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,16 +467,12 @@
467467
"name": "CSSStyleDeclaration",
468468
"properties": {
469469
"property": {
470-
"resize": {
471-
"name": "resize",
472-
"override-type": "string | null"
473-
},
474470
"touchAction": {
475471
"deprecated": 0
476472
},
477473
"userSelect": {
478474
"name": "userSelect",
479-
"override-type": "string | null"
475+
"type": "CSSOMString"
480476
}
481477
}
482478
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString overflowAnchor;
3+
};

inputfiles/idlSources.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
"url": "https://drafts.csswg.org/cssom-view/",
3737
"title": "CSSOM View"
3838
},
39+
{
40+
"url": "https://drafts.csswg.org/css-scroll-anchoring/",
41+
"title": "CSS Scroll Anchoring"
42+
},
3943
{
4044
"url": "https://www.w3.org/TR/css-text-3/",
4145
"title": "CSS Text"
@@ -113,7 +117,7 @@
113117
"title": "Geolocation"
114118
},
115119
{
116-
"url": "https://drafts.fxtf.org/geometry/",
120+
"url": "https://www.w3.org/TR/geometry-1/",
117121
"title": "Geometry Interfaces"
118122
},
119123
{
@@ -344,7 +348,7 @@
344348
"title": "Vibration"
345349
},
346350
{
347-
"url": "https://drafts.csswg.org/web-animations/",
351+
"url": "https://www.w3.org/TR/web-animations-1/",
348352
"title": "Web Animations"
349353
},
350354
{

0 commit comments

Comments
 (0)