@stylexjs/shared 0.2.0-beta.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/lib/common-types.d.ts +49 -0
- package/lib/common-types.js.flow +64 -0
- package/lib/convert-to-className.d.ts +16 -0
- package/lib/convert-to-className.js +17 -26
- package/lib/convert-to-className.js.flow +23 -0
- package/lib/generate-css-rule.d.ts +17 -0
- package/lib/generate-css-rule.js +6 -17
- package/lib/generate-css-rule.js.flow +17 -0
- package/lib/hash.d.ts +11 -0
- package/lib/hash.js +3 -27
- package/lib/hash.js.flow +10 -0
- package/lib/index.d.ts +42 -85
- package/lib/index.js +21 -29
- package/lib/index.js.flow +57 -3
- package/lib/messages.d.ts +41 -0
- package/lib/messages.js +33 -53
- package/lib/messages.js.flow +44 -0
- package/lib/physical-rtl/generate-ltr.d.ts +11 -0
- package/lib/physical-rtl/generate-ltr.js +18 -46
- package/lib/physical-rtl/generate-ltr.js.flow +12 -0
- package/lib/physical-rtl/generate-rtl.d.ts +13 -0
- package/lib/physical-rtl/generate-rtl.js +18 -50
- package/lib/physical-rtl/generate-rtl.js.flow +12 -0
- package/lib/preprocess-rules/PreRule.d.ts +52 -0
- package/lib/preprocess-rules/PreRule.js +87 -0
- package/lib/preprocess-rules/PreRule.js.flow +64 -0
- package/lib/preprocess-rules/application-order.d.ts +290 -0
- package/lib/preprocess-rules/application-order.js +60 -133
- package/lib/preprocess-rules/application-order.js.flow +241 -0
- package/lib/preprocess-rules/basic-validation.d.ts +13 -0
- package/lib/preprocess-rules/basic-validation.js +83 -0
- package/lib/preprocess-rules/basic-validation.js.flow +13 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +25 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.js +120 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +27 -0
- package/lib/preprocess-rules/index.d.ts +18 -0
- package/lib/preprocess-rules/index.js +0 -9
- package/lib/preprocess-rules/index.js.flow +19 -0
- package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +200 -0
- package/lib/preprocess-rules/legacy-expand-shorthands.js +90 -123
- package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +179 -0
- package/lib/preprocess-rules/property-specificity.d.ts +89 -0
- package/lib/preprocess-rules/property-specificity.js +46 -74
- package/lib/preprocess-rules/property-specificity.js.flow +98 -0
- package/lib/properties/CSS Animations.json +445 -0
- package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
- package/lib/properties/CSS Basic User Interface.json +365 -0
- package/lib/properties/CSS Box Alignment.json +245 -0
- package/lib/properties/CSS Box Model.json +501 -0
- package/lib/properties/CSS Color.json +100 -0
- package/lib/properties/CSS Columns.json +185 -0
- package/lib/properties/CSS Containment.json +203 -0
- package/lib/properties/CSS Counter Styles.json +56 -0
- package/lib/properties/CSS Display.json +20 -0
- package/lib/properties/CSS Flexible Box Layout.json +167 -0
- package/lib/properties/CSS Fonts.json +684 -0
- package/lib/properties/CSS Fragmentation.json +110 -0
- package/lib/properties/CSS Generated Content.json +38 -0
- package/lib/properties/CSS Grid Layout.json +500 -0
- package/lib/properties/CSS Images.json +91 -0
- package/lib/properties/CSS Inline.json +38 -0
- package/lib/properties/CSS Lists and Counters.json +86 -0
- package/lib/properties/CSS Logical Properties.json +1086 -0
- package/lib/properties/CSS Masking.json +399 -0
- package/lib/properties/CSS Miscellaneous.json +38 -0
- package/lib/properties/CSS Motion Path.json +132 -0
- package/lib/properties/CSS Overflow.json +216 -0
- package/lib/properties/CSS Pages.json +83 -0
- package/lib/properties/CSS Positioning.json +166 -0
- package/lib/properties/CSS Ruby.json +55 -0
- package/lib/properties/CSS Scroll Anchoring.json +19 -0
- package/lib/properties/CSS Scroll Snap.json +604 -0
- package/lib/properties/CSS Scrollbars.json +38 -0
- package/lib/properties/CSS Shapes.json +56 -0
- package/lib/properties/CSS Speech.json +20 -0
- package/lib/properties/CSS Table.json +115 -0
- package/lib/properties/CSS Text Decoration.json +312 -0
- package/lib/properties/CSS Text.json +415 -0
- package/lib/properties/CSS Transforms.json +188 -0
- package/lib/properties/CSS Transitions.json +122 -0
- package/lib/properties/CSS Variables.json +20 -0
- package/lib/properties/CSS View Transitions.json +20 -0
- package/lib/properties/CSS Will Change.json +20 -0
- package/lib/properties/CSS Writing Modes.json +92 -0
- package/lib/properties/Compositing and Blending.json +62 -0
- package/lib/properties/Filter Effects.json +38 -0
- package/lib/properties/MathML.json +56 -0
- package/lib/properties/Microsoft Extensions.json +885 -0
- package/lib/properties/Mozilla Extensions.json +607 -0
- package/lib/properties/Pointer Events.json +20 -0
- package/lib/properties/WebKit Extensions.json +707 -0
- package/lib/properties.json +10122 -0
- package/lib/stylex-create-theme.d.ts +26 -0
- package/lib/stylex-create-theme.js +67 -0
- package/lib/stylex-create-theme.js.flow +19 -0
- package/lib/stylex-create.d.ts +23 -0
- package/lib/stylex-create.js +30 -146
- package/lib/stylex-create.js.flow +30 -0
- package/lib/stylex-define-vars.d.ts +29 -0
- package/lib/stylex-define-vars.js +73 -0
- package/lib/stylex-define-vars.js.flow +26 -0
- package/lib/stylex-first-that-works.d.ts +13 -0
- package/lib/stylex-first-that-works.js +0 -10
- package/lib/stylex-first-that-works.js.flow +12 -0
- package/lib/stylex-include.d.ts +18 -0
- package/lib/stylex-include.js +2 -12
- package/lib/stylex-include.js.flow +20 -0
- package/lib/stylex-keyframes.d.ts +17 -0
- package/lib/stylex-keyframes.js +6 -26
- package/lib/stylex-keyframes.js.flow +20 -0
- package/lib/transform-value.d.ts +22 -0
- package/lib/transform-value.js +9 -23
- package/lib/transform-value.js.flow +25 -0
- package/lib/types/index.d.ts +205 -0
- package/lib/types/index.js +191 -0
- package/lib/types/index.js.flow +241 -0
- package/lib/utils/Rule.d.ts +58 -0
- package/lib/utils/Rule.js +0 -21
- package/lib/utils/Rule.js.flow +64 -0
- package/lib/utils/dashify.d.ts +11 -0
- package/lib/utils/dashify.js +0 -8
- package/lib/utils/dashify.js.flow +10 -0
- package/lib/utils/default-options.d.ts +11 -0
- package/lib/utils/default-options.js +13 -0
- package/lib/utils/default-options.js.flow +25 -0
- package/lib/utils/file-based-identifier.d.ts +15 -0
- package/lib/utils/file-based-identifier.js +14 -0
- package/lib/utils/file-based-identifier.js.flow +14 -0
- package/lib/utils/genCSSRule.d.ts +15 -0
- package/lib/utils/genCSSRule.js +9 -18
- package/lib/utils/genCSSRule.js.flow +15 -0
- package/lib/utils/normalize-value.d.ts +16 -0
- package/lib/utils/normalize-value.js +8 -15
- package/lib/utils/normalize-value.js.flow +16 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
- package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
- package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
- package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
- package/lib/utils/normalizers/detect-unclosed-fns.d.ts +17 -0
- package/lib/utils/normalizers/detect-unclosed-fns.js +2 -14
- package/lib/utils/normalizers/detect-unclosed-fns.js.flow +16 -0
- package/lib/utils/normalizers/font-size-px-to-rem.d.ts +19 -0
- package/lib/utils/normalizers/font-size-px-to-rem.js +9 -19
- package/lib/utils/normalizers/font-size-px-to-rem.js.flow +18 -0
- package/lib/utils/normalizers/leading-zero.d.ts +17 -0
- package/lib/utils/normalizers/leading-zero.js +0 -12
- package/lib/utils/normalizers/leading-zero.js.flow +16 -0
- package/lib/utils/normalizers/quotes.d.ts +18 -0
- package/lib/utils/normalizers/quotes.js +0 -13
- package/lib/utils/normalizers/quotes.js.flow +17 -0
- package/lib/utils/normalizers/timings.d.ts +18 -0
- package/lib/utils/normalizers/timings.js +0 -14
- package/lib/utils/normalizers/timings.js.flow +17 -0
- package/lib/utils/normalizers/whitespace.d.ts +19 -0
- package/lib/utils/normalizers/whitespace.js +0 -15
- package/lib/utils/normalizers/whitespace.js.flow +18 -0
- package/lib/utils/normalizers/zero-dimensions.d.ts +19 -0
- package/lib/utils/normalizers/zero-dimensions.js +0 -15
- package/lib/utils/normalizers/zero-dimensions.js.flow +18 -0
- package/lib/utils/object-utils.d.ts +66 -0
- package/lib/utils/object-utils.js +21 -13
- package/lib/utils/object-utils.js.flow +77 -0
- package/lib/utils/property-priorities.d.ts +11 -0
- package/lib/utils/property-priorities.js +516 -101
- package/lib/utils/property-priorities.js.flow +10 -0
- package/lib/utils/split-css-value.d.ts +14 -0
- package/lib/utils/split-css-value.js +0 -14
- package/lib/utils/split-css-value.js.flow +15 -0
- package/lib/validate.d.ts +12 -0
- package/lib/validate.js +1 -10
- package/lib/validate.js.flow +12 -0
- package/package.json +4 -5
- package/lib/expand-shorthands.d.ts +0 -5
- package/lib/expand-shorthands.js +0 -330
- package/lib/namespace-transforms/__tests__/preflatten.test.js +0 -120
- package/lib/namespace-transforms/preflatten.js +0 -89
- package/lib/preprocess-rules/expand-shorthands.js +0 -156
- package/lib/preprocess-rules/null-out-longhand.js +0 -310
- package/lib/preprocess-rules/react-native-web.js +0 -142
- package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,399 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "<shape> | auto",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": false,
|
6
|
+
"animationType": "rectangle",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Masking"
|
10
|
+
],
|
11
|
+
"initial": "auto",
|
12
|
+
"appliesto": "absolutelyPositionedElements",
|
13
|
+
"computed": "autoOrRectangle",
|
14
|
+
"order": "uniqueOrder",
|
15
|
+
"status": "standard",
|
16
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clip",
|
17
|
+
"property": "clip",
|
18
|
+
"group": "CSS Masking"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"syntax": "<clip-source> | [ <basic-shape> || <geometry-box> ] | none",
|
22
|
+
"media": "visual",
|
23
|
+
"inherited": false,
|
24
|
+
"animationType": "basicShapeOtherwiseNo",
|
25
|
+
"percentages": "referToReferenceBoxWhenSpecifiedOtherwiseBorderBox",
|
26
|
+
"groups": [
|
27
|
+
"CSS Masking"
|
28
|
+
],
|
29
|
+
"initial": "none",
|
30
|
+
"appliesto": "allElementsSVGContainerElements",
|
31
|
+
"computed": "asSpecifiedURLsAbsolute",
|
32
|
+
"order": "uniqueOrder",
|
33
|
+
"status": "standard",
|
34
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clip-path",
|
35
|
+
"property": "clip-path",
|
36
|
+
"group": "CSS Masking"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"syntax": "<mask-layer>#",
|
40
|
+
"media": "visual",
|
41
|
+
"inherited": false,
|
42
|
+
"animationType": [
|
43
|
+
"mask-image",
|
44
|
+
"mask-mode",
|
45
|
+
"mask-repeat",
|
46
|
+
"mask-position",
|
47
|
+
"mask-clip",
|
48
|
+
"mask-origin",
|
49
|
+
"mask-size",
|
50
|
+
"mask-composite"
|
51
|
+
],
|
52
|
+
"percentages": [
|
53
|
+
"mask-position"
|
54
|
+
],
|
55
|
+
"groups": [
|
56
|
+
"CSS Masking"
|
57
|
+
],
|
58
|
+
"initial": [
|
59
|
+
"mask-image",
|
60
|
+
"mask-mode",
|
61
|
+
"mask-repeat",
|
62
|
+
"mask-position",
|
63
|
+
"mask-clip",
|
64
|
+
"mask-origin",
|
65
|
+
"mask-size",
|
66
|
+
"mask-composite"
|
67
|
+
],
|
68
|
+
"appliesto": "allElementsSVGContainerElements",
|
69
|
+
"computed": [
|
70
|
+
"mask-image",
|
71
|
+
"mask-mode",
|
72
|
+
"mask-repeat",
|
73
|
+
"mask-position",
|
74
|
+
"mask-clip",
|
75
|
+
"mask-origin",
|
76
|
+
"mask-size",
|
77
|
+
"mask-composite"
|
78
|
+
],
|
79
|
+
"order": "perGrammar",
|
80
|
+
"stacking": true,
|
81
|
+
"status": "standard",
|
82
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask",
|
83
|
+
"property": "mask",
|
84
|
+
"group": "CSS Masking"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"syntax": "<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",
|
88
|
+
"media": "visual",
|
89
|
+
"inherited": false,
|
90
|
+
"animationType": [
|
91
|
+
"mask-border-mode",
|
92
|
+
"mask-border-outset",
|
93
|
+
"mask-border-repeat",
|
94
|
+
"mask-border-slice",
|
95
|
+
"mask-border-source",
|
96
|
+
"mask-border-width"
|
97
|
+
],
|
98
|
+
"percentages": [
|
99
|
+
"mask-border-slice",
|
100
|
+
"mask-border-width"
|
101
|
+
],
|
102
|
+
"groups": [
|
103
|
+
"CSS Masking"
|
104
|
+
],
|
105
|
+
"initial": [
|
106
|
+
"mask-border-mode",
|
107
|
+
"mask-border-outset",
|
108
|
+
"mask-border-repeat",
|
109
|
+
"mask-border-slice",
|
110
|
+
"mask-border-source",
|
111
|
+
"mask-border-width"
|
112
|
+
],
|
113
|
+
"appliesto": "allElementsSVGContainerElements",
|
114
|
+
"computed": [
|
115
|
+
"mask-border-mode",
|
116
|
+
"mask-border-outset",
|
117
|
+
"mask-border-repeat",
|
118
|
+
"mask-border-slice",
|
119
|
+
"mask-border-source",
|
120
|
+
"mask-border-width"
|
121
|
+
],
|
122
|
+
"order": "perGrammar",
|
123
|
+
"stacking": true,
|
124
|
+
"status": "standard",
|
125
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border",
|
126
|
+
"property": "mask-border",
|
127
|
+
"group": "CSS Masking"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"syntax": "luminance | alpha",
|
131
|
+
"media": "visual",
|
132
|
+
"inherited": false,
|
133
|
+
"animationType": "discrete",
|
134
|
+
"percentages": "no",
|
135
|
+
"groups": [
|
136
|
+
"CSS Masking"
|
137
|
+
],
|
138
|
+
"initial": "alpha",
|
139
|
+
"appliesto": "allElementsSVGContainerElements",
|
140
|
+
"computed": "asSpecified",
|
141
|
+
"order": "perGrammar",
|
142
|
+
"status": "standard",
|
143
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-mode",
|
144
|
+
"property": "mask-border-mode",
|
145
|
+
"group": "CSS Masking"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"syntax": "[ <length> | <number> ]{1,4}",
|
149
|
+
"media": "visual",
|
150
|
+
"inherited": false,
|
151
|
+
"animationType": "discrete",
|
152
|
+
"percentages": "no",
|
153
|
+
"groups": [
|
154
|
+
"CSS Masking"
|
155
|
+
],
|
156
|
+
"initial": "0",
|
157
|
+
"appliesto": "allElementsSVGContainerElements",
|
158
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
159
|
+
"order": "perGrammar",
|
160
|
+
"status": "standard",
|
161
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-outset",
|
162
|
+
"property": "mask-border-outset",
|
163
|
+
"group": "CSS Masking"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"syntax": "[ stretch | repeat | round | space ]{1,2}",
|
167
|
+
"media": "visual",
|
168
|
+
"inherited": false,
|
169
|
+
"animationType": "discrete",
|
170
|
+
"percentages": "no",
|
171
|
+
"groups": [
|
172
|
+
"CSS Masking"
|
173
|
+
],
|
174
|
+
"initial": "stretch",
|
175
|
+
"appliesto": "allElementsSVGContainerElements",
|
176
|
+
"computed": "asSpecified",
|
177
|
+
"order": "perGrammar",
|
178
|
+
"status": "standard",
|
179
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat",
|
180
|
+
"property": "mask-border-repeat",
|
181
|
+
"group": "CSS Masking"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"syntax": "<number-percentage>{1,4} fill?",
|
185
|
+
"media": "visual",
|
186
|
+
"inherited": false,
|
187
|
+
"animationType": "discrete",
|
188
|
+
"percentages": "referToSizeOfMaskBorderImage",
|
189
|
+
"groups": [
|
190
|
+
"CSS Masking"
|
191
|
+
],
|
192
|
+
"initial": "0",
|
193
|
+
"appliesto": "allElementsSVGContainerElements",
|
194
|
+
"computed": "asSpecified",
|
195
|
+
"order": "perGrammar",
|
196
|
+
"status": "standard",
|
197
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-slice",
|
198
|
+
"property": "mask-border-slice",
|
199
|
+
"group": "CSS Masking"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"syntax": "none | <image>",
|
203
|
+
"media": "visual",
|
204
|
+
"inherited": false,
|
205
|
+
"animationType": "discrete",
|
206
|
+
"percentages": "no",
|
207
|
+
"groups": [
|
208
|
+
"CSS Masking"
|
209
|
+
],
|
210
|
+
"initial": "none",
|
211
|
+
"appliesto": "allElementsSVGContainerElements",
|
212
|
+
"computed": "asSpecifiedURLsAbsolute",
|
213
|
+
"order": "perGrammar",
|
214
|
+
"status": "standard",
|
215
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-source",
|
216
|
+
"property": "mask-border-source",
|
217
|
+
"group": "CSS Masking"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"syntax": "[ <length-percentage> | <number> | auto ]{1,4}",
|
221
|
+
"media": "visual",
|
222
|
+
"inherited": false,
|
223
|
+
"animationType": "discrete",
|
224
|
+
"percentages": "relativeToMaskBorderImageArea",
|
225
|
+
"groups": [
|
226
|
+
"CSS Masking"
|
227
|
+
],
|
228
|
+
"initial": "auto",
|
229
|
+
"appliesto": "allElementsSVGContainerElements",
|
230
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
231
|
+
"order": "perGrammar",
|
232
|
+
"status": "standard",
|
233
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-border-width",
|
234
|
+
"property": "mask-border-width",
|
235
|
+
"group": "CSS Masking"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"syntax": "[ <geometry-box> | no-clip ]#",
|
239
|
+
"media": "visual",
|
240
|
+
"inherited": false,
|
241
|
+
"animationType": "discrete",
|
242
|
+
"percentages": "no",
|
243
|
+
"groups": [
|
244
|
+
"CSS Masking"
|
245
|
+
],
|
246
|
+
"initial": "border-box",
|
247
|
+
"appliesto": "allElementsSVGContainerElements",
|
248
|
+
"computed": "asSpecified",
|
249
|
+
"order": "perGrammar",
|
250
|
+
"status": "standard",
|
251
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-clip",
|
252
|
+
"property": "mask-clip",
|
253
|
+
"group": "CSS Masking"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"syntax": "<compositing-operator>#",
|
257
|
+
"media": "visual",
|
258
|
+
"inherited": false,
|
259
|
+
"animationType": "discrete",
|
260
|
+
"percentages": "no",
|
261
|
+
"groups": [
|
262
|
+
"CSS Masking"
|
263
|
+
],
|
264
|
+
"initial": "add",
|
265
|
+
"appliesto": "allElementsSVGContainerElements",
|
266
|
+
"computed": "asSpecified",
|
267
|
+
"order": "perGrammar",
|
268
|
+
"status": "standard",
|
269
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-composite",
|
270
|
+
"property": "mask-composite",
|
271
|
+
"group": "CSS Masking"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"syntax": "<mask-reference>#",
|
275
|
+
"media": "visual",
|
276
|
+
"inherited": false,
|
277
|
+
"animationType": "discrete",
|
278
|
+
"percentages": "no",
|
279
|
+
"groups": [
|
280
|
+
"CSS Masking"
|
281
|
+
],
|
282
|
+
"initial": "none",
|
283
|
+
"appliesto": "allElementsSVGContainerElements",
|
284
|
+
"computed": "asSpecifiedURLsAbsolute",
|
285
|
+
"order": "perGrammar",
|
286
|
+
"status": "standard",
|
287
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-image",
|
288
|
+
"property": "mask-image",
|
289
|
+
"group": "CSS Masking"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"syntax": "<masking-mode>#",
|
293
|
+
"media": "visual",
|
294
|
+
"inherited": false,
|
295
|
+
"animationType": "discrete",
|
296
|
+
"percentages": "no",
|
297
|
+
"groups": [
|
298
|
+
"CSS Masking"
|
299
|
+
],
|
300
|
+
"initial": "match-source",
|
301
|
+
"appliesto": "allElementsSVGContainerElements",
|
302
|
+
"computed": "asSpecified",
|
303
|
+
"order": "perGrammar",
|
304
|
+
"status": "standard",
|
305
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-mode",
|
306
|
+
"property": "mask-mode",
|
307
|
+
"group": "CSS Masking"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"syntax": "<geometry-box>#",
|
311
|
+
"media": "visual",
|
312
|
+
"inherited": false,
|
313
|
+
"animationType": "discrete",
|
314
|
+
"percentages": "no",
|
315
|
+
"groups": [
|
316
|
+
"CSS Masking"
|
317
|
+
],
|
318
|
+
"initial": "border-box",
|
319
|
+
"appliesto": "allElementsSVGContainerElements",
|
320
|
+
"computed": "asSpecified",
|
321
|
+
"order": "perGrammar",
|
322
|
+
"status": "standard",
|
323
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-origin",
|
324
|
+
"property": "mask-origin",
|
325
|
+
"group": "CSS Masking"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"syntax": "<position>#",
|
329
|
+
"media": "visual",
|
330
|
+
"inherited": false,
|
331
|
+
"animationType": "repeatableList",
|
332
|
+
"percentages": "referToSizeOfMaskPaintingArea",
|
333
|
+
"groups": [
|
334
|
+
"CSS Masking"
|
335
|
+
],
|
336
|
+
"initial": "center",
|
337
|
+
"appliesto": "allElementsSVGContainerElements",
|
338
|
+
"computed": "consistsOfTwoKeywordsForOriginAndOffsets",
|
339
|
+
"order": "perGrammar",
|
340
|
+
"status": "standard",
|
341
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-position",
|
342
|
+
"property": "mask-position",
|
343
|
+
"group": "CSS Masking"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"syntax": "<repeat-style>#",
|
347
|
+
"media": "visual",
|
348
|
+
"inherited": false,
|
349
|
+
"animationType": "discrete",
|
350
|
+
"percentages": "no",
|
351
|
+
"groups": [
|
352
|
+
"CSS Masking"
|
353
|
+
],
|
354
|
+
"initial": "repeat",
|
355
|
+
"appliesto": "allElementsSVGContainerElements",
|
356
|
+
"computed": "consistsOfTwoDimensionKeywords",
|
357
|
+
"order": "perGrammar",
|
358
|
+
"status": "standard",
|
359
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-repeat",
|
360
|
+
"property": "mask-repeat",
|
361
|
+
"group": "CSS Masking"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"syntax": "<bg-size>#",
|
365
|
+
"media": "visual",
|
366
|
+
"inherited": false,
|
367
|
+
"animationType": "repeatableList",
|
368
|
+
"percentages": "no",
|
369
|
+
"groups": [
|
370
|
+
"CSS Masking"
|
371
|
+
],
|
372
|
+
"initial": "auto",
|
373
|
+
"appliesto": "allElementsSVGContainerElements",
|
374
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
375
|
+
"order": "perGrammar",
|
376
|
+
"status": "standard",
|
377
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-size",
|
378
|
+
"property": "mask-size",
|
379
|
+
"group": "CSS Masking"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"syntax": "luminance | alpha",
|
383
|
+
"media": "visual",
|
384
|
+
"inherited": false,
|
385
|
+
"animationType": "discrete",
|
386
|
+
"percentages": "no",
|
387
|
+
"groups": [
|
388
|
+
"CSS Masking"
|
389
|
+
],
|
390
|
+
"initial": "luminance",
|
391
|
+
"appliesto": "maskElements",
|
392
|
+
"computed": "asSpecified",
|
393
|
+
"order": "perGrammar",
|
394
|
+
"status": "standard",
|
395
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mask-type",
|
396
|
+
"property": "mask-type",
|
397
|
+
"group": "CSS Masking"
|
398
|
+
}
|
399
|
+
]
|
@@ -0,0 +1,38 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "initial | inherit | unset | revert | revert-layer",
|
4
|
+
"media": "noPracticalMedia",
|
5
|
+
"inherited": false,
|
6
|
+
"animationType": "eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Miscellaneous"
|
10
|
+
],
|
11
|
+
"initial": "noPracticalInitialValue",
|
12
|
+
"appliesto": "allElements",
|
13
|
+
"computed": "asSpecifiedAppliesToEachProperty",
|
14
|
+
"order": "uniqueOrder",
|
15
|
+
"status": "standard",
|
16
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/all",
|
17
|
+
"property": "all",
|
18
|
+
"group": "CSS Miscellaneous"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"syntax": "auto | optimizeSpeed | optimizeLegibility | geometricPrecision",
|
22
|
+
"media": "visual",
|
23
|
+
"inherited": true,
|
24
|
+
"animationType": "discrete",
|
25
|
+
"percentages": "no",
|
26
|
+
"groups": [
|
27
|
+
"CSS Miscellaneous"
|
28
|
+
],
|
29
|
+
"initial": "auto",
|
30
|
+
"appliesto": "textElements",
|
31
|
+
"computed": "asSpecified",
|
32
|
+
"order": "uniqueOrder",
|
33
|
+
"status": "standard",
|
34
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-rendering",
|
35
|
+
"property": "text-rendering",
|
36
|
+
"group": "CSS Miscellaneous"
|
37
|
+
}
|
38
|
+
]
|
@@ -0,0 +1,132 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": false,
|
6
|
+
"animationType": [
|
7
|
+
"offset-position",
|
8
|
+
"offset-path",
|
9
|
+
"offset-distance",
|
10
|
+
"offset-anchor",
|
11
|
+
"offset-rotate"
|
12
|
+
],
|
13
|
+
"percentages": [
|
14
|
+
"offset-position",
|
15
|
+
"offset-distance",
|
16
|
+
"offset-anchor"
|
17
|
+
],
|
18
|
+
"groups": [
|
19
|
+
"CSS Motion Path"
|
20
|
+
],
|
21
|
+
"initial": [
|
22
|
+
"offset-position",
|
23
|
+
"offset-path",
|
24
|
+
"offset-distance",
|
25
|
+
"offset-anchor",
|
26
|
+
"offset-rotate"
|
27
|
+
],
|
28
|
+
"appliesto": "transformableElements",
|
29
|
+
"computed": [
|
30
|
+
"offset-position",
|
31
|
+
"offset-path",
|
32
|
+
"offset-distance",
|
33
|
+
"offset-anchor",
|
34
|
+
"offset-rotate"
|
35
|
+
],
|
36
|
+
"order": "perGrammar",
|
37
|
+
"stacking": true,
|
38
|
+
"status": "standard",
|
39
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset",
|
40
|
+
"property": "offset",
|
41
|
+
"group": "CSS Motion Path"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"syntax": "auto | <position>",
|
45
|
+
"media": "visual",
|
46
|
+
"inherited": false,
|
47
|
+
"animationType": "position",
|
48
|
+
"percentages": "relativeToWidthAndHeight",
|
49
|
+
"groups": [
|
50
|
+
"CSS Motion Path"
|
51
|
+
],
|
52
|
+
"initial": "auto",
|
53
|
+
"appliesto": "transformableElements",
|
54
|
+
"computed": "forLengthAbsoluteValueOtherwisePercentage",
|
55
|
+
"order": "perGrammar",
|
56
|
+
"status": "standard",
|
57
|
+
"property": "offset-anchor",
|
58
|
+
"group": "CSS Motion Path"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"syntax": "<length-percentage>",
|
62
|
+
"media": "visual",
|
63
|
+
"inherited": false,
|
64
|
+
"animationType": "lpc",
|
65
|
+
"percentages": "referToTotalPathLength",
|
66
|
+
"groups": [
|
67
|
+
"CSS Motion Path"
|
68
|
+
],
|
69
|
+
"initial": "0",
|
70
|
+
"appliesto": "transformableElements",
|
71
|
+
"computed": "forLengthAbsoluteValueOtherwisePercentage",
|
72
|
+
"order": "perGrammar",
|
73
|
+
"status": "standard",
|
74
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-distance",
|
75
|
+
"property": "offset-distance",
|
76
|
+
"group": "CSS Motion Path"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"syntax": "none | <offset-path> || <coord-box>",
|
80
|
+
"media": "visual",
|
81
|
+
"inherited": false,
|
82
|
+
"animationType": "byComputedValueType",
|
83
|
+
"percentages": "no",
|
84
|
+
"groups": [
|
85
|
+
"CSS Motion Path"
|
86
|
+
],
|
87
|
+
"initial": "none",
|
88
|
+
"appliesto": "transformableElements",
|
89
|
+
"computed": "asSpecified",
|
90
|
+
"order": "perGrammar",
|
91
|
+
"stacking": true,
|
92
|
+
"status": "standard",
|
93
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-path",
|
94
|
+
"property": "offset-path",
|
95
|
+
"group": "CSS Motion Path"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"syntax": "normal | auto | <position>",
|
99
|
+
"media": "visual",
|
100
|
+
"inherited": false,
|
101
|
+
"animationType": "position",
|
102
|
+
"percentages": "referToSizeOfContainingBlock",
|
103
|
+
"groups": [
|
104
|
+
"CSS Motion Path"
|
105
|
+
],
|
106
|
+
"initial": "auto",
|
107
|
+
"appliesto": "transformableElements",
|
108
|
+
"computed": "forLengthAbsoluteValueOtherwisePercentage",
|
109
|
+
"order": "perGrammar",
|
110
|
+
"status": "experimental",
|
111
|
+
"property": "offset-position",
|
112
|
+
"group": "CSS Motion Path"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"syntax": "[ auto | reverse ] || <angle>",
|
116
|
+
"media": "visual",
|
117
|
+
"inherited": false,
|
118
|
+
"animationType": "angleOrBasicShapeOrPath",
|
119
|
+
"percentages": "no",
|
120
|
+
"groups": [
|
121
|
+
"CSS Motion Path"
|
122
|
+
],
|
123
|
+
"initial": "auto",
|
124
|
+
"appliesto": "transformableElements",
|
125
|
+
"computed": "asSpecified",
|
126
|
+
"order": "perGrammar",
|
127
|
+
"status": "standard",
|
128
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-rotate",
|
129
|
+
"property": "offset-rotate",
|
130
|
+
"group": "CSS Motion Path"
|
131
|
+
}
|
132
|
+
]
|