Skip to content

Commit fd314e8

Browse files
committed
refactor: establish CSSOM folder feature
1 parent 1950be4 commit fd314e8

10 files changed

Lines changed: 17 additions & 9 deletions

rescript.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"WebAPI.DOMPlatform": ["WebAPI.Event", "DOMPlatform"],
88
"WebAPI.Animation": ["WebAPI.Event", "Animation"],
99
"WebAPI.Geometry": ["WebAPI.DOM", "Geometry"],
10+
"WebAPI.CSSOM": ["WebAPI.Event", "CSSOM"],
1011
"WebAPI.File": ["WebAPI.Event", "File"],
1112
"WebAPI.URL": ["WebAPI.DOM", "URL"],
1213
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
@@ -47,6 +48,22 @@
4748
"DocumentTimeline"
4849
]
4950
},
51+
{
52+
"dir": "src/cssom",
53+
"subdirs": true,
54+
"feature": "CSSOM",
55+
"public": [
56+
"CSSRuleList",
57+
"CSSStyleDeclaration",
58+
"CSSStyleValue",
59+
"MediaList",
60+
"MediaQueryList",
61+
"StylePropertyMap",
62+
"StylePropertyMapReadOnly",
63+
"StyleSheet",
64+
"StyleSheetList"
65+
]
66+
},
5067
{
5168
"dir": "src/geometry",
5269
"subdirs": true,
@@ -127,10 +144,6 @@
127144
"subdirs": true,
128145
"feature": "WebAPI.DOM",
129146
"public": [
130-
"CSSRuleList",
131-
"CSSStyleDeclaration",
132-
"StyleSheet",
133-
"CSSStyleValue",
134147
"CaretPosition",
135148
"CharacterData",
136149
"Comment",
@@ -210,8 +223,6 @@
210223
"IdleDeadline",
211224
"ImageData",
212225
"Location",
213-
"MediaList",
214-
"MediaQueryList",
215226
"NamedNodeMap",
216227
"Navigator",
217228
"Node",
@@ -225,9 +236,6 @@
225236
"ScreenOrientation",
226237
"Selection",
227238
"ShadowRoot",
228-
"StylePropertyMap",
229-
"StylePropertyMapReadOnly",
230-
"StyleSheetList",
231239
"Text",
232240
"TextTrackList",
233241
"TimeRanges",

0 commit comments

Comments
 (0)