@stylexjs/shared 0.2.0-beta.20 → 0.2.0-beta.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/lib/convert-to-className.js +6 -6
  2. package/lib/generate-css-rule.js +3 -3
  3. package/lib/hash.js +10 -11
  4. package/lib/index.d.ts +4 -4
  5. package/lib/index.js +12 -21
  6. package/lib/index.js.flow +4 -4
  7. package/lib/messages.d.ts +2 -1
  8. package/lib/messages.js +29 -54
  9. package/lib/messages.js.flow +2 -1
  10. package/lib/physical-rtl/generate-ltr.js +39 -39
  11. package/lib/physical-rtl/generate-rtl.js +57 -57
  12. package/lib/preprocess-rules/PreRule.js +2 -2
  13. package/lib/preprocess-rules/application-order.d.ts +36 -8
  14. package/lib/preprocess-rules/application-order.js +149 -164
  15. package/lib/preprocess-rules/application-order.js.flow +35 -7
  16. package/lib/preprocess-rules/basic-validation.js +6 -6
  17. package/lib/preprocess-rules/flatten-raw-style-obj.js +10 -10
  18. package/lib/preprocess-rules/index.js +6 -6
  19. package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +22 -2
  20. package/lib/preprocess-rules/legacy-expand-shorthands.js +81 -65
  21. package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +22 -2
  22. package/lib/preprocess-rules/property-specificity.d.ts +29 -25
  23. package/lib/preprocess-rules/property-specificity.js +63 -75
  24. package/lib/preprocess-rules/property-specificity.js.flow +28 -24
  25. package/lib/properties/CSS Animations.json +445 -0
  26. package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
  27. package/lib/properties/CSS Basic User Interface.json +365 -0
  28. package/lib/properties/CSS Box Alignment.json +245 -0
  29. package/lib/properties/CSS Box Model.json +501 -0
  30. package/lib/properties/CSS Color.json +100 -0
  31. package/lib/properties/CSS Columns.json +185 -0
  32. package/lib/properties/CSS Containment.json +203 -0
  33. package/lib/properties/CSS Counter Styles.json +56 -0
  34. package/lib/properties/CSS Display.json +20 -0
  35. package/lib/properties/CSS Flexible Box Layout.json +167 -0
  36. package/lib/properties/CSS Fonts.json +684 -0
  37. package/lib/properties/CSS Fragmentation.json +110 -0
  38. package/lib/properties/CSS Generated Content.json +38 -0
  39. package/lib/properties/CSS Grid Layout.json +500 -0
  40. package/lib/properties/CSS Images.json +91 -0
  41. package/lib/properties/CSS Inline.json +38 -0
  42. package/lib/properties/CSS Lists and Counters.json +86 -0
  43. package/lib/properties/CSS Logical Properties.json +1086 -0
  44. package/lib/properties/CSS Masking.json +399 -0
  45. package/lib/properties/CSS Miscellaneous.json +38 -0
  46. package/lib/properties/CSS Motion Path.json +132 -0
  47. package/lib/properties/CSS Overflow.json +216 -0
  48. package/lib/properties/CSS Pages.json +83 -0
  49. package/lib/properties/CSS Positioning.json +166 -0
  50. package/lib/properties/CSS Ruby.json +55 -0
  51. package/lib/properties/CSS Scroll Anchoring.json +19 -0
  52. package/lib/properties/CSS Scroll Snap.json +604 -0
  53. package/lib/properties/CSS Scrollbars.json +38 -0
  54. package/lib/properties/CSS Shapes.json +56 -0
  55. package/lib/properties/CSS Speech.json +20 -0
  56. package/lib/properties/CSS Table.json +115 -0
  57. package/lib/properties/CSS Text Decoration.json +312 -0
  58. package/lib/properties/CSS Text.json +415 -0
  59. package/lib/properties/CSS Transforms.json +188 -0
  60. package/lib/properties/CSS Transitions.json +122 -0
  61. package/lib/properties/CSS Variables.json +20 -0
  62. package/lib/properties/CSS View Transitions.json +20 -0
  63. package/lib/properties/CSS Will Change.json +20 -0
  64. package/lib/properties/CSS Writing Modes.json +92 -0
  65. package/lib/properties/Compositing and Blending.json +62 -0
  66. package/lib/properties/Filter Effects.json +38 -0
  67. package/lib/properties/MathML.json +56 -0
  68. package/lib/properties/Microsoft Extensions.json +885 -0
  69. package/lib/properties/Mozilla Extensions.json +607 -0
  70. package/lib/properties/Pointer Events.json +20 -0
  71. package/lib/properties/WebKit Extensions.json +707 -0
  72. package/lib/properties.json +10122 -0
  73. package/lib/{stylex-override-vars.d.ts → stylex-create-theme.d.ts} +2 -2
  74. package/lib/{stylex-override-vars.js → stylex-create-theme.js} +13 -13
  75. package/lib/{stylex-override-vars.js.flow → stylex-create-theme.js.flow} +1 -1
  76. package/lib/stylex-create.js +1 -1
  77. package/lib/{stylex-create-vars.d.ts → stylex-define-vars.d.ts} +4 -4
  78. package/lib/{stylex-create-vars.js → stylex-define-vars.js} +9 -9
  79. package/lib/{stylex-create-vars.js.flow → stylex-define-vars.js.flow} +4 -4
  80. package/lib/stylex-keyframes.js +6 -6
  81. package/lib/transform-value.js +13 -15
  82. package/lib/types/index.d.ts +1 -4
  83. package/lib/types/index.js +33 -46
  84. package/lib/types/index.js.flow +2 -2
  85. package/lib/utils/dashify.js +1 -1
  86. package/lib/utils/default-options.js +4 -5
  87. package/lib/utils/file-based-identifier.js +1 -1
  88. package/lib/utils/genCSSRule.js +6 -6
  89. package/lib/utils/normalize-value.js +3 -2
  90. package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
  91. package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
  92. package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
  93. package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
  94. package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
  95. package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
  96. package/lib/utils/normalizers/detect-unclosed-fns.js +2 -2
  97. package/lib/utils/normalizers/font-size-px-to-rem.js +4 -4
  98. package/lib/utils/normalizers/leading-zero.js +3 -3
  99. package/lib/utils/normalizers/quotes.js +4 -4
  100. package/lib/utils/normalizers/timings.js +4 -4
  101. package/lib/utils/normalizers/whitespace.js +12 -12
  102. package/lib/utils/normalizers/zero-dimensions.js +8 -8
  103. package/lib/utils/object-utils.d.ts +3 -6
  104. package/lib/utils/object-utils.js +2 -2
  105. package/lib/utils/property-priorities.js +527 -88
  106. package/lib/utils/split-css-value.js +8 -8
  107. package/lib/validate.js +2 -2
  108. package/package.json +2 -2
