@webref/css 6.22.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 (121) 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 -559
  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 -1636
  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 -263
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -55
  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 -52
  57. package/css-multicol.json +0 -252
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -16
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -223
  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 -48
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -85
  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 -36
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -69
  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 -273
  83. package/css-shapes.json +0 -200
  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 -651
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -151
  103. package/css-view-transitions.json +0 -76
  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/scroll-animations.json +0 -519
  116. package/selectors-5.json +0 -21
  117. package/selectors.json +0 -546
  118. package/svg-strokes.json +0 -59
  119. package/upgrade-insecure-requests.json +0 -28
  120. package/webvtt.json +0 -31
  121. package/webxr-dom-overlays.json +0 -16
@@ -1,402 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Backgrounds Module Level 4",
4
- "url": "https://drafts.csswg.org/css-backgrounds-4/"
5
- },
6
- "properties": [
7
- {
8
- "name": "background-repeat-x",
9
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-repeat-x",
10
- "value": "<repetition>#",
11
- "initial": "repeat",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "N/A",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "logicalPropertyGroup": "background-repeat",
19
- "values": [
20
- {
21
- "name": "repeat",
22
- "prose": "The image is repeated in the given direction as often as needed to cover the background painting area.",
23
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-repeat",
24
- "type": "value",
25
- "value": "repeat"
26
- },
27
- {
28
- "name": "space",
29
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area without being clipped and then the repeated images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored, unless there is not enough space for two copies of the image in this direction, in which case only one image is placed and background-position determines its position in this direction.",
30
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-space",
31
- "type": "value",
32
- "value": "space"
33
- },
34
- {
35
- "name": "round",
36
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does. See the formula under background-size. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area.",
37
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-round",
38
- "type": "value",
39
- "value": "round"
40
- },
41
- {
42
- "name": "no-repeat",
43
- "prose": "The image is placed once and not repeated in the given direction.",
44
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-no-repeat",
45
- "type": "value",
46
- "value": "no-repeat"
47
- }
48
- ],
49
- "styleDeclaration": [
50
- "background-repeat-x",
51
- "backgroundRepeatX"
52
- ]
53
- },
54
- {
55
- "name": "background-repeat-y",
56
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-repeat-y",
57
- "value": "<repetition>#",
58
- "initial": "repeat",
59
- "appliesTo": "all elements",
60
- "inherited": "no",
61
- "percentages": "N/A",
62
- "computedValue": "as specified",
63
- "canonicalOrder": "per grammar",
64
- "animationType": "discrete",
65
- "logicalPropertyGroup": "background-repeat",
66
- "values": [
67
- {
68
- "name": "repeat",
69
- "prose": "The image is repeated in the given direction as often as needed to cover the background painting area.",
70
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-repeat",
71
- "type": "value",
72
- "value": "repeat"
73
- },
74
- {
75
- "name": "space",
76
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area without being clipped and then the repeated images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored, unless there is not enough space for two copies of the image in this direction, in which case only one image is placed and background-position determines its position in this direction.",
77
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-space",
78
- "type": "value",
79
- "value": "space"
80
- },
81
- {
82
- "name": "round",
83
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does. See the formula under background-size. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area.",
84
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-round",
85
- "type": "value",
86
- "value": "round"
87
- },
88
- {
89
- "name": "no-repeat",
90
- "prose": "The image is placed once and not repeated in the given direction.",
91
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-no-repeat",
92
- "type": "value",
93
- "value": "no-repeat"
94
- }
95
- ],
96
- "styleDeclaration": [
97
- "background-repeat-y",
98
- "backgroundRepeatY"
99
- ]
100
- },
101
- {
102
- "name": "background-repeat-block",
103
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-repeat-block",
104
- "value": "<repetition>#",
105
- "initial": "repeat",
106
- "appliesTo": "all elements",
107
- "inherited": "no",
108
- "percentages": "N/A",
109
- "computedValue": "as specified",
110
- "canonicalOrder": "per grammar",
111
- "animationType": "discrete",
112
- "logicalPropertyGroup": "background-repeat",
113
- "values": [
114
- {
115
- "name": "repeat",
116
- "prose": "The image is repeated in the given direction as often as needed to cover the background painting area.",
117
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-repeat",
118
- "type": "value",
119
- "value": "repeat"
120
- },
121
- {
122
- "name": "space",
123
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area without being clipped and then the repeated images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored, unless there is not enough space for two copies of the image in this direction, in which case only one image is placed and background-position determines its position in this direction.",
124
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-space",
125
- "type": "value",
126
- "value": "space"
127
- },
128
- {
129
- "name": "round",
130
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does. See the formula under background-size. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area.",
131
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-round",
132
- "type": "value",
133
- "value": "round"
134
- },
135
- {
136
- "name": "no-repeat",
137
- "prose": "The image is placed once and not repeated in the given direction.",
138
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-no-repeat",
139
- "type": "value",
140
- "value": "no-repeat"
141
- }
142
- ],
143
- "styleDeclaration": [
144
- "background-repeat-block",
145
- "backgroundRepeatBlock"
146
- ]
147
- },
148
- {
149
- "name": "background-repeat-inline",
150
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-repeat-inline",
151
- "value": "<repetition>#",
152
- "initial": "repeat",
153
- "appliesTo": "all elements",
154
- "inherited": "no",
155
- "percentages": "N/A",
156
- "computedValue": "as specified",
157
- "canonicalOrder": "per grammar",
158
- "animationType": "discrete",
159
- "logicalPropertyGroup": "background-repeat",
160
- "values": [
161
- {
162
- "name": "repeat",
163
- "prose": "The image is repeated in the given direction as often as needed to cover the background painting area.",
164
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-repeat",
165
- "type": "value",
166
- "value": "repeat"
167
- },
168
- {
169
- "name": "space",
170
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area without being clipped and then the repeated images are spaced out to fill the area. The first and last images touch the edges of the area. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area. The value of background-position for this direction is ignored, unless there is not enough space for two copies of the image in this direction, in which case only one image is placed and background-position determines its position in this direction.",
171
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-space",
172
- "type": "value",
173
- "value": "space"
174
- },
175
- {
176
- "name": "round",
177
- "prose": "The image is repeated in the given direction as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does. See the formula under background-size. If the background painting area is larger than the background positioning area, then the pattern repeats to fill the background painting area.",
178
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-round",
179
- "type": "value",
180
- "value": "round"
181
- },
182
- {
183
- "name": "no-repeat",
184
- "prose": "The image is placed once and not repeated in the given direction.",
185
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-x-no-repeat",
186
- "type": "value",
187
- "value": "no-repeat"
188
- }
189
- ],
190
- "styleDeclaration": [
191
- "background-repeat-inline",
192
- "backgroundRepeatInline"
193
- ]
194
- },
195
- {
196
- "name": "background-repeat",
197
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-repeat",
198
- "value": "<repeat-style>#",
199
- "initial": "repeat",
200
- "appliesTo": "all elements",
201
- "inherited": "no",
202
- "percentages": "N/A",
203
- "computedValue": "list, each item a pair of keywords, one per dimension",
204
- "canonicalOrder": "per grammar",
205
- "animationType": "discrete",
206
- "values": [
207
- {
208
- "name": "repeat-x",
209
- "prose": "Computes to repeat no-repeat.",
210
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-repeat-x",
211
- "type": "value",
212
- "value": "repeat-x"
213
- },
214
- {
215
- "name": "repeat-y",
216
- "prose": "Computes to no-repeat repeat.",
217
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-repeat-repeat-y",
218
- "type": "value",
219
- "value": "repeat-y"
220
- }
221
- ],
222
- "styleDeclaration": [
223
- "background-repeat",
224
- "backgroundRepeat"
225
- ]
226
- },
227
- {
228
- "name": "background-position",
229
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position",
230
- "value": "<bg-position>#",
231
- "initial": "0% 0%",
232
- "appliesTo": "all elements",
233
- "inherited": "no",
234
- "percentages": "refer to size of background positioning area minus size of background image; see text",
235
- "computedValue": "a list, each item a pair of offsets (horizontal and vertical) from the top left origin, each offset given as a computed <length-percentage> value",
236
- "canonicalOrder": "per grammar",
237
- "animationType": "repeatable list",
238
- "styleDeclaration": [
239
- "background-position",
240
- "backgroundPosition"
241
- ]
242
- },
243
- {
244
- "name": "background-position-x",
245
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-x",
246
- "value": "[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#",
247
- "initial": "0%",
248
- "appliesTo": "all elements",
249
- "inherited": "no",
250
- "percentages": "refer to width of background positioning area minus width of background image",
251
- "computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
252
- "canonicalOrder": "per grammar",
253
- "animationType": "repeatable list",
254
- "logicalPropertyGroup": "background-position",
255
- "styleDeclaration": [
256
- "background-position-x",
257
- "backgroundPositionX"
258
- ]
259
- },
260
- {
261
- "name": "background-position-y",
262
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-y",
263
- "value": "[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#",
264
- "initial": "0%",
265
- "appliesTo": "all elements",
266
- "inherited": "no",
267
- "percentages": "refer to height of background positioning area minus height of background image",
268
- "computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
269
- "canonicalOrder": "per grammar",
270
- "animationType": "repeatable list",
271
- "logicalPropertyGroup": "background-position",
272
- "styleDeclaration": [
273
- "background-position-y",
274
- "backgroundPositionY"
275
- ]
276
- },
277
- {
278
- "name": "background-position-inline",
279
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-inline",
280
- "value": "[ center | [ [ start | end ]? <length-percentage>? ]! ]#",
281
- "initial": "0%",
282
- "appliesTo": "all elements",
283
- "inherited": "no",
284
- "percentages": "refer to inline-size of background positioning area minus inline-size of background image",
285
- "computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
286
- "canonicalOrder": "per grammar",
287
- "animationType": "repeatable list",
288
- "logicalPropertyGroup": "background-position",
289
- "styleDeclaration": [
290
- "background-position-inline",
291
- "backgroundPositionInline"
292
- ]
293
- },
294
- {
295
- "name": "background-position-block",
296
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-position-block",
297
- "value": "[ center | [ [ start | end ]? <length-percentage>? ]! ]#",
298
- "initial": "0%",
299
- "appliesTo": "all elements",
300
- "inherited": "no",
301
- "percentages": "refer to size of background positioning area minus size of background image",
302
- "computedValue": "A list, each item consisting of: an offset given as a computed <length-percentage> value, plus an origin keyword",
303
- "canonicalOrder": "per grammar",
304
- "animationType": "repeatable list",
305
- "logicalPropertyGroup": "background-position",
306
- "styleDeclaration": [
307
- "background-position-block",
308
- "backgroundPositionBlock"
309
- ]
310
- },
311
- {
312
- "name": "background-clip",
313
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-clip",
314
- "value": "<bg-clip>#",
315
- "initial": "border-box",
316
- "appliesTo": "all elements",
317
- "inherited": "no",
318
- "percentages": "n/a",
319
- "computedValue": "as specified",
320
- "canonicalOrder": "per grammar",
321
- "animationType": "repeatable list",
322
- "styleDeclaration": [
323
- "background-clip",
324
- "backgroundClip"
325
- ]
326
- },
327
- {
328
- "name": "background-tbd",
329
- "href": "https://drafts.csswg.org/css-backgrounds-4/#propdef-background-tbd",
330
- "value": "<bg-layer>#",
331
- "initial": "see individual properties",
332
- "appliesTo": "all elements",
333
- "inherited": "no",
334
- "percentages": "see individual properties",
335
- "computedValue": "see individual properties",
336
- "canonicalOrder": "per grammar",
337
- "animationType": "see individual properties",
338
- "styleDeclaration": [
339
- "background-tbd",
340
- "backgroundTbd"
341
- ]
342
- }
343
- ],
344
- "atrules": [],
345
- "selectors": [],
346
- "values": [
347
- {
348
- "name": "<repetition>",
349
- "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-repetition",
350
- "type": "type",
351
- "value": "repeat | space | round | no-repeat"
352
- },
353
- {
354
- "name": "<repeat-style>",
355
- "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-repeat-style",
356
- "type": "type",
357
- "value": "repeat-x | repeat-y | <repetition>{1,2}"
358
- },
359
- {
360
- "name": "<bg-position>",
361
- "prose": "Its value is given as a comma-separated list of <bg-position> values, which are interpreted as <position> values with the resized background image as the alignment subject and the background positioning area as the alignment container.",
362
- "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-position",
363
- "type": "type",
364
- "value": "<position> | <position-three>"
365
- },
366
- {
367
- "name": "<position-three>",
368
- "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-position-three",
369
- "type": "type",
370
- "value": "[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]"
371
- },
372
- {
373
- "name": "<bg-clip>",
374
- "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip",
375
- "type": "type",
376
- "value": "<visual-box> | border-area| text",
377
- "values": [
378
- {
379
- "name": "<visual-box>",
380
- "prose": "The background is painted within (clipped to) the specified box of the element.",
381
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-visual-box",
382
- "type": "value",
383
- "value": "<visual-box>"
384
- },
385
- {
386
- "name": "text",
387
- "prose": "The background is painted within (clipped to) the intersection of the border box and the geometry of the text in the element and its in-flow and floated descendants.",
388
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-text",
389
- "type": "value",
390
- "value": "text"
391
- },
392
- {
393
- "name": "border-area",
394
- "prose": "The background is clipped to the area painted by the border, taking border-width and border-style into account but ignoring any transparency introduced by border-color.",
395
- "href": "https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-border-area",
396
- "type": "value",
397
- "value": "border-area"
398
- }
399
- ]
400
- }
401
- ]
402
- }