@webref/css 6.23.0 → 7.0.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -567
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1642
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -281
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -58
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -58
  57. package/css-multicol.json +0 -253
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -17
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -226
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -49
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -98
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -38
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -74
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -89
  83. package/css-shapes.json +0 -384
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -854
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -152
  103. package/css-view-transitions.json +0 -77
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/pointer-animations.json +0 -282
  116. package/scroll-animations.json +0 -519
  117. package/selectors-5.json +0 -22
  118. package/selectors.json +0 -604
  119. package/svg-strokes.json +0 -59
  120. package/upgrade-insecure-requests.json +0 -28
  121. package/webvtt.json +0 -33
  122. package/webxr-dom-overlays.json +0 -17
package/css-fonts-5.json DELETED
@@ -1,385 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Fonts Module Level 5",
4
- "url": "https://drafts.csswg.org/css-fonts-5/"
5
- },
6
- "properties": [
7
- {
8
- "name": "font-size-adjust",
9
- "href": "https://drafts.csswg.org/css-fonts-5/#propdef-font-size-adjust",
10
- "value": "none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]",
11
- "initial": "none",
12
- "appliesTo": "all elements and text",
13
- "inherited": "yes",
14
- "percentages": "N/A",
15
- "computedValue": "the keyword none, or a pair of a metric keyword and a <number>",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete if the keywords differ, otherwise by computed value type",
18
- "values": [
19
- {
20
- "name": "none",
21
- "prose": "No special font-size adjustment is applied.",
22
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-none",
23
- "type": "value",
24
- "value": "none"
25
- },
26
- {
27
- "name": "ex-height | cap-height | ch-width | ic-width | ic-height",
28
- "prose": "Specifies the font metric to normalize, defaulting to ex-height: w3c/csswg-drafts/6384[css-fonts-5] font-size-adjust with missing metrics",
29
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-ex-height--cap-height--ch-width--ic-width--ic-height",
30
- "type": "value",
31
- "value": "ex-height | cap-height | ch-width | ic-width | ic-height"
32
- },
33
- {
34
- "name": "ex-height",
35
- "prose": "Normalize the aspect value of the fonts, using the x-height divided by the font size.",
36
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-ex-height",
37
- "type": "value",
38
- "value": "ex-height"
39
- },
40
- {
41
- "name": "cap-height",
42
- "prose": "Normalize the cap-height of the fonts, using the cap-height by the font size.",
43
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-cap-height",
44
- "type": "value",
45
- "value": "cap-height"
46
- },
47
- {
48
- "name": "ch-width",
49
- "prose": "Normalize the horizontal narrow pitch of the fonts, using the advance width of “0” (ZERO, U+0030) divided by the font size.",
50
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-ch-width",
51
- "type": "value",
52
- "value": "ch-width"
53
- },
54
- {
55
- "name": "ic-width",
56
- "prose": "Normalize the horizontal wide pitch of the font, using the advance width of “水” (CJK water ideograph, U+6C34) divided by the font size.",
57
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-ic-width",
58
- "type": "value",
59
- "value": "ic-width"
60
- },
61
- {
62
- "name": "ic-height",
63
- "prose": "Normalize the vertical wide pitch of the font, using the advance height of “水” (CJK water ideograph, U+6C34) divided by the font size.",
64
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-ic-height",
65
- "type": "value",
66
- "value": "ic-height"
67
- },
68
- {
69
- "name": "<number [0,∞]>",
70
- "prose": "Each font’s used size is normalized to match the chosen font metric to this specified proportion of the computed font-size. In other words, for each glyph, the adjusted font size to use u is calculated as: u = ( m / m′ ) s where: s = computed 'font-size!!property' value m = metric as specified by the 'font-size-adjust' property m′ = metric as specified in the actual font u = adjusted font-size to use Negative values are invalid.",
71
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-number-0",
72
- "type": "value",
73
- "value": "<number [0,∞]>"
74
- },
75
- {
76
- "name": "from-font",
77
- "prose": "Computes to the <number> corresponding to the specified metric of the first available font. w3c/csswg-drafts/6384[css-fonts-5] font-size-adjust with missing metrics",
78
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-size-adjust-from-font",
79
- "type": "value",
80
- "value": "from-font"
81
- }
82
- ],
83
- "styleDeclaration": [
84
- "font-size-adjust",
85
- "fontSizeAdjust"
86
- ]
87
- }
88
- ],
89
- "atrules": [
90
- {
91
- "name": "@font-face",
92
- "href": "https://drafts.csswg.org/css-fonts-5/#at-font-face-rule",
93
- "descriptors": [
94
- {
95
- "name": "font-size",
96
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-font-size",
97
- "for": "@font-face",
98
- "value": "auto | [<number>]{1,2}",
99
- "initial": "auto",
100
- "values": [
101
- {
102
- "name": "auto",
103
- "prose": "The font matches any font size",
104
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-face-font-size-auto",
105
- "type": "value",
106
- "value": "auto"
107
- },
108
- {
109
- "name": "<number>",
110
- "prose": "If a single <number> is given the font matches that specific font size, only. If two <number>s are given, they specify a range of font sizes which will match.",
111
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-face-font-size-number",
112
- "type": "value",
113
- "value": "<number>"
114
- }
115
- ]
116
- },
117
- {
118
- "name": "size-adjust",
119
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-size-adjust",
120
- "for": "@font-face",
121
- "value": "<percentage [0,∞]>",
122
- "initial": "100%"
123
- },
124
- {
125
- "name": "ascent-override",
126
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-ascent-override",
127
- "for": "@font-face",
128
- "value": "[ normal | <percentage [0,∞]> ]{1,2}",
129
- "initial": "normal"
130
- },
131
- {
132
- "name": "descent-override",
133
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-descent-override",
134
- "for": "@font-face",
135
- "value": "[ normal | <percentage [0,∞]> ]{1,2}",
136
- "initial": "normal"
137
- },
138
- {
139
- "name": "line-gap-override",
140
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-line-gap-override",
141
- "for": "@font-face",
142
- "value": "[ normal | <percentage [0,∞]> ]{1,2}",
143
- "initial": "normal"
144
- },
145
- {
146
- "name": "superscript-position-override",
147
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-superscript-position-override",
148
- "for": "@font-face",
149
- "value": "[ normal | from-font | <percentage> ]{1,2}",
150
- "initial": "normal"
151
- },
152
- {
153
- "name": "subscript-position-override",
154
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-subscript-position-override",
155
- "for": "@font-face",
156
- "value": "[ normal | from-font | <percentage> ]{1,2}",
157
- "initial": "normal"
158
- },
159
- {
160
- "name": "superscript-size-override",
161
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-superscript-size-override",
162
- "for": "@font-face",
163
- "value": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
164
- "initial": "normal"
165
- },
166
- {
167
- "name": "subscript-size-override",
168
- "href": "https://drafts.csswg.org/css-fonts-5/#descdef-font-face-subscript-size-override",
169
- "for": "@font-face",
170
- "value": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
171
- "initial": "normal"
172
- }
173
- ]
174
- }
175
- ],
176
- "selectors": [],
177
- "values": [
178
- {
179
- "name": "<font-format>",
180
- "href": "https://drafts.csswg.org/css-fonts-5/#font-format-values",
181
- "type": "type",
182
- "value": "[<string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
183
- },
184
- {
185
- "name": "<font-tech>",
186
- "href": "https://drafts.csswg.org/css-fonts-5/#font-tech-values",
187
- "type": "type",
188
- "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
189
- },
190
- {
191
- "name": "<font-features-tech>",
192
- "href": "https://drafts.csswg.org/css-fonts-5/#font-features-tech-values",
193
- "type": "type",
194
- "value": "[features-opentype | features-aat | features-graphite]"
195
- },
196
- {
197
- "name": "<color-font-tech>",
198
- "href": "https://drafts.csswg.org/css-fonts-5/#color-font-tech-values",
199
- "type": "type",
200
- "value": "[color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
201
- }
202
- ],
203
- "warnings": [
204
- {
205
- "msg": "Dangling value",
206
- "name": "xxx",
207
- "prose": "Placeholder text for the xxx generic font family.",
208
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-family-xxx",
209
- "type": "value",
210
- "value": "xxx",
211
- "for": "font-family"
212
- },
213
- {
214
- "msg": "Dangling value",
215
- "name": "xxx",
216
- "prose": "Placeholder text for the xxx generic font family.",
217
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-font-family-xxx",
218
- "type": "value",
219
- "value": "xxx",
220
- "for": "<generic-family>"
221
- },
222
- {
223
- "msg": "Dangling value",
224
- "name": "normal",
225
- "prose": "The corresponding metric value is obtained from the font as usual, as if this descriptor were absent from the @font-face block.",
226
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-normal",
227
- "type": "value",
228
- "value": "normal",
229
- "for": "ascent-override!!descriptor"
230
- },
231
- {
232
- "msg": "Dangling value",
233
- "name": "normal",
234
- "prose": "The corresponding metric value is obtained from the font as usual, as if this descriptor were absent from the @font-face block.",
235
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-normal",
236
- "type": "value",
237
- "value": "normal",
238
- "for": "descent-override!!descriptor"
239
- },
240
- {
241
- "msg": "Dangling value",
242
- "name": "normal",
243
- "prose": "The corresponding metric value is obtained from the font as usual, as if this descriptor were absent from the @font-face block.",
244
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-normal",
245
- "type": "value",
246
- "value": "normal",
247
- "for": "line-gap-override!!descriptor"
248
- },
249
- {
250
- "msg": "Dangling value",
251
- "name": "<percentage>",
252
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the effective font size after adjustment.",
253
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-percentage",
254
- "type": "value",
255
- "value": "<percentage>",
256
- "for": "ascent-override!!descriptor"
257
- },
258
- {
259
- "msg": "Dangling value",
260
- "name": "<percentage>",
261
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the effective font size after adjustment.",
262
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-percentage",
263
- "type": "value",
264
- "value": "<percentage>",
265
- "for": "descent-override!!descriptor"
266
- },
267
- {
268
- "msg": "Dangling value",
269
- "name": "<percentage>",
270
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the effective font size after adjustment.",
271
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-ascent-overridedescriptor-percentage",
272
- "type": "value",
273
- "value": "<percentage>",
274
- "for": "line-gap-override!!descriptor"
275
- },
276
- {
277
- "msg": "Dangling value",
278
- "name": "normal",
279
- "prose": "The UA determines what metrics value to use, whether derived from the font or from some heuristic.",
280
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-normal",
281
- "type": "value",
282
- "value": "normal",
283
- "for": "superscript-position-override!!descriptor"
284
- },
285
- {
286
- "msg": "Dangling value",
287
- "name": "normal",
288
- "prose": "The UA determines what metrics value to use, whether derived from the font or from some heuristic.",
289
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-normal",
290
- "type": "value",
291
- "value": "normal",
292
- "for": "subscript-position-override!!descriptor"
293
- },
294
- {
295
- "msg": "Dangling value",
296
- "name": "normal",
297
- "prose": "The UA determines what metrics value to use, whether derived from the font or from some heuristic.",
298
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-normal",
299
- "type": "value",
300
- "value": "normal",
301
- "for": "superscript-size-override!!descriptor"
302
- },
303
- {
304
- "msg": "Dangling value",
305
- "name": "normal",
306
- "prose": "The UA determines what metrics value to use, whether derived from the font or from some heuristic.",
307
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-normal",
308
- "type": "value",
309
- "value": "normal",
310
- "for": "subscript-size-override!!descriptor"
311
- },
312
- {
313
- "msg": "Dangling value",
314
- "name": "from-font",
315
- "prose": "The corresponding metric in the font data is used, if any. (If the metric is missing, same as normal.)",
316
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-from-font",
317
- "type": "value",
318
- "value": "from-font",
319
- "for": "superscript-position-override!!descriptor"
320
- },
321
- {
322
- "msg": "Dangling value",
323
- "name": "from-font",
324
- "prose": "The corresponding metric in the font data is used, if any. (If the metric is missing, same as normal.)",
325
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-from-font",
326
- "type": "value",
327
- "value": "from-font",
328
- "for": "subscript-position-override!!descriptor"
329
- },
330
- {
331
- "msg": "Dangling value",
332
- "name": "from-font",
333
- "prose": "The corresponding metric in the font data is used, if any. (If the metric is missing, same as normal.)",
334
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-from-font",
335
- "type": "value",
336
- "value": "from-font",
337
- "for": "superscript-size-override!!descriptor"
338
- },
339
- {
340
- "msg": "Dangling value",
341
- "name": "from-font",
342
- "prose": "The corresponding metric in the font data is used, if any. (If the metric is missing, same as normal.)",
343
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-from-font",
344
- "type": "value",
345
- "value": "from-font",
346
- "for": "subscript-size-override!!descriptor"
347
- },
348
- {
349
- "msg": "Dangling value",
350
- "name": "<percentage>",
351
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the used font size.",
352
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-percentage",
353
- "type": "value",
354
- "value": "<percentage>",
355
- "for": "superscript-position-override!!descriptor"
356
- },
357
- {
358
- "msg": "Dangling value",
359
- "name": "<percentage>",
360
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the used font size.",
361
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-percentage",
362
- "type": "value",
363
- "value": "<percentage>",
364
- "for": "subscript-position-override!!descriptor"
365
- },
366
- {
367
- "msg": "Dangling value",
368
- "name": "<percentage>",
369
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the used font size.",
370
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-percentage",
371
- "type": "value",
372
- "value": "<percentage>",
373
- "for": "superscript-size-override!!descriptor"
374
- },
375
- {
376
- "msg": "Dangling value",
377
- "name": "<percentage>",
378
- "prose": "The corresponding metric is replaced by the given percentage multiplied by the used font size.",
379
- "href": "https://drafts.csswg.org/css-fonts-5/#valdef-superscript-position-overridedescriptor-percentage",
380
- "type": "value",
381
- "value": "<percentage>",
382
- "for": "subscript-size-override!!descriptor"
383
- }
384
- ]
385
- }