@stylexjs/shared 0.2.0-beta.21 → 0.2.0-beta.22
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/convert-to-className.js +6 -6
- package/lib/generate-css-rule.js +3 -3
- package/lib/hash.js +10 -11
- package/lib/index.d.ts +4 -4
- package/lib/index.js +12 -21
- package/lib/index.js.flow +4 -4
- package/lib/messages.d.ts +2 -1
- package/lib/messages.js +29 -54
- package/lib/messages.js.flow +2 -1
- package/lib/physical-rtl/generate-ltr.js +39 -39
- package/lib/physical-rtl/generate-rtl.js +57 -57
- package/lib/preprocess-rules/PreRule.js +2 -2
- package/lib/preprocess-rules/application-order.d.ts +36 -8
- package/lib/preprocess-rules/application-order.js +149 -164
- package/lib/preprocess-rules/application-order.js.flow +35 -7
- package/lib/preprocess-rules/basic-validation.js +6 -6
- package/lib/preprocess-rules/flatten-raw-style-obj.js +10 -10
- package/lib/preprocess-rules/index.js +6 -6
- package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +22 -2
- package/lib/preprocess-rules/legacy-expand-shorthands.js +81 -65
- package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +22 -2
- package/lib/preprocess-rules/property-specificity.d.ts +29 -25
- package/lib/preprocess-rules/property-specificity.js +63 -75
- package/lib/preprocess-rules/property-specificity.js.flow +28 -24
- 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-override-vars.d.ts → stylex-create-theme.d.ts} +2 -2
- package/lib/{stylex-override-vars.js → stylex-create-theme.js} +13 -13
- package/lib/{stylex-override-vars.js.flow → stylex-create-theme.js.flow} +1 -1
- package/lib/stylex-create.js +1 -1
- package/lib/{stylex-create-vars.d.ts → stylex-define-vars.d.ts} +2 -2
- package/lib/{stylex-create-vars.js → stylex-define-vars.js} +9 -9
- package/lib/{stylex-create-vars.js.flow → stylex-define-vars.js.flow} +1 -1
- package/lib/stylex-keyframes.js +6 -6
- package/lib/transform-value.js +13 -15
- package/lib/types/index.js +33 -46
- package/lib/utils/dashify.js +1 -1
- package/lib/utils/default-options.js +4 -5
- package/lib/utils/file-based-identifier.js +1 -1
- package/lib/utils/genCSSRule.js +6 -6
- package/lib/utils/normalize-value.js +3 -2
- 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.js +2 -2
- package/lib/utils/normalizers/font-size-px-to-rem.js +4 -4
- package/lib/utils/normalizers/leading-zero.js +3 -3
- package/lib/utils/normalizers/quotes.js +4 -4
- package/lib/utils/normalizers/timings.js +4 -4
- package/lib/utils/normalizers/whitespace.js +12 -12
- package/lib/utils/normalizers/zero-dimensions.js +8 -8
- package/lib/utils/object-utils.d.ts +3 -6
- package/lib/utils/object-utils.js +2 -2
- package/lib/utils/property-priorities.js +527 -88
- package/lib/utils/split-css-value.js +8 -8
- package/lib/validate.js +2 -2
- package/package.json +2 -2
@@ -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
|
+
]
|