@@ -0,0 +1,501 @@
1
+ [
2
+ {
3
+ "syntax": "content-box | border-box",
4
+ "media": "visual",
5
+ "inherited": false,
6
+ "animationType": "discrete",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Box Model"
10
+ ],
11
+ "initial": "content-box",
12
+ "appliesto": "allElementsAcceptingWidthOrHeight",
13
+ "computed": "asSpecified",
14
+ "order": "uniqueOrder",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/box-sizing",
17
+ "property": "box-sizing",
18
+ "group": "CSS Box Model"
19
+ },
20
+ {
21
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
22
+ "media": "visual",
23
+ "inherited": false,
24
+ "animationType": "lpc",
25
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentagesRelativeToContainingBlock",
26
+ "groups": [
27
+ "CSS Box Model"
28
+ ],
29
+ "initial": "auto",
30
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
31
+ "computed": "percentageAutoOrAbsoluteLength",
32
+ "order": "uniqueOrder",
33
+ "status": "standard",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/height",
35
+ "property": "height",
36
+ "group": "CSS Box Model"
37
+ },
38
+ {
39
+ "syntax": "[ <length> | <percentage> | auto ]{1,4}",
40
+ "media": "visual",
41
+ "inherited": false,
42
+ "animationType": "length",
43
+ "percentages": "referToWidthOfContainingBlock",
44
+ "groups": [
45
+ "CSS Box Model"
46
+ ],
47
+ "initial": [
48
+ "margin-bottom",
49
+ "margin-left",
50
+ "margin-right",
51
+ "margin-top"
52
+ ],
53
+ "appliesto": "allElementsExceptTableDisplayTypes",
54
+ "computed": [
55
+ "margin-bottom",
56
+ "margin-left",
57
+ "margin-right",
58
+ "margin-top"
59
+ ],
60
+ "order": "uniqueOrder",
61
+ "alsoAppliesTo": [
62
+ "::first-letter",
63
+ "::first-line"
64
+ ],
65
+ "status": "standard",
66
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin",
67
+ "property": "margin",
68
+ "group": "CSS Box Model"
69
+ },
70
+ {
71
+ "syntax": "<length> | <percentage> | auto",
72
+ "media": "visual",
73
+ "inherited": false,
74
+ "animationType": "length",
75
+ "percentages": "referToWidthOfContainingBlock",
76
+ "groups": [
77
+ "CSS Box Model"
78
+ ],
79
+ "initial": "0",
80
+ "appliesto": "allElementsExceptTableDisplayTypes",
81
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
82
+ "order": "uniqueOrder",
83
+ "alsoAppliesTo": [
84
+ "::first-letter",
85
+ "::first-line"
86
+ ],
87
+ "status": "standard",
88
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-bottom",
89
+ "property": "margin-bottom",
90
+ "group": "CSS Box Model"
91
+ },
92
+ {
93
+ "syntax": "<length> | <percentage> | auto",
94
+ "media": "visual",
95
+ "inherited": false,
96
+ "animationType": "length",
97
+ "percentages": "referToWidthOfContainingBlock",
98
+ "groups": [
99
+ "CSS Box Model"
100
+ ],
101
+ "initial": "0",
102
+ "appliesto": "allElementsExceptTableDisplayTypes",
103
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
104
+ "order": "uniqueOrder",
105
+ "alsoAppliesTo": [
106
+ "::first-letter",
107
+ "::first-line"
108
+ ],
109
+ "status": "standard",
110
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-left",
111
+ "property": "margin-left",
112
+ "group": "CSS Box Model"
113
+ },
114
+ {
115
+ "syntax": "<length> | <percentage> | auto",
116
+ "media": "visual",
117
+ "inherited": false,
118
+ "animationType": "length",
119
+ "percentages": "referToWidthOfContainingBlock",
120
+ "groups": [
121
+ "CSS Box Model"
122
+ ],
123
+ "initial": "0",
124
+ "appliesto": "allElementsExceptTableDisplayTypes",
125
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
126
+ "order": "uniqueOrder",
127
+ "alsoAppliesTo": [
128
+ "::first-letter",
129
+ "::first-line"
130
+ ],
131
+ "status": "standard",
132
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-right",
133
+ "property": "margin-right",
134
+ "group": "CSS Box Model"
135
+ },
136
+ {
137
+ "syntax": "<length> | <percentage> | auto",
138
+ "media": "visual",
139
+ "inherited": false,
140
+ "animationType": "length",
141
+ "percentages": "referToWidthOfContainingBlock",
142
+ "groups": [
143
+ "CSS Box Model"
144
+ ],
145
+ "initial": "0",
146
+ "appliesto": "allElementsExceptTableDisplayTypes",
147
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
148
+ "order": "uniqueOrder",
149
+ "alsoAppliesTo": [
150
+ "::first-letter",
151
+ "::first-line"
152
+ ],
153
+ "status": "standard",
154
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-top",
155
+ "property": "margin-top",
156
+ "group": "CSS Box Model"
157
+ },
158
+ {
159
+ "syntax": "none | in-flow | all",
160
+ "media": "visual",
161
+ "inherited": false,
162
+ "animationType": "discrete",
163
+ "percentages": "no",
164
+ "groups": [
165
+ "CSS Box Model"
166
+ ],
167
+ "initial": "none",
168
+ "appliesto": "blockContainersAndMultiColumnContainers",
169
+ "computed": "asSpecified",
170
+ "order": "perGrammar",
171
+ "alsoAppliesTo": [
172
+ "::first-letter",
173
+ "::first-line"
174
+ ],
175
+ "status": "experimental",
176
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-trim",
177
+ "property": "margin-trim",
178
+ "group": "CSS Box Model"
179
+ },
180
+ {
181
+ "syntax": "none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
182
+ "media": "visual",
183
+ "inherited": false,
184
+ "animationType": "lpc",
185
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentagesNone",
186
+ "groups": [
187
+ "CSS Box Model"
188
+ ],
189
+ "initial": "none",
190
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
191
+ "computed": "percentageAsSpecifiedAbsoluteLengthOrNone",
192
+ "order": "uniqueOrder",
193
+ "status": "standard",
194
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max-height",
195
+ "property": "max-height",
196
+ "group": "CSS Box Model"
197
+ },
198
+ {
199
+ "syntax": "none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
200
+ "media": "visual",
201
+ "inherited": false,
202
+ "animationType": "lpc",
203
+ "percentages": "referToWidthOfContainingBlock",
204
+ "groups": [
205
+ "CSS Box Model"
206
+ ],
207
+ "initial": "none",
208
+ "appliesto": "allElementsButNonReplacedAndTableRows",
209
+ "computed": "percentageAsSpecifiedAbsoluteLengthOrNone",
210
+ "order": "uniqueOrder",
211
+ "status": "standard",
212
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max-width",
213
+ "property": "max-width",
214
+ "group": "CSS Box Model"
215
+ },
216
+ {
217
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
218
+ "media": "visual",
219
+ "inherited": false,
220
+ "animationType": "lpc",
221
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentages0",
222
+ "groups": [
223
+ "CSS Box Model"
224
+ ],
225
+ "initial": "auto",
226
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
227
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
228
+ "order": "uniqueOrder",
229
+ "status": "standard",
230
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min-height",
231
+ "property": "min-height",
232
+ "group": "CSS Box Model"
233
+ },
234
+ {
235
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
236
+ "media": "visual",
237
+ "inherited": false,
238
+ "animationType": "lpc",
239
+ "percentages": "referToWidthOfContainingBlock",
240
+ "groups": [
241
+ "CSS Box Model"
242
+ ],
243
+ "initial": "auto",
244
+ "appliesto": "allElementsButNonReplacedAndTableRows",
245
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
246
+ "order": "uniqueOrder",
247
+ "status": "standard",
248
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min-width",
249
+ "property": "min-width",
250
+ "group": "CSS Box Model"
251
+ },
252
+ {
253
+ "syntax": "[ contain | none | auto ]{1,2}",
254
+ "media": "visual",
255
+ "inherited": false,
256
+ "animationType": "discrete",
257
+ "percentages": "no",
258
+ "groups": [
259
+ "CSS Box Model"
260
+ ],
261
+ "initial": "auto",
262
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
263
+ "computed": [
264
+ "overscroll-behavior-x",
265
+ "overscroll-behavior-y"
266
+ ],
267
+ "order": "uniqueOrder",
268
+ "status": "standard",
269
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior",
270
+ "property": "overscroll-behavior",
271
+ "group": "CSS Box Model"
272
+ },
273
+ {
274
+ "syntax": "contain | none | auto",
275
+ "media": "visual",
276
+ "inherited": false,
277
+ "animationType": "discrete",
278
+ "percentages": "no",
279
+ "groups": [
280
+ "CSS Box Model"
281
+ ],
282
+ "initial": "auto",
283
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
284
+ "computed": "asSpecified",
285
+ "order": "uniqueOrder",
286
+ "status": "standard",
287
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block",
288
+ "property": "overscroll-behavior-block",
289
+ "group": "CSS Box Model"
290
+ },
291
+ {
292
+ "syntax": "contain | none | auto",
293
+ "media": "visual",
294
+ "inherited": false,
295
+ "animationType": "discrete",
296
+ "percentages": "no",
297
+ "groups": [
298
+ "CSS Box Model"
299
+ ],
300
+ "initial": "auto",
301
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
302
+ "computed": "asSpecified",
303
+ "order": "uniqueOrder",
304
+ "status": "standard",
305
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline",
306
+ "property": "overscroll-behavior-inline",
307
+ "group": "CSS Box Model"
308
+ },
309
+ {
310
+ "syntax": "contain | none | auto",
311
+ "media": "visual",
312
+ "inherited": false,
313
+ "animationType": "discrete",
314
+ "percentages": "no",
315
+ "groups": [
316
+ "CSS Box Model"
317
+ ],
318
+ "initial": "auto",
319
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
320
+ "computed": "asSpecified",
321
+ "order": "uniqueOrder",
322
+ "status": "standard",
323
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x",
324
+ "property": "overscroll-behavior-x",
325
+ "group": "CSS Box Model"
326
+ },
327
+ {
328
+ "syntax": "contain | none | auto",
329
+ "media": "visual",
330
+ "inherited": false,
331
+ "animationType": "discrete",
332
+ "percentages": "no",
333
+ "groups": [
334
+ "CSS Box Model"
335
+ ],
336
+ "initial": "auto",
337
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
338
+ "computed": "asSpecified",
339
+ "order": "uniqueOrder",
340
+ "status": "standard",
341
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y",
342
+ "property": "overscroll-behavior-y",
343
+ "group": "CSS Box Model"
344
+ },
345
+ {
346
+ "syntax": "[ <length> | <percentage> ]{1,4}",
347
+ "media": "visual",
348
+ "inherited": false,
349
+ "animationType": "length",
350
+ "percentages": "referToWidthOfContainingBlock",
351
+ "groups": [
352
+ "CSS Box Model"
353
+ ],
354
+ "initial": [
355
+ "padding-bottom",
356
+ "padding-left",
357
+ "padding-right",
358
+ "padding-top"
359
+ ],
360
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
361
+ "computed": [
362
+ "padding-bottom",
363
+ "padding-left",
364
+ "padding-right",
365
+ "padding-top"
366
+ ],
367
+ "order": "uniqueOrder",
368
+ "alsoAppliesTo": [
369
+ "::first-letter",
370
+ "::first-line"
371
+ ],
372
+ "status": "standard",
373
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding",
374
+ "property": "padding",
375
+ "group": "CSS Box Model"
376
+ },
377
+ {
378
+ "syntax": "<length> | <percentage>",
379
+ "media": "visual",
380
+ "inherited": false,
381
+ "animationType": "length",
382
+ "percentages": "referToWidthOfContainingBlock",
383
+ "groups": [
384
+ "CSS Box Model"
385
+ ],
386
+ "initial": "0",
387
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
388
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
389
+ "order": "uniqueOrder",
390
+ "alsoAppliesTo": [
391
+ "::first-letter",
392
+ "::first-line"
393
+ ],
394
+ "status": "standard",
395
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-bottom",
396
+ "property": "padding-bottom",
397
+ "group": "CSS Box Model"
398
+ },
399
+ {
400
+ "syntax": "<length> | <percentage>",
401
+ "media": "visual",
402
+ "inherited": false,
403
+ "animationType": "length",
404
+ "percentages": "referToWidthOfContainingBlock",
405
+ "groups": [
406
+ "CSS Box Model"
407
+ ],
408
+ "initial": "0",
409
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
410
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
411
+ "order": "uniqueOrder",
412
+ "alsoAppliesTo": [
413
+ "::first-letter",
414
+ "::first-line"
415
+ ],
416
+ "status": "standard",
417
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-left",
418
+ "property": "padding-left",
419
+ "group": "CSS Box Model"
420
+ },
421
+ {
422
+ "syntax": "<length> | <percentage>",
423
+ "media": "visual",
424
+ "inherited": false,
425
+ "animationType": "length",
426
+ "percentages": "referToWidthOfContainingBlock",
427
+ "groups": [
428
+ "CSS Box Model"
429
+ ],
430
+ "initial": "0",
431
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
432
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
433
+ "order": "uniqueOrder",
434
+ "alsoAppliesTo": [
435
+ "::first-letter",
436
+ "::first-line"
437
+ ],
438
+ "status": "standard",
439
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-right",
440
+ "property": "padding-right",
441
+ "group": "CSS Box Model"
442
+ },
443
+ {
444
+ "syntax": "<length> | <percentage>",
445
+ "media": "visual",
446
+ "inherited": false,
447
+ "animationType": "length",
448
+ "percentages": "referToWidthOfContainingBlock",
449
+ "groups": [
450
+ "CSS Box Model"
451
+ ],
452
+ "initial": "0",
453
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
454
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
455
+ "order": "uniqueOrder",
456
+ "alsoAppliesTo": [
457
+ "::first-letter",
458
+ "::first-line"
459
+ ],
460
+ "status": "standard",
461
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-top",
462
+ "property": "padding-top",
463
+ "group": "CSS Box Model"
464
+ },
465
+ {
466
+ "syntax": "visible | hidden | collapse",
467
+ "media": "visual",
468
+ "inherited": true,
469
+ "animationType": "visibility",
470
+ "percentages": "no",
471
+ "groups": [
472
+ "CSS Box Model"
473
+ ],
474
+ "initial": "visible",
475
+ "appliesto": "allElements",
476
+ "computed": "asSpecified",
477
+ "order": "uniqueOrder",
478
+ "status": "standard",
479
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/visibility",
480
+ "property": "visibility",
481
+ "group": "CSS Box Model"
482
+ },
483
+ {
484
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
485
+ "media": "visual",
486
+ "inherited": false,
487
+ "animationType": "lpc",
488
+ "percentages": "referToWidthOfContainingBlock",
489
+ "groups": [
490
+ "CSS Box Model"
491
+ ],
492
+ "initial": "auto",
493
+ "appliesto": "allElementsButNonReplacedAndTableRows",
494
+ "computed": "percentageAutoOrAbsoluteLength",
495
+ "order": "lengthOrPercentageBeforeKeywordIfBothPresent",
496
+ "status": "standard",
497
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/width",
498
+ "property": "width",
499
+ "group": "CSS Box Model"
500
+ }
501
+ ]
@@ -0,0 +1,100 @@
1
+ [
2
+ {
3
+ "syntax": "<color>",
4
+ "media": "visual",
5
+ "inherited": true,
6
+ "animationType": "byComputedValueType",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Color"
10
+ ],
11
+ "initial": "canvastext",
12
+ "appliesto": "allElementsAndText",
13
+ "computed": "computedColor",
14
+ "order": "perGrammar",
15
+ "alsoAppliesTo": [
16
+ "::first-letter",
17
+ "::first-line",
18
+ "::placeholder"
19
+ ],
20
+ "status": "standard",
21
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color",
22
+ "property": "color",
23
+ "group": "CSS Color"
24
+ },
25
+ {
26
+ "syntax": "normal | [ light | dark | <custom-ident> ]+ && only?",
27
+ "media": "visual",
28
+ "inherited": true,
29
+ "animationType": "discrete",
30
+ "percentages": "no",
31
+ "groups": [
32
+ "CSS Color"
33
+ ],
34
+ "initial": "normal",
35
+ "appliesto": "allElementsAndText",
36
+ "computed": "asSpecified",
37
+ "order": "perGrammar",
38
+ "status": "standard",
39
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color-scheme",
40
+ "property": "color-scheme",
41
+ "group": "CSS Color"
42
+ },
43
+ {
44
+ "syntax": "auto | none",
45
+ "media": "visual",
46
+ "inherited": true,
47
+ "animationType": "notAnimatable",
48
+ "percentages": "no",
49
+ "groups": [
50
+ "CSS Color"
51
+ ],
52
+ "initial": "auto",
53
+ "appliesto": "allElementsAndText",
54
+ "computed": "asSpecified",
55
+ "order": "perGrammar",
56
+ "status": "experimental",
57
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust",
58
+ "property": "forced-color-adjust",
59
+ "group": "CSS Color"
60
+ },
61
+ {
62
+ "syntax": "<alpha-value>",
63
+ "media": "visual",
64
+ "inherited": false,
65
+ "animationType": "byComputedValueType",
66
+ "percentages": "mapToRange0To1",
67
+ "groups": [
68
+ "CSS Color"
69
+ ],
70
+ "initial": "1",
71
+ "appliesto": "allElements",
72
+ "computed": "specifiedValueNumberClipped0To1",
73
+ "order": "perGrammar",
74
+ "alsoAppliesTo": [
75
+ "::placeholder"
76
+ ],
77
+ "status": "standard",
78
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/opacity",
79
+ "property": "opacity",
80
+ "group": "CSS Color"
81
+ },
82
+ {
83
+ "syntax": "economy | exact",
84
+ "media": "visual",
85
+ "inherited": true,
86
+ "animationType": "discrete",
87
+ "percentages": "no",
88
+ "groups": [
89
+ "CSS Color"
90
+ ],
91
+ "initial": "economy",
92
+ "appliesto": "allElements",
93
+ "computed": "asSpecified",
94
+ "order": "perGrammar",
95
+ "status": "standard",
96
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/print-color-adjust",
97
+ "property": "print-color-adjust",
98
+ "group": "CSS Color"
99
+ }
100
+ ]