@stylexjs/shared 0.2.0-beta.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. package/README.md +81 -0
  2. package/lib/common-types.d.ts +50 -0
  3. package/lib/common-types.js.flow +65 -0
  4. package/lib/convert-to-className.d.ts +16 -0
  5. package/lib/convert-to-className.js +17 -26
  6. package/lib/convert-to-className.js.flow +23 -0
  7. package/lib/generate-css-rule.d.ts +17 -0
  8. package/lib/generate-css-rule.js +8 -47
  9. package/lib/generate-css-rule.js.flow +17 -0
  10. package/lib/hash.d.ts +11 -0
  11. package/lib/hash.js +3 -27
  12. package/lib/hash.js.flow +10 -0
  13. package/lib/index.d.ts +42 -85
  14. package/lib/index.js +19 -27
  15. package/lib/index.js.flow +59 -0
  16. package/lib/messages.d.ts +36 -0
  17. package/lib/messages.js +28 -55
  18. package/lib/messages.js.flow +39 -0
  19. package/lib/physical-rtl/generate-ltr.d.ts +11 -0
  20. package/lib/physical-rtl/generate-ltr.js +18 -46
  21. package/lib/physical-rtl/generate-ltr.js.flow +12 -0
  22. package/lib/physical-rtl/generate-rtl.d.ts +13 -0
  23. package/lib/physical-rtl/generate-rtl.js +18 -50
  24. package/lib/physical-rtl/generate-rtl.js.flow +12 -0
  25. package/lib/preprocess-rules/PreRule.d.ts +52 -0
  26. package/lib/preprocess-rules/PreRule.js +87 -0
  27. package/lib/preprocess-rules/PreRule.js.flow +64 -0
  28. package/lib/preprocess-rules/application-order.d.ts +290 -0
  29. package/lib/preprocess-rules/application-order.js +193 -0
  30. package/lib/preprocess-rules/application-order.js.flow +241 -0
  31. package/lib/preprocess-rules/basic-validation.d.ts +13 -0
  32. package/lib/preprocess-rules/basic-validation.js +83 -0
  33. package/lib/preprocess-rules/basic-validation.js.flow +13 -0
  34. package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +25 -0
  35. package/lib/preprocess-rules/flatten-raw-style-obj.js +120 -0
  36. package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +27 -0
  37. package/lib/preprocess-rules/index.d.ts +18 -0
  38. package/lib/preprocess-rules/index.js +30 -0
  39. package/lib/preprocess-rules/index.js.flow +19 -0
  40. package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +200 -0
  41. package/lib/preprocess-rules/legacy-expand-shorthands.js +136 -0
  42. package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +179 -0
  43. package/lib/preprocess-rules/property-specificity.d.ts +89 -0
  44. package/lib/preprocess-rules/property-specificity.js +107 -0
  45. package/lib/preprocess-rules/property-specificity.js.flow +98 -0
  46. package/lib/properties/CSS Animations.json +445 -0
  47. package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
  48. package/lib/properties/CSS Basic User Interface.json +365 -0
  49. package/lib/properties/CSS Box Alignment.json +245 -0
  50. package/lib/properties/CSS Box Model.json +501 -0
  51. package/lib/properties/CSS Color.json +100 -0
  52. package/lib/properties/CSS Columns.json +185 -0
  53. package/lib/properties/CSS Containment.json +203 -0
  54. package/lib/properties/CSS Counter Styles.json +56 -0
  55. package/lib/properties/CSS Display.json +20 -0
  56. package/lib/properties/CSS Flexible Box Layout.json +167 -0
  57. package/lib/properties/CSS Fonts.json +684 -0
  58. package/lib/properties/CSS Fragmentation.json +110 -0
  59. package/lib/properties/CSS Generated Content.json +38 -0
  60. package/lib/properties/CSS Grid Layout.json +500 -0
  61. package/lib/properties/CSS Images.json +91 -0
  62. package/lib/properties/CSS Inline.json +38 -0
  63. package/lib/properties/CSS Lists and Counters.json +86 -0
  64. package/lib/properties/CSS Logical Properties.json +1086 -0
  65. package/lib/properties/CSS Masking.json +399 -0
  66. package/lib/properties/CSS Miscellaneous.json +38 -0
  67. package/lib/properties/CSS Motion Path.json +132 -0
  68. package/lib/properties/CSS Overflow.json +216 -0
  69. package/lib/properties/CSS Pages.json +83 -0
  70. package/lib/properties/CSS Positioning.json +166 -0
  71. package/lib/properties/CSS Ruby.json +55 -0
  72. package/lib/properties/CSS Scroll Anchoring.json +19 -0
  73. package/lib/properties/CSS Scroll Snap.json +604 -0
  74. package/lib/properties/CSS Scrollbars.json +38 -0
  75. package/lib/properties/CSS Shapes.json +56 -0
  76. package/lib/properties/CSS Speech.json +20 -0
  77. package/lib/properties/CSS Table.json +115 -0
  78. package/lib/properties/CSS Text Decoration.json +312 -0
  79. package/lib/properties/CSS Text.json +415 -0
  80. package/lib/properties/CSS Transforms.json +188 -0
  81. package/lib/properties/CSS Transitions.json +122 -0
  82. package/lib/properties/CSS Variables.json +20 -0
  83. package/lib/properties/CSS View Transitions.json +20 -0
  84. package/lib/properties/CSS Will Change.json +20 -0
  85. package/lib/properties/CSS Writing Modes.json +92 -0
  86. package/lib/properties/Compositing and Blending.json +62 -0
  87. package/lib/properties/Filter Effects.json +38 -0
  88. package/lib/properties/MathML.json +56 -0
  89. package/lib/properties/Microsoft Extensions.json +885 -0
  90. package/lib/properties/Mozilla Extensions.json +607 -0
  91. package/lib/properties/Pointer Events.json +20 -0
  92. package/lib/properties/WebKit Extensions.json +707 -0
  93. package/lib/properties.json +10122 -0
  94. package/lib/stylex-create-theme.d.ts +26 -0
  95. package/lib/stylex-create-theme.js +62 -0
  96. package/lib/stylex-create-theme.js.flow +19 -0
  97. package/lib/stylex-create.d.ts +23 -0
  98. package/lib/stylex-create.js +30 -142
  99. package/lib/stylex-create.js.flow +30 -0
  100. package/lib/stylex-define-vars.d.ts +36 -0
  101. package/lib/stylex-define-vars.js +72 -0
  102. package/lib/stylex-define-vars.js.flow +28 -0
  103. package/lib/stylex-first-that-works.d.ts +13 -0
  104. package/lib/stylex-first-that-works.js +0 -10
  105. package/lib/stylex-first-that-works.js.flow +12 -0
  106. package/lib/stylex-include.d.ts +18 -0
  107. package/lib/stylex-include.js +0 -10
  108. package/lib/stylex-include.js.flow +20 -0
  109. package/lib/stylex-keyframes.d.ts +17 -0
  110. package/lib/stylex-keyframes.js +22 -30
  111. package/lib/stylex-keyframes.js.flow +20 -0
  112. package/lib/transform-value.d.ts +22 -0
  113. package/lib/transform-value.js +9 -23
  114. package/lib/transform-value.js.flow +25 -0
  115. package/lib/types/index.d.ts +205 -0
  116. package/lib/types/index.js +191 -0
  117. package/lib/types/index.js.flow +241 -0
  118. package/lib/utils/Rule.d.ts +58 -0
  119. package/lib/utils/Rule.js +50 -0
  120. package/lib/utils/Rule.js.flow +64 -0
  121. package/lib/utils/dashify.d.ts +11 -0
  122. package/lib/utils/dashify.js +0 -8
  123. package/lib/utils/dashify.js.flow +10 -0
  124. package/lib/utils/default-options.d.ts +11 -0
  125. package/lib/utils/default-options.js +14 -0
  126. package/lib/utils/default-options.js.flow +25 -0
  127. package/lib/utils/file-based-identifier.d.ts +15 -0
  128. package/lib/utils/file-based-identifier.js +14 -0
  129. package/lib/utils/file-based-identifier.js.flow +14 -0
  130. package/lib/utils/genCSSRule.d.ts +15 -0
  131. package/lib/utils/genCSSRule.js +9 -18
  132. package/lib/utils/genCSSRule.js.flow +15 -0
  133. package/lib/utils/normalize-value.d.ts +16 -0
  134. package/lib/utils/normalize-value.js +11 -15
  135. package/lib/utils/normalize-value.js.flow +16 -0
  136. package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
  137. package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
  138. package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
  139. package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
  140. package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
  141. package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
  142. package/lib/utils/normalizers/detect-unclosed-fns.d.ts +17 -0
  143. package/lib/utils/normalizers/detect-unclosed-fns.js +0 -12
  144. package/lib/utils/normalizers/detect-unclosed-fns.js.flow +16 -0
  145. package/lib/utils/normalizers/font-size-px-to-rem.d.ts +19 -0
  146. package/lib/utils/normalizers/font-size-px-to-rem.js +9 -19
  147. package/lib/utils/normalizers/font-size-px-to-rem.js.flow +18 -0
  148. package/lib/utils/normalizers/leading-zero.d.ts +17 -0
  149. package/lib/utils/normalizers/leading-zero.js +0 -12
  150. package/lib/utils/normalizers/leading-zero.js.flow +16 -0
  151. package/lib/utils/normalizers/quotes.d.ts +18 -0
  152. package/lib/utils/normalizers/quotes.js +0 -13
  153. package/lib/utils/normalizers/quotes.js.flow +17 -0
  154. package/lib/utils/normalizers/timings.d.ts +18 -0
  155. package/lib/utils/normalizers/timings.js +0 -14
  156. package/lib/utils/normalizers/timings.js.flow +17 -0
  157. package/lib/utils/normalizers/whitespace.d.ts +19 -0
  158. package/lib/utils/normalizers/whitespace.js +0 -15
  159. package/lib/utils/normalizers/whitespace.js.flow +18 -0
  160. package/lib/utils/normalizers/zero-dimensions.d.ts +19 -0
  161. package/lib/utils/normalizers/zero-dimensions.js +0 -15
  162. package/lib/utils/normalizers/zero-dimensions.js.flow +18 -0
  163. package/lib/utils/object-utils.d.ts +66 -0
  164. package/lib/utils/object-utils.js +21 -13
  165. package/lib/utils/object-utils.js.flow +77 -0
  166. package/lib/utils/property-priorities.d.ts +11 -0
  167. package/lib/utils/property-priorities.js +531 -0
  168. package/lib/utils/property-priorities.js.flow +10 -0
  169. package/lib/utils/split-css-value.d.ts +14 -0
  170. package/lib/utils/split-css-value.js +33 -0
  171. package/lib/utils/split-css-value.js.flow +15 -0
  172. package/lib/validate.d.ts +12 -0
  173. package/lib/validate.js +1 -10
  174. package/lib/validate.js.flow +12 -0
  175. package/package.json +4 -5
  176. package/lib/expand-shorthands.d.ts +0 -5
  177. package/lib/expand-shorthands.js +0 -387
  178. package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,684 @@
