@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
@@ -1,377 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Animations Level 2",
4
- "url": "https://drafts.csswg.org/css-animations-2/"
5
- },
6
- "properties": [
7
- {
8
- "name": "animation-duration",
9
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-duration",
10
- "value": "[ auto | <time [0s,∞]> ]#",
11
- "initial": "auto",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "N/A",
15
- "computedValue": "list, each item either a time or the keyword auto",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "values": [
19
- {
20
- "name": "auto",
21
- "prose": "For time-driven animations, equivalent to 0s. For scroll-driven animations, equivalent to the duration necessary to fill the timeline in consideration of animation-range, animation-delay, and animation-iteration-count. See Scroll-driven Animations § 4.1 Finite Timeline Calculations.",
22
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-duration-auto",
23
- "type": "value",
24
- "value": "auto"
25
- },
26
- {
27
- "name": "<time [0s,∞]>",
28
- "prose": "For time-driven animations, specifies the length of time that an animation takes to complete one cycle. A negative <time> is invalid. For scroll-driven animations, treated as auto.",
29
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-duration-time-0s",
30
- "type": "value",
31
- "value": "<time [0s,∞]>"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "animation-duration",
36
- "animationDuration"
37
- ]
38
- },
39
- {
40
- "name": "animation-composition",
41
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-composition",
42
- "value": "<single-animation-composition>#",
43
- "initial": "replace",
44
- "appliesTo": "all elements",
45
- "inherited": "no",
46
- "percentages": "N/A",
47
- "computedValue": "list, each item a keyword as specified",
48
- "canonicalOrder": "per grammar",
49
- "animationType": "not animatable",
50
- "styleDeclaration": [
51
- "animation-composition",
52
- "animationComposition"
53
- ]
54
- },
55
- {
56
- "name": "animation-timeline",
57
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-timeline",
58
- "value": "<single-animation-timeline>#",
59
- "initial": "auto",
60
- "appliesTo": "all elements",
61
- "inherited": "no",
62
- "percentages": "N/A",
63
- "computedValue": "list, each item either the keyword none, the keyword auto, a case-sensitive css identifier, a computed scroll() function, or a computed view() function",
64
- "canonicalOrder": "per grammar",
65
- "animationType": "not animatable",
66
- "styleDeclaration": [
67
- "animation-timeline",
68
- "animationTimeline"
69
- ]
70
- },
71
- {
72
- "name": "animation-trigger-behavior",
73
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-behavior",
74
- "value": "<single-animation-trigger-behavior>#",
75
- "initial": "once",
76
- "appliesTo": "all elements",
77
- "inherited": "no",
78
- "percentages": "N/A",
79
- "computedValue": "list, each item a keyword as specified",
80
- "canonicalOrder": "per grammar",
81
- "animationType": "not animatable",
82
- "values": [
83
- {
84
- "name": "once",
85
- "prose": "The animation is triggered and played once and only once.",
86
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-once",
87
- "type": "value",
88
- "value": "once"
89
- },
90
- {
91
- "name": "repeat",
92
- "prose": "The animation is played from the beginning each time it is triggered. When the trigger’s active interval is exited the animation is reset.",
93
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-repeat",
94
- "type": "value",
95
- "value": "repeat"
96
- },
97
- {
98
- "name": "alternate",
99
- "prose": "The animation is played forwards, according to its playback direction, each time it is triggered. When the trigger’s active interval is exited the animation is reversed.",
100
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-alternate",
101
- "type": "value",
102
- "value": "alternate"
103
- },
104
- {
105
- "name": "state",
106
- "prose": "The animation is triggered and played once. When the trigger’s active interval is exited the animation is paused. When the trigger’s active interval is re-entered the animation is resumed.",
107
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-state",
108
- "type": "value",
109
- "value": "state"
110
- }
111
- ],
112
- "styleDeclaration": [
113
- "animation-trigger-behavior",
114
- "animationTriggerBehavior"
115
- ]
116
- },
117
- {
118
- "name": "animation-trigger-timeline",
119
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-timeline",
120
- "value": "<single-animation-timeline>#",
121
- "initial": "auto",
122
- "appliesTo": "all elements",
123
- "inherited": "no",
124
- "percentages": "N/A",
125
- "computedValue": "list, each item either the keyword none, the keyword auto, a case-sensitive css identifier, a computed scroll() function, or a computed view() function",
126
- "canonicalOrder": "per grammar",
127
- "animationType": "not animatable",
128
- "styleDeclaration": [
129
- "animation-trigger-timeline",
130
- "animationTriggerTimeline"
131
- ]
132
- },
133
- {
134
- "name": "animation-trigger-range",
135
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range",
136
- "value": "[ <'animation-trigger-range-start'> <'animation-trigger-range-end'>? ]#",
137
- "initial": "see individual properties",
138
- "appliesTo": "see individual properties",
139
- "inherited": "see individual properties",
140
- "percentages": "see individual properties",
141
- "computedValue": "see individual properties",
142
- "animationType": "see individual properties",
143
- "canonicalOrder": "per grammar",
144
- "styleDeclaration": [
145
- "animation-trigger-range",
146
- "animationTriggerRange"
147
- ]
148
- },
149
- {
150
- "name": "animation-trigger-range-start",
151
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range-start",
152
- "value": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
153
- "initial": "normal",
154
- "appliesTo": "all elements",
155
- "inherited": "no",
156
- "percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
157
- "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
158
- "canonicalOrder": "per grammar",
159
- "animationType": "not animatable",
160
- "styleDeclaration": [
161
- "animation-trigger-range-start",
162
- "animationTriggerRangeStart"
163
- ]
164
- },
165
- {
166
- "name": "animation-trigger-range-end",
167
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-range-end",
168
- "value": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
169
- "initial": "normal",
170
- "appliesTo": "all elements",
171
- "inherited": "no",
172
- "percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
173
- "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
174
- "canonicalOrder": "per grammar",
175
- "animationType": "not animatable",
176
- "styleDeclaration": [
177
- "animation-trigger-range-end",
178
- "animationTriggerRangeEnd"
179
- ]
180
- },
181
- {
182
- "name": "animation-trigger-exit-range",
183
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range",
184
- "value": "[ <'animation-trigger-exit-range-start'> <'animation-trigger-exit-range-end'>? ]#",
185
- "initial": "see individual properties",
186
- "appliesTo": "see individual properties",
187
- "inherited": "see individual properties",
188
- "percentages": "see individual properties",
189
- "computedValue": "see individual properties",
190
- "animationType": "see individual properties",
191
- "canonicalOrder": "per grammar",
192
- "styleDeclaration": [
193
- "animation-trigger-exit-range",
194
- "animationTriggerExitRange"
195
- ]
196
- },
197
- {
198
- "name": "animation-trigger-exit-range-start",
199
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range-start",
200
- "value": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
201
- "initial": "auto",
202
- "appliesTo": "all elements",
203
- "inherited": "no",
204
- "percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
205
- "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
206
- "canonicalOrder": "per grammar",
207
- "animationType": "not animatable",
208
- "values": [
209
- {
210
- "name": "auto",
211
- "prose": "The start of the trigger’s exit range is equal to the start of its default range.",
212
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-auto",
213
- "type": "value",
214
- "value": "auto"
215
- },
216
- {
217
- "name": "normal",
218
- "prose": "The start of the trigger’s exit range is the start of its associated timeline; the start of the trigger’s active interval is determined as normal.",
219
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-normal",
220
- "type": "value",
221
- "value": "normal"
222
- },
223
- {
224
- "name": "<length-percentage>",
225
- "prose": "The exit range starts at the specified point on the timeline measuring from the start of the timeline.",
226
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-length-percentage",
227
- "type": "value",
228
- "value": "<length-percentage>"
229
- },
230
- {
231
- "name": "<timeline-range-name> <length-percentage>?",
232
- "prose": "The exit range starts at the specified point on the timeline measuring from the start of the specified named timeline range. If the <length-percentage> is omitted, it defaults to 0%.",
233
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-start-timeline-range-name-length-percentage",
234
- "type": "value",
235
- "value": "<timeline-range-name> <length-percentage>?"
236
- }
237
- ],
238
- "styleDeclaration": [
239
- "animation-trigger-exit-range-start",
240
- "animationTriggerExitRangeStart"
241
- ]
242
- },
243
- {
244
- "name": "animation-trigger-exit-range-end",
245
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-exit-range-end",
246
- "value": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
247
- "initial": "auto",
248
- "appliesTo": "all elements",
249
- "inherited": "no",
250
- "percentages": "relative to the specified named timeline range if one was specified, else to the entire timeline",
251
- "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
252
- "canonicalOrder": "per grammar",
253
- "animationType": "not animatable",
254
- "values": [
255
- {
256
- "name": "auto",
257
- "prose": "The end of the trigger’s exit range is equal to the end of its default range.",
258
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-auto",
259
- "type": "value",
260
- "value": "auto"
261
- },
262
- {
263
- "name": "normal",
264
- "prose": "The end of the trigger’s exit range is the end of its associated timeline; the end of the trigger’s active interval is determined as normal.",
265
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-normal",
266
- "type": "value",
267
- "value": "normal"
268
- },
269
- {
270
- "name": "<length-percentage>",
271
- "prose": "The exit range ends at the specified point on the timeline measuring from the start of the timeline.",
272
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-length-percentage",
273
- "type": "value",
274
- "value": "<length-percentage>"
275
- },
276
- {
277
- "name": "<timeline-range-name> <length-percentage>?",
278
- "prose": "The exit range ends at the specified point on the timeline measuring from the start of the specified named timeline range. If the <length-percentage> is omitted, it defaults to 100%.",
279
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-exit-range-end-timeline-range-name-length-percentage",
280
- "type": "value",
281
- "value": "<timeline-range-name> <length-percentage>?"
282
- }
283
- ],
284
- "styleDeclaration": [
285
- "animation-trigger-exit-range-end",
286
- "animationTriggerExitRangeEnd"
287
- ]
288
- },
289
- {
290
- "name": "animation-trigger",
291
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger",
292
- "value": "<single-animation-trigger>#",
293
- "initial": "see individual properties",
294
- "appliesTo": "all elements",
295
- "inherited": "no",
296
- "percentages": "N/A",
297
- "computedValue": "see individual properties",
298
- "canonicalOrder": "per grammar",
299
- "animationType": "not animatable",
300
- "styleDeclaration": [
301
- "animation-trigger",
302
- "animationTrigger"
303
- ]
304
- }
305
- ],
306
- "atrules": [],
307
- "selectors": [],
308
- "values": [
309
- {
310
- "name": "<single-animation-composition>",
311
- "value": "replace | add | accumulate",
312
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition",
313
- "type": "type"
314
- },
315
- {
316
- "name": "<single-animation-timeline>",
317
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-timeline",
318
- "type": "type",
319
- "value": "auto | none | <dashed-ident> | <scroll()> | <view()>",
320
- "values": [
321
- {
322
- "name": "auto",
323
- "prose": "The animation’s timeline is a DocumentTimeline, more specifically the default document timeline.",
324
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-auto",
325
- "type": "value",
326
- "value": "auto"
327
- },
328
- {
329
- "name": "none",
330
- "prose": "The animation is not associated with a timeline.",
331
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-none",
332
- "type": "value",
333
- "value": "none"
334
- },
335
- {
336
- "name": "<dashed-ident>",
337
- "prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § Declaring a Named Timeline’s Scope: the timeline-scope property. Otherwise the animation is not associated with a timeline.",
338
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-dashed-ident",
339
- "type": "value",
340
- "value": "<dashed-ident>"
341
- },
342
- {
343
- "name": "<scroll()>",
344
- "prose": "Use the scroll progress timeline indicated by the given scroll() function. See Scroll-driven Animations § 2.2.1 The scroll() notation.",
345
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-scroll",
346
- "type": "value",
347
- "value": "<scroll()>"
348
- },
349
- {
350
- "name": "<view()>",
351
- "prose": "Use the view progress timeline indicated by the given view() function. See Scroll-driven Animations § 3.3.1 The view() notation.",
352
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-timeline-view",
353
- "type": "value",
354
- "value": "<view()>"
355
- }
356
- ]
357
- },
358
- {
359
- "name": "<single-animation>",
360
- "value": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
361
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation",
362
- "type": "type"
363
- },
364
- {
365
- "name": "<single-animation-trigger-behavior>",
366
- "value": "once | repeat | alternate | state",
367
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-behavior",
368
- "type": "type"
369
- },
370
- {
371
- "name": "<single-animation-trigger>",
372
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger",
373
- "type": "type",
374
- "value": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
375
- }
376
- ]
377
- }