@webref/css 6.23.0 → 7.0.0-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-page.json DELETED
@@ -1,382 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Paged Media Module Level 3",
4
- "url": "https://drafts.csswg.org/css-page-3/"
5
- },
6
- "properties": [
7
- {
8
- "name": "page",
9
- "href": "https://drafts.csswg.org/css-page-3/#propdef-page",
10
- "value": "auto | <custom-ident>",
11
- "initial": "auto",
12
- "appliesTo": "boxes that create class A break points",
13
- "inherited": "no (but see prose)",
14
- "percentages": "n/a",
15
- "computedValue": "specified value",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "styleDeclaration": [
19
- "page"
20
- ]
21
- }
22
- ],
23
- "atrules": [
24
- {
25
- "name": "@page",
26
- "prose": "Authors can specify various aspects of a page box, such as its dimensions, orientation, and margins, within an @page rule. @page rules are allowed wherever rule-sets are allowed. An @page rule consists of the keyword @page, an optional comma-separated list of page selectors and a block of declarations (said to be in the page context). An @page rule can also contain other at-rules, interleaved between declarations. The current level of this specification only allows margin at-rules inside @page.",
27
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page",
28
- "descriptors": [
29
- {
30
- "name": "size",
31
- "href": "https://drafts.csswg.org/css-page-3/#descdef-page-size",
32
- "for": "@page",
33
- "value": "<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
34
- "initial": "auto",
35
- "computedValue": "specified value, with <length>s made absolute.",
36
- "values": [
37
- {
38
- "name": "auto",
39
- "prose": "The page box will be set to a size and orientation chosen by the UA. In the usual case, the page box size and orientation is chosen to match the target media sheet.",
40
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-auto",
41
- "type": "value",
42
- "value": "auto"
43
- },
44
- {
45
- "name": "landscape",
46
- "prose": "Specifies that the page’s content be printed in landscape orientation. The longer sides of the page box are horizontal. If a <page-size> is not specified, the size of the page sheet is chosen by the UA.",
47
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-landscape",
48
- "type": "value",
49
- "value": "landscape"
50
- },
51
- {
52
- "name": "portrait",
53
- "prose": "Specifies that the page’s content be printed in portrait orientation. The shorter sides of the page box are horizontal. If a <page-size> is not specified, the size of the page sheet is chosen by the UA.",
54
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-portrait",
55
- "type": "value",
56
- "value": "portrait"
57
- },
58
- {
59
- "name": "<length [0,∞]>",
60
- "prose": "The page box will be set to the given absolute dimension(s). If only one length value is specified, it sets both the width and height of the page box (i.e., the box is a square). If two length values are specified, the first establishes the page box width, and the second the page box height. Values in units of em and ex refer to the page context’s font. Negative lengths are illegal.",
61
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-length-0",
62
- "type": "value",
63
- "value": "<length [0,∞]>"
64
- },
65
- {
66
- "name": "<page-size>",
67
- "prose": "A page size can be specified using one of the following media names. This is the equivalent of specifying size using length values. The definition of the media names comes from Media Standardized Names [PWGMSN].",
68
- "href": "https://drafts.csswg.org/css-page-3/#typedef-page-size-page-size",
69
- "type": "type",
70
- "values": [
71
- {
72
- "name": "A5",
73
- "prose": "Equivalent to the size of ISO A5 media: 148mm wide and 210 mm high.",
74
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-a5",
75
- "type": "value",
76
- "value": "A5"
77
- },
78
- {
79
- "name": "A4",
80
- "prose": "Equivalent to the size of ISO A4 media: 210 mm wide and 297 mm high.",
81
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-a4",
82
- "type": "value",
83
- "value": "A4"
84
- },
85
- {
86
- "name": "A3",
87
- "prose": "Equivalent to the size of ISO A3 media: 297mm wide and 420mm high.",
88
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-a3",
89
- "type": "value",
90
- "value": "A3"
91
- },
92
- {
93
- "name": "B5",
94
- "prose": "Equivalent to the size of ISO B5 media: 176mm wide by 250mm high.",
95
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-b5",
96
- "type": "value",
97
- "value": "B5"
98
- },
99
- {
100
- "name": "B4",
101
- "prose": "Equivalent to the size of ISO B4 media: 250mm wide by 353mm high.",
102
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-b4",
103
- "type": "value",
104
- "value": "B4"
105
- },
106
- {
107
- "name": "JIS-B5",
108
- "prose": "Equivalent to the size of JIS B5 media: 182mm wide by 257mm high.",
109
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-jis-b5",
110
- "type": "value",
111
- "value": "JIS-B5"
112
- },
113
- {
114
- "name": "JIS-B4",
115
- "prose": "Equivalent to the size of JIS B4 media: 257mm wide by 364mm high.",
116
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-jis-b4",
117
- "type": "value",
118
- "value": "JIS-B4"
119
- },
120
- {
121
- "name": "letter",
122
- "prose": "Equivalent to the size of North American letter media: 8.5 inches wide and 11 inches high",
123
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-letter",
124
- "type": "value",
125
- "value": "letter"
126
- },
127
- {
128
- "name": "legal",
129
- "prose": "Equivalent to the size of North American legal: 8.5 inches wide by 14 inches high.",
130
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-legal",
131
- "type": "value",
132
- "value": "legal"
133
- },
134
- {
135
- "name": "ledger",
136
- "prose": "Equivalent to the size of North American ledger: 11 inches wide by 17 inches high.",
137
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-size-ledger",
138
- "type": "value",
139
- "value": "ledger"
140
- }
141
- ]
142
- }
143
- ]
144
- },
145
- {
146
- "name": "page-orientation",
147
- "href": "https://drafts.csswg.org/css-page-3/#descdef-page-page-orientation",
148
- "for": "@page",
149
- "value": "upright | rotate-left | rotate-right",
150
- "initial": "upright",
151
- "computedValue": "as specified",
152
- "values": [
153
- {
154
- "name": "upright",
155
- "prose": "No special orientation is applied; the page is laid out and formatted as normal.",
156
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-orientation-upright",
157
- "type": "value",
158
- "value": "upright"
159
- },
160
- {
161
- "name": "rotate-left",
162
- "prose": "After the page has been laid out, if the output medium supports rotation, this value indicates that the page must be displayed rotated a quarter turn to the left (counter-clockwise) of how it was laid out.",
163
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-orientation-rotate-left",
164
- "type": "value",
165
- "value": "rotate-left"
166
- },
167
- {
168
- "name": "rotate-right",
169
- "prose": "Same as rotate-left, except the page must be displayed rotated a quarter turn to the right (clockwise) of how it was laid out.",
170
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-orientation-rotate-right",
171
- "type": "value",
172
- "value": "rotate-right"
173
- }
174
- ]
175
- },
176
- {
177
- "name": "marks",
178
- "href": "https://drafts.csswg.org/css-page-3/#descdef-page-marks",
179
- "for": "@page",
180
- "value": "none | [ crop || cross ]",
181
- "initial": "none",
182
- "computedValue": "as specified",
183
- "values": [
184
- {
185
- "name": "none",
186
- "prose": "Specifies that neither crop marks nor registration marks should be printed: the area outside the bleed area will be completely blank.",
187
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-marks-none",
188
- "type": "value",
189
- "value": "none"
190
- },
191
- {
192
- "name": "crop",
193
- "prose": "Specifies that crop marks should be printed. These are typically short lines outside the page box that are effectively extensions of the page box’s four edges, thereby indicating the precise location of those edges without placing any ink near or within the page box itself.",
194
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-marks-crop",
195
- "type": "value",
196
- "value": "crop"
197
- },
198
- {
199
- "name": "cross",
200
- "prose": "Specifies that registration marks should be printed. These are typically cross-shaped marks outside each edge of the page box used to align sheets of paper during the printing process.",
201
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-marks-cross",
202
- "type": "value",
203
- "value": "cross"
204
- }
205
- ]
206
- },
207
- {
208
- "name": "bleed",
209
- "href": "https://drafts.csswg.org/css-page-3/#descdef-page-bleed",
210
- "for": "@page",
211
- "value": "auto | <length>",
212
- "initial": "auto",
213
- "computedValue": "as specified",
214
- "values": [
215
- {
216
- "name": "auto",
217
- "prose": "Computes to 6pt if marks has crop and to zero otherwise.",
218
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-bleed-auto",
219
- "type": "value",
220
- "value": "auto"
221
- },
222
- {
223
- "name": "<length>",
224
- "prose": "Specifies by how far outward, in each direction, the bleed area extends past the page box. Values may be negative, but there may be implementation-specific limits.",
225
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-bleed-length",
226
- "type": "value",
227
- "value": "<length>"
228
- }
229
- ]
230
- }
231
- ],
232
- "value": "@page <page-selector-list>? { <declaration-rule-list> }",
233
- "values": [
234
- {
235
- "name": ":left",
236
- "prose": "All pages are automatically classified by user agents as either left pages or right pages, based on page progression. The :left and :right pseudo-classes only match left or right pages, respectively.",
237
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-left",
238
- "type": "value",
239
- "value": ":left"
240
- },
241
- {
242
- "name": ":right",
243
- "prose": "All pages are automatically classified by user agents as either left pages or right pages, based on page progression. The :left and :right pseudo-classes only match left or right pages, respectively.",
244
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-right",
245
- "type": "value",
246
- "value": ":right"
247
- },
248
- {
249
- "name": ":first",
250
- "prose": "The :first pseudo-class matches the first printed page of a document.",
251
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-first",
252
- "type": "value",
253
- "value": ":first"
254
- },
255
- {
256
- "name": ":blank",
257
- "prose": "The :blank pseudo-class matches content-empty pages that appear as a result of forced page breaks.",
258
- "href": "https://drafts.csswg.org/css-page-3/#valdef-page-blank",
259
- "type": "value",
260
- "value": ":blank"
261
- }
262
- ]
263
- },
264
- {
265
- "name": "@top-left-corner",
266
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-left-corner",
267
- "descriptors": [],
268
- "value": "@top-left-corner { <declaration-list> };"
269
- },
270
- {
271
- "name": "@top-left",
272
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-left",
273
- "descriptors": [],
274
- "value": "@top-left { <declaration-list> };"
275
- },
276
- {
277
- "name": "@top-center",
278
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-center",
279
- "descriptors": [],
280
- "value": "@top-center { <declaration-list> };"
281
- },
282
- {
283
- "name": "@top-right",
284
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-right",
285
- "descriptors": [],
286
- "value": "@top-right { <declaration-list> };"
287
- },
288
- {
289
- "name": "@top-right-corner",
290
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-right-corner",
291
- "descriptors": [],
292
- "value": "@top-right-corner { <declaration-list> };"
293
- },
294
- {
295
- "name": "@bottom-left-corner",
296
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-left-corner",
297
- "descriptors": [],
298
- "value": "@bottom-left-corner { <declaration-list> };"
299
- },
300
- {
301
- "name": "@bottom-left",
302
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-left",
303
- "descriptors": [],
304
- "value": "@bottom-left { <declaration-list> };"
305
- },
306
- {
307
- "name": "@bottom-center",
308
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-center",
309
- "descriptors": [],
310
- "value": "@bottom-center { <declaration-list> };"
311
- },
312
- {
313
- "name": "@bottom-right",
314
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-right",
315
- "descriptors": [],
316
- "value": "@bottom-right { <declaration-list> };"
317
- },
318
- {
319
- "name": "@bottom-right-corner",
320
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-right-corner",
321
- "descriptors": [],
322
- "value": "@bottom-right-corner { <declaration-list> };"
323
- },
324
- {
325
- "name": "@left-top",
326
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-top",
327
- "descriptors": [],
328
- "value": "@left-top { <declaration-list> };"
329
- },
330
- {
331
- "name": "@left-middle",
332
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-middle",
333
- "descriptors": [],
334
- "value": "@left-middle { <declaration-list> };"
335
- },
336
- {
337
- "name": "@left-bottom",
338
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-bottom",
339
- "descriptors": [],
340
- "value": "@left-bottom { <declaration-list> };"
341
- },
342
- {
343
- "name": "@right-top",
344
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-top",
345
- "descriptors": [],
346
- "value": "@right-top { <declaration-list> };"
347
- },
348
- {
349
- "name": "@right-middle",
350
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-middle",
351
- "descriptors": [],
352
- "value": "@right-middle { <declaration-list> };"
353
- },
354
- {
355
- "name": "@right-bottom",
356
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-bottom",
357
- "descriptors": [],
358
- "value": "@right-bottom { <declaration-list> };"
359
- }
360
- ],
361
- "selectors": [],
362
- "values": [
363
- {
364
- "name": "<page-selector-list>",
365
- "href": "https://drafts.csswg.org/css-page-3/#typedef-page-selector-list",
366
- "type": "type",
367
- "value": "<page-selector>#"
368
- },
369
- {
370
- "name": "<page-selector>",
371
- "href": "https://drafts.csswg.org/css-page-3/#typedef-page-selector",
372
- "type": "type",
373
- "value": "[ <ident-token>? <pseudo-page>* ]!"
374
- },
375
- {
376
- "name": "<pseudo-page>",
377
- "href": "https://drafts.csswg.org/css-page-3/#typedef-pseudo-page",
378
- "type": "type",
379
- "value": ": [ left | right | first | blank ]"
380
- }
381
- ]
382
- }
@@ -1,17 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Painting API Level 1",
4
- "url": "https://drafts.css-houdini.org/css-paint-api-1/"
5
- },
6
- "properties": [],
7
- "atrules": [],
8
- "selectors": [],
9
- "values": [
10
- {
11
- "name": "paint()",
12
- "href": "https://drafts.css-houdini.org/css-paint-api-1/#funcdef-paint",
13
- "type": "function",
14
- "value": "paint( <ident>, <declaration-value>? )"
15
- }
16
- ]
17
- }
@@ -1,49 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Positioned Layout Module Level 4",
4
- "url": "https://drafts.csswg.org/css-position-4/"
5
- },
6
- "properties": [
7
- {
8
- "name": "overlay",
9
- "href": "https://drafts.csswg.org/css-position-4/#propdef-overlay",
10
- "value": "none | auto",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "see prose",
18
- "values": [
19
- {
20
- "name": "none",
21
- "prose": "The element isn’t rendered in the top layer.",
22
- "href": "https://drafts.csswg.org/css-position-4/#valdef-overlay-none",
23
- "type": "value",
24
- "value": "none"
25
- },
26
- {
27
- "name": "auto",
28
- "prose": "The element is rendered in the top layer if it is in the top layer. Rather than generating boxes as part of its normal position in the document, it generates boxes as a sibling of the root element, rendered \"above\" it.",
29
- "href": "https://drafts.csswg.org/css-position-4/#valdef-overlay-auto",
30
- "type": "value",
31
- "value": "auto"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "overlay"
36
- ]
37
- }
38
- ],
39
- "atrules": [],
40
- "selectors": [
41
- {
42
- "name": "::backdrop",
43
- "prose": "Each element rendered in the top layer has a ::backdrop pseudo-element, for which it is the originating element.",
44
- "href": "https://drafts.csswg.org/css-position-4/#selectordef-backdrop",
45
- "value": "::backdrop"
46
- }
47
- ],
48
- "values": []
49
- }