1
+ [
2
+ {
3
+ "syntax": "[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",
4
+ "media": "visual",
5
+ "inherited": true,
6
+ "animationType": [
7
+ "font-style",
8
+ "font-variant",
9
+ "font-weight",
10
+ "font-stretch",
11
+ "font-size",
12
+ "line-height",
13
+ "font-family"
14
+ ],
15
+ "percentages": [
16
+ "font-size",
17
+ "line-height"
18
+ ],
19
+ "groups": [
20
+ "CSS Fonts"
21
+ ],
22
+ "initial": [
23
+ "font-style",
24
+ "font-variant",
25
+ "font-weight",
26
+ "font-stretch",
27
+ "font-size",
28
+ "line-height",
29
+ "font-family"
30
+ ],
31
+ "appliesto": "allElementsAndText",
32
+ "computed": [
33
+ "font-style",
34
+ "font-variant",
35
+ "font-weight",
36
+ "font-stretch",
37
+ "font-size",
38
+ "line-height",
39
+ "font-family"
40
+ ],
41
+ "order": "orderOfAppearance",
42
+ "alsoAppliesTo": [
43
+ "::first-letter",
44
+ "::first-line",
45
+ "::placeholder"
46
+ ],
47
+ "status": "standard",
48
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font",
49
+ "property": "font",
50
+ "group": "CSS Fonts"
51
+ },
52
+ {
53
+ "syntax": "[ <family-name> | <generic-family> ]#",
54
+ "media": "visual",
55
+ "inherited": true,
56
+ "animationType": "discrete",
57
+ "percentages": "no",
58
+ "groups": [
59
+ "CSS Fonts"
60
+ ],
61
+ "initial": "dependsOnUserAgent",
62
+ "appliesto": "allElementsAndText",
63
+ "computed": "asSpecified",
64
+ "order": "uniqueOrder",
65
+ "alsoAppliesTo": [
66
+ "::first-letter",
67
+ "::first-line",
68
+ "::placeholder"
69
+ ],
70
+ "status": "standard",
71
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-family",
72
+ "property": "font-family",
73
+ "group": "CSS Fonts"
74
+ },
75
+ {
76
+ "syntax": "normal | <feature-tag-value>#",
77
+ "media": "visual",
78
+ "inherited": true,
79
+ "animationType": "discrete",
80
+ "percentages": "no",
81
+ "groups": [
82
+ "CSS Fonts"
83
+ ],
84
+ "initial": "normal",
85
+ "appliesto": "allElementsAndText",
86
+ "computed": "asSpecified",
87
+ "order": "uniqueOrder",
88
+ "alsoAppliesTo": [
89
+ "::first-letter",
90
+ "::first-line",
91
+ "::placeholder"
92
+ ],
93
+ "status": "standard",
94
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-feature-settings",
95
+ "property": "font-feature-settings",
96
+ "group": "CSS Fonts"
97
+ },
98
+ {
99
+ "syntax": "auto | normal | none",
100
+ "media": "visual",
101
+ "inherited": true,
102
+ "animationType": "discrete",
103
+ "percentages": "no",
104
+ "groups": [
105
+ "CSS Fonts"
106
+ ],
107
+ "initial": "auto",
108
+ "appliesto": "allElementsAndText",
109
+ "computed": "asSpecified",
110
+ "order": "uniqueOrder",
111
+ "alsoAppliesTo": [
112
+ "::first-letter",
113
+ "::first-line",
114
+ "::placeholder"
115
+ ],
116
+ "status": "standard",
117
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-kerning",
118
+ "property": "font-kerning",
119
+ "group": "CSS Fonts"
120
+ },
121
+ {
122
+ "syntax": "normal | <string>",
123
+ "media": "visual",
124
+ "inherited": true,
125
+ "animationType": "discrete",
126
+ "percentages": "no",
127
+ "groups": [
128
+ "CSS Fonts"
129
+ ],
130
+ "initial": "normal",
131
+ "appliesto": "allElementsAndText",
132
+ "computed": "asSpecified",
133
+ "order": "uniqueOrder",
134
+ "alsoAppliesTo": [
135
+ "::first-letter",
136
+ "::first-line",
137
+ "::placeholder"
138
+ ],
139
+ "status": "standard",
140
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-language-override",
141
+ "property": "font-language-override",
142
+ "group": "CSS Fonts"
143
+ },
144
+ {
145
+ "syntax": "auto | none",
146
+ "media": "visual",
147
+ "inherited": true,
148
+ "animationType": "discrete",
149
+ "percentages": "no",
150
+ "groups": [
151
+ "CSS Fonts"
152
+ ],
153
+ "initial": "auto",
154
+ "appliesto": "allElementsAndText",
155
+ "computed": "asSpecified",
156
+ "order": "perGrammar",
157
+ "alsoAppliesTo": [
158
+ "::first-letter",
159
+ "::first-line",
160
+ "::placeholder"
161
+ ],
162
+ "status": "standard",
163
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing",
164
+ "property": "font-optical-sizing",
165
+ "group": "CSS Fonts"
166
+ },
167
+ {
168
+ "syntax": "normal | light | dark | <palette-identifier>",
169
+ "media": "visual",
170
+ "inherited": true,
171
+ "animationType": "discrete",
172
+ "percentages": "no",
173
+ "groups": [
174
+ "CSS Fonts"
175
+ ],
176
+ "initial": "normal",
177
+ "appliesto": "allElementsAndText",
178
+ "computed": "asSpecified",
179
+ "order": "perGrammar",
180
+ "alsoAppliesTo": [
181
+ "::first-letter",
182
+ "::first-line",
183
+ "::placeholder"
184
+ ],
185
+ "status": "standard",
186
+ "property": "font-palette",
187
+ "group": "CSS Fonts"
188
+ },
189
+ {
190
+ "syntax": "normal | [ <string> <number> ]#",
191
+ "media": "visual",
192
+ "inherited": true,
193
+ "animationType": "transform",
194
+ "percentages": "no",
195
+ "groups": [
196
+ "CSS Fonts"
197
+ ],
198
+ "initial": "normal",
199
+ "appliesto": "allElements",
200
+ "computed": "asSpecified",
201
+ "order": "perGrammar",
202
+ "alsoAppliesTo": [
203
+ "::first-letter",
204
+ "::first-line",
205
+ "::placeholder"
206
+ ],
207
+ "status": "standard",
208
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variation-settings",
209
+ "property": "font-variation-settings",
210
+ "group": "CSS Fonts"
211
+ },
212
+ {
213
+ "syntax": "<absolute-size> | <relative-size> | <length-percentage>",
214
+ "media": "visual",
215
+ "inherited": true,
216
+ "animationType": "length",
217
+ "percentages": "referToParentElementsFontSize",
218
+ "groups": [
219
+ "CSS Fonts"
220
+ ],
221
+ "initial": "medium",
222
+ "appliesto": "allElementsAndText",
223
+ "computed": "asSpecifiedRelativeToAbsoluteLengths",
224
+ "order": "uniqueOrder",
225
+ "alsoAppliesTo": [
226
+ "::first-letter",
227
+ "::first-line",
228
+ "::placeholder"
229
+ ],
230
+ "status": "standard",
231
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-size",
232
+ "property": "font-size",
233
+ "group": "CSS Fonts"
234
+ },
235
+ {
236
+ "syntax": "none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number> ]",
237
+ "media": "visual",
238
+ "inherited": true,
239
+ "animationType": "number",
240
+ "percentages": "no",
241
+ "groups": [
242
+ "CSS Fonts"
243
+ ],
244
+ "initial": "none",
245
+ "appliesto": "allElementsAndText",
246
+ "computed": "asSpecified",
247
+ "order": "uniqueOrder",
248
+ "alsoAppliesTo": [
249
+ "::first-letter",
250
+ "::first-line",
251
+ "::placeholder"
252
+ ],
253
+ "status": "standard",
254
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-size-adjust",
255
+ "property": "font-size-adjust",
256
+ "group": "CSS Fonts"
257
+ },
258
+ {
259
+ "syntax": "auto | never | always | <absolute-size> | <length>",
260
+ "media": "visual",
261
+ "inherited": true,
262
+ "animationType": "discrete",
263
+ "percentages": "no",
264
+ "groups": [
265
+ "CSS Fonts"
266
+ ],
267
+ "initial": "auto",
268
+ "appliesto": "allElements",
269
+ "computed": "asSpecified",
270
+ "order": "uniqueOrder",
271
+ "status": "nonstandard",
272
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-smooth",
273
+ "property": "font-smooth",
274
+ "group": "CSS Fonts"
275
+ },
276
+ {
277
+ "syntax": "<font-stretch-absolute>",
278
+ "media": "visual",
279
+ "inherited": true,
280
+ "animationType": "fontStretch",
281
+ "percentages": "no",
282
+ "groups": [
283
+ "CSS Fonts"
284
+ ],
285
+ "initial": "normal",
286
+ "appliesto": "allElementsAndText",
287
+ "computed": "asSpecified",
288
+ "order": "uniqueOrder",
289
+ "alsoAppliesTo": [
290
+ "::first-letter",
291
+ "::first-line",
292
+ "::placeholder"
293
+ ],
294
+ "status": "standard",
295
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-stretch",
296
+ "property": "font-stretch",
297
+ "group": "CSS Fonts"
298
+ },
299
+ {
300
+ "syntax": "normal | italic | oblique <angle>?",
301
+ "media": "visual",
302
+ "inherited": true,
303
+ "animationType": "byComputedValueTypeNormalAnimatesAsObliqueZeroDeg",
304
+ "percentages": "no",
305
+ "groups": [
306
+ "CSS Fonts"
307
+ ],
308
+ "initial": "normal",
309
+ "appliesto": "allElementsAndText",
310
+ "computed": "asSpecified",
311
+ "order": "uniqueOrder",
312
+ "alsoAppliesTo": [
313
+ "::first-letter",
314
+ "::first-line",
315
+ "::placeholder"
316
+ ],
317
+ "status": "standard",
318
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-style",
319
+ "property": "font-style",
320
+ "group": "CSS Fonts"
321
+ },
322
+ {
323
+ "syntax": "none | [ weight || style || small-caps || position]",
324
+ "media": "visual",
325
+ "inherited": true,
326
+ "animationType": "discrete",
327
+ "percentages": "no",
328
+ "groups": [
329
+ "CSS Fonts"
330
+ ],
331
+ "initial": "weight style small-caps position ",
332
+ "appliesto": "allElementsAndText",
333
+ "computed": "asSpecified",
334
+ "order": "orderOfAppearance",
335
+ "alsoAppliesTo": [
336
+ "::first-letter",
337
+ "::first-line",
338
+ "::placeholder"
339
+ ],
340
+ "status": "standard",
341
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-synthesis",
342
+ "property": "font-synthesis",
343
+ "group": "CSS Fonts"
344
+ },
345
+ {
346
+ "syntax": "auto | none",
347
+ "media": "visual",
348
+ "inherited": true,
349
+ "animationType": "discrete",
350
+ "percentages": "no",
351
+ "groups": [
352
+ "CSS Fonts"
353
+ ],
354
+ "initial": "none",
355
+ "appliesto": "allElementsAndText",
356
+ "computed": "asSpecified",
357
+ "order": "orderOfAppearance",
358
+ "alsoAppliesTo": [
359
+ "::first-letter",
360
+ "::first-line",
361
+ "::placeholder"
362
+ ],
363
+ "status": "experimental",
364
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-synthesis-position",
365
+ "property": "font-synthesis-position",
366
+ "group": "CSS Fonts"
367
+ },
368
+ {
369
+ "syntax": "auto | none",
370
+ "media": "visual",
371
+ "inherited": true,
372
+ "animationType": "discrete",
373
+ "percentages": "no",
374
+ "groups": [
375
+ "CSS Fonts"
376
+ ],
377
+ "initial": "auto",
378
+ "appliesto": "allElementsAndText",
379
+ "computed": "asSpecified",
380
+ "order": "orderOfAppearance",
381
+ "alsoAppliesTo": [
382
+ "::first-letter",
383
+ "::first-line",
384
+ "::placeholder"
385
+ ],
386
+ "status": "standard",
387
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps",
388
+ "property": "font-synthesis-small-caps",
389
+ "group": "CSS Fonts"
390
+ },
391
+ {
392
+ "syntax": "auto | none",
393
+ "media": "visual",
394
+ "inherited": true,
395
+ "animationType": "discrete",
396
+ "percentages": "no",
397
+ "groups": [
398
+ "CSS Fonts"
399
+ ],
400
+ "initial": "auto",
401
+ "appliesto": "allElementsAndText",
402
+ "computed": "asSpecified",
403
+ "order": "orderOfAppearance",
404
+ "alsoAppliesTo": [
405
+ "::first-letter",
406
+ "::first-line",
407
+ "::placeholder"
408
+ ],
409
+ "status": "standard",
410
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style",
411
+ "property": "font-synthesis-style",
412
+ "group": "CSS Fonts"
413
+ },
414
+ {
415
+ "syntax": "auto | none",
416
+ "media": "visual",
417
+ "inherited": true,
418
+ "animationType": "discrete",
419
+ "percentages": "no",
420
+ "groups": [
421
+ "CSS Fonts"
422
+ ],
423
+ "initial": "auto",
424
+ "appliesto": "allElementsAndText",
425
+ "computed": "asSpecified",
426
+ "order": "orderOfAppearance",
427
+ "alsoAppliesTo": [
428
+ "::first-letter",
429
+ "::first-line",
430
+ "::placeholder"
431
+ ],
432
+ "status": "standard",
433
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight",
434
+ "property": "font-synthesis-weight",
435
+ "group": "CSS Fonts"
436
+ },
437
+ {
438
+ "syntax": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",
439
+ "media": "visual",
440
+ "inherited": true,
441
+ "animationType": "discrete",
442
+ "percentages": "no",
443
+ "groups": [
444
+ "CSS Fonts"
445
+ ],
446
+ "initial": "normal",
447
+ "appliesto": "allElementsAndText",
448
+ "computed": "asSpecified",
449
+ "order": "uniqueOrder",
450
+ "alsoAppliesTo": [
451
+ "::first-letter",
452
+ "::first-line",
453
+ "::placeholder"
454
+ ],
455
+ "status": "standard",
456
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant",
457
+ "property": "font-variant",
458
+ "group": "CSS Fonts"
459
+ },
460
+ {
461
+ "syntax": "normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",
462
+ "media": "visual",
463
+ "inherited": true,
464
+ "animationType": "discrete",
465
+ "percentages": "no",
466
+ "groups": [
467
+ "CSS Fonts"
468
+ ],
469
+ "initial": "normal",
470
+ "appliesto": "allElementsAndText",
471
+ "computed": "asSpecified",
472
+ "order": "orderOfAppearance",
473
+ "alsoAppliesTo": [
474
+ "::first-letter",
475
+ "::first-line",
476
+ "::placeholder"
477
+ ],
478
+ "status": "standard",
479
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates",
480
+ "property": "font-variant-alternates",
481
+ "group": "CSS Fonts"
482
+ },
483
+ {
484
+ "syntax": "normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",
485
+ "media": "visual",
486
+ "inherited": true,
487
+ "animationType": "discrete",
488
+ "percentages": "no",
489
+ "groups": [
490
+ "CSS Fonts"
491
+ ],
492
+ "initial": "normal",
493
+ "appliesto": "allElementsAndText",
494
+ "computed": "asSpecified",
495
+ "order": "uniqueOrder",
496
+ "alsoAppliesTo": [
497
+ "::first-letter",
498
+ "::first-line",
499
+ "::placeholder"
500
+ ],
501
+ "status": "standard",
502
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-caps",
503
+ "property": "font-variant-caps",
504
+ "group": "CSS Fonts"
505
+ },
506
+ {
507
+ "syntax": "normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",
508
+ "media": "visual",
509
+ "inherited": true,
510
+ "animationType": "discrete",
511
+ "percentages": "no",
512
+ "groups": [
513
+ "CSS Fonts"
514
+ ],
515
+ "initial": "normal",
516
+ "appliesto": "allElementsAndText",
517
+ "computed": "asSpecified",
518
+ "order": "orderOfAppearance",
519
+ "alsoAppliesTo": [
520
+ "::first-letter",
521
+ "::first-line",
522
+ "::placeholder"
523
+ ],
524
+ "status": "standard",
525
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian",
526
+ "property": "font-variant-east-asian",
527
+ "group": "CSS Fonts"
528
+ },
529
+ {
530
+ "syntax": "normal | text | emoji | unicode",
531
+ "media": "visual",
532
+ "inherited": true,
533
+ "animationType": "discrete",
534
+ "percentages": "no",
535
+ "groups": [
536
+ "CSS Fonts"
537
+ ],
538
+ "initial": "normal",
539
+ "appliesto": "allElementsAndText",
540
+ "computed": "asSpecified",
541
+ "order": "perGrammar",
542
+ "alsoAppliesTo": [
543
+ "::first-letter",
544
+ "::first-line",
545
+ "::placeholder"
546
+ ],
547
+ "status": "standard",
548
+ "property": "font-variant-emoji",
549
+ "group": "CSS Fonts"
550
+ },
551
+ {
552
+ "syntax": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",
553
+ "media": "visual",
554
+ "inherited": true,
555
+ "animationType": "discrete",
556
+ "percentages": "no",
557
+ "groups": [
558
+ "CSS Fonts"
559
+ ],
560
+ "initial": "normal",
561
+ "appliesto": "allElementsAndText",
562
+ "computed": "asSpecified",
563
+ "order": "orderOfAppearance",
564
+ "alsoAppliesTo": [
565
+ "::first-letter",
566
+ "::first-line",
567
+ "::placeholder"
568
+ ],
569
+ "status": "standard",
570
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures",
571
+ "property": "font-variant-ligatures",
572
+ "group": "CSS Fonts"
573
+ },
574
+ {
575
+ "syntax": "normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",
576
+ "media": "visual",
577
+ "inherited": true,
578
+ "animationType": "discrete",
579
+ "percentages": "no",
580
+ "groups": [
581
+ "CSS Fonts"
582
+ ],
583
+ "initial": "normal",
584
+ "appliesto": "allElementsAndText",
585
+ "computed": "asSpecified",
586
+ "order": "orderOfAppearance",
587
+ "alsoAppliesTo": [
588
+ "::first-letter",
589
+ "::first-line",
590
+ "::placeholder"
591
+ ],
592
+ "status": "standard",
593
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric",
594
+ "property": "font-variant-numeric",
595
+ "group": "CSS Fonts"
596
+ },
597
+ {
598
+ "syntax": "normal | sub | super",
599
+ "media": "visual",
600
+ "inherited": true,
601
+ "animationType": "discrete",
602
+ "percentages": "no",
603
+ "groups": [
604
+ "CSS Fonts"
605
+ ],
606
+ "initial": "normal",
607
+ "appliesto": "allElementsAndText",
608
+ "computed": "asSpecified",
609
+ "order": "uniqueOrder",
610
+ "alsoAppliesTo": [
611
+ "::first-letter",
612
+ "::first-line",
613
+ "::placeholder"
614
+ ],
615
+ "status": "standard",
616
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-variant-position",
617
+ "property": "font-variant-position",
618
+ "group": "CSS Fonts"
619
+ },
620
+ {
621
+ "syntax": "<font-weight-absolute> | bolder | lighter",
622
+ "media": "visual",
623
+ "inherited": true,
624
+ "animationType": "fontWeight",
625
+ "percentages": "no",
626
+ "groups": [
627
+ "CSS Fonts"
628
+ ],
629
+ "initial": "normal",
630
+ "appliesto": "allElementsAndText",
631
+ "computed": "keywordOrNumericalValueBolderLighterTransformedToRealValue",
632
+ "order": "uniqueOrder",
633
+ "alsoAppliesTo": [
634
+ "::first-letter",
635
+ "::first-line",
636
+ "::placeholder"
637
+ ],
638
+ "status": "standard",
639
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-weight",
640
+ "property": "font-weight",
641
+ "group": "CSS Fonts"
642
+ },
643
+ {
644
+ "syntax": "normal | <number> | <length> | <percentage>",
645
+ "media": "visual",
646
+ "inherited": true,
647
+ "animationType": "numberOrLength",
648
+ "percentages": "referToElementFontSize",
649
+ "groups": [
650
+ "CSS Fonts"
651
+ ],
652
+ "initial": "normal",
653
+ "appliesto": "allElements",
654
+ "computed": "absoluteLengthOrAsSpecified",
655
+ "order": "uniqueOrder",
656
+ "alsoAppliesTo": [
657
+ "::first-letter",
658
+ "::first-line",
659
+ "::placeholder"
660
+ ],
661
+ "status": "standard",
662
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/line-height",
663
+ "property": "line-height",
664
+ "group": "CSS Fonts"
665
+ },
666
+ {
667
+ "syntax": "<length>",
668
+ "media": "visual",
669
+ "inherited": true,
670
+ "animationType": "byComputedValueType",
671
+ "percentages": "no",
672
+ "groups": [
673
+ "CSS Fonts"
674
+ ],
675
+ "initial": "0",
676
+ "appliesto": "blockContainers",
677
+ "computed": "absoluteLength",
678
+ "order": "perGrammar",
679
+ "status": "experimental",
680
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/line-height-step",
681
+ "property": "line-height-step",
682
+ "group": "CSS Fonts"
683
+ }
684
+ ]