@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,337 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Animations Level 1",
4
- "url": "https://drafts.csswg.org/css-animations-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "animation-name",
9
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-name",
10
- "value": "[ none | <keyframes-name> ]#",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "N/A",
15
- "computedValue": "list, each item either a case-sensitive css identifier or the keyword none",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "values": [
19
- {
20
- "name": "none",
21
- "prose": "No keyframes are specified at all, so there will be no animation. Any other animations properties specified for this animation have no effect.",
22
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-name-none",
23
- "type": "value",
24
- "value": "none"
25
- },
26
- {
27
- "name": "<keyframes-name>",
28
- "prose": "The animation will use the keyframes with the name specified by the <keyframes-name>, if they exist. If no @keyframes rule with that name exists, there is no animation.",
29
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-name-keyframes-name",
30
- "type": "value",
31
- "value": "<keyframes-name>"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "animation-name",
36
- "animationName"
37
- ]
38
- },
39
- {
40
- "name": "animation-duration",
41
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-duration",
42
- "value": "<time [0s,∞]>#",
43
- "initial": "0s",
44
- "appliesTo": "all elements",
45
- "inherited": "no",
46
- "percentages": "N/A",
47
- "computedValue": "list, each item a duration",
48
- "canonicalOrder": "per grammar",
49
- "animationType": "not animatable",
50
- "values": [
51
- {
52
- "name": "<time [0s,∞]>",
53
- "prose": "Specifies the length of time that an animation takes to complete one cycle. A negative <time> is invalid. If the <time> is 0s, like the initial value, the keyframes of the animation have no effect, but the animation itself still occurs instantaneously. Specifically, start and end events are fired; if animation-fill-mode is set to backwards or both, the first frame of the animation, as defined by animation-direction, will be displayed during the animation-delay. After the animation-delay the last frame of the animation, as defined by animation-direction, will be displayed if animation-fill-mode is set to forwards or both. If animation-fill-mode is set to none the animation will have no visible effect.",
54
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-duration-time-0s",
55
- "type": "value",
56
- "value": "<time [0s,∞]>"
57
- }
58
- ],
59
- "styleDeclaration": [
60
- "animation-duration",
61
- "animationDuration"
62
- ]
63
- },
64
- {
65
- "name": "animation-timing-function",
66
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-timing-function",
67
- "value": "<easing-function>#",
68
- "initial": "ease",
69
- "appliesTo": "all elements",
70
- "inherited": "no",
71
- "percentages": "N/A",
72
- "computedValue": "list, each item a computed <easing-function>",
73
- "canonicalOrder": "per grammar",
74
- "animationType": "not animatable",
75
- "styleDeclaration": [
76
- "animation-timing-function",
77
- "animationTimingFunction"
78
- ]
79
- },
80
- {
81
- "name": "animation-iteration-count",
82
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-iteration-count",
83
- "value": "<single-animation-iteration-count>#",
84
- "initial": "1",
85
- "appliesTo": "all elements",
86
- "inherited": "no",
87
- "percentages": "N/A",
88
- "computedValue": "list, each item either a number or the keyword infinite",
89
- "canonicalOrder": "per grammar",
90
- "animationType": "not animatable",
91
- "values": [
92
- {
93
- "name": "infinite",
94
- "prose": "The animation will repeat forever.",
95
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-iteration-count-infinite",
96
- "type": "value",
97
- "value": "infinite"
98
- },
99
- {
100
- "name": "<number [0,∞]>",
101
- "prose": "The animation will repeat the specified number of times. If the number is not an integer, the animation will end partway through its last cycle. Negative numbers are invalid. A value of 0 is valid and, similar to an animation-duration of 0s, causes the animation to occur instantaneously.",
102
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-iteration-count-number-0",
103
- "type": "value",
104
- "value": "<number [0,∞]>"
105
- }
106
- ],
107
- "styleDeclaration": [
108
- "animation-iteration-count",
109
- "animationIterationCount"
110
- ]
111
- },
112
- {
113
- "name": "animation-direction",
114
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-direction",
115
- "value": "<single-animation-direction>#",
116
- "initial": "normal",
117
- "appliesTo": "all elements",
118
- "inherited": "no",
119
- "percentages": "N/A",
120
- "computedValue": "list, each item a keyword as specified",
121
- "canonicalOrder": "per grammar",
122
- "animationType": "not animatable",
123
- "values": [
124
- {
125
- "name": "normal",
126
- "prose": "All iterations of the animation are played as specified.",
127
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-direction-normal",
128
- "type": "value",
129
- "value": "normal"
130
- },
131
- {
132
- "name": "reverse",
133
- "prose": "All iterations of the animation are played in the reverse direction from the way they were specified.",
134
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-direction-reverse",
135
- "type": "value",
136
- "value": "reverse"
137
- },
138
- {
139
- "name": "alternate",
140
- "prose": "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.",
141
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-direction-alternate",
142
- "type": "value",
143
- "value": "alternate"
144
- },
145
- {
146
- "name": "alternate-reverse",
147
- "prose": "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.",
148
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-direction-alternate-reverse",
149
- "type": "value",
150
- "value": "alternate-reverse"
151
- }
152
- ],
153
- "styleDeclaration": [
154
- "animation-direction",
155
- "animationDirection"
156
- ]
157
- },
158
- {
159
- "name": "animation-play-state",
160
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-play-state",
161
- "value": "<single-animation-play-state>#",
162
- "initial": "running",
163
- "appliesTo": "all elements",
164
- "inherited": "no",
165
- "percentages": "N/A",
166
- "computedValue": "list, each item a keyword as specified",
167
- "canonicalOrder": "per grammar",
168
- "animationType": "not animatable",
169
- "values": [
170
- {
171
- "name": "running",
172
- "prose": "While this property is set to running, the animation proceeds as normal.",
173
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-play-state-running",
174
- "type": "value",
175
- "value": "running"
176
- },
177
- {
178
- "name": "paused",
179
- "prose": "While this property is set to paused, the animation is paused. The animation continues to apply to the element with the progress it had made before being paused. When unpaused (set back to running), it restarts from where it left off, as if the \"clock\" that controls the animation had stopped and started again. If the property is set to paused during the delay phase of the animation, the delay clock is also paused and resumes as soon as animation-play-state is set back to running.",
180
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-play-state-paused",
181
- "type": "value",
182
- "value": "paused"
183
- }
184
- ],
185
- "styleDeclaration": [
186
- "animation-play-state",
187
- "animationPlayState"
188
- ]
189
- },
190
- {
191
- "name": "animation-delay",
192
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-delay",
193
- "value": "<time>#",
194
- "initial": "0s",
195
- "appliesTo": "all elements",
196
- "inherited": "no",
197
- "percentages": "N/A",
198
- "computedValue": "list, each item a duration",
199
- "canonicalOrder": "per grammar",
200
- "animationType": "not animatable",
201
- "values": [
202
- {
203
- "name": "<time>",
204
- "prose": "The <time> defines how long of a delay there is between the start of the animation (when the animation is applied to the element via these properties) and when it begins executing. A delay of 0s (the initial value) means that the animation will execute as soon as it is applied. A negative delay is valid. Similar to a delay of 0s, it means that the animation executes immediately, but is automatically progressed by the absolute value of the delay, as if the animation had started the specified time in the past, and so it appears to start partway through its active duration. If an animation’s keyframes have an implied starting value, the values are taken from the time the animation starts, not some time in the past.",
205
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-delay-time",
206
- "type": "value",
207
- "value": "<time>"
208
- }
209
- ],
210
- "styleDeclaration": [
211
- "animation-delay",
212
- "animationDelay"
213
- ]
214
- },
215
- {
216
- "name": "animation-fill-mode",
217
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation-fill-mode",
218
- "value": "<single-animation-fill-mode>#",
219
- "initial": "none",
220
- "appliesTo": "all elements",
221
- "inherited": "no",
222
- "percentages": "N/A",
223
- "computedValue": "list, each item a keyword as specified",
224
- "canonicalOrder": "per grammar",
225
- "animationType": "not animatable",
226
- "values": [
227
- {
228
- "name": "none",
229
- "prose": "The animation has no effect when it is applied but not executing.",
230
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-fill-mode-none",
231
- "type": "value",
232
- "value": "none"
233
- },
234
- {
235
- "name": "forwards",
236
- "prose": "After the animation ends (as determined by its animation-iteration-count), the animation will apply the property values for the time the animation ended. When animation-iteration-count is an integer greater than zero, the values applied will be those for the end of the last completed iteration of the animation (rather than the values for the start of the iteration that would be next). When animation-iteration-count is zero, the values applied will be those that would start the first iteration (just as when animation-fill-mode is backwards).",
237
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-fill-mode-forwards",
238
- "type": "value",
239
- "value": "forwards"
240
- },
241
- {
242
- "name": "backwards",
243
- "prose": "During the period defined by animation-delay, the animation will apply the property values defined in the keyframe that will start the first iteration of the animation. These are either the values of the from keyframe (when animation-direction is normal or alternate) or those of the to keyframe (when animation-direction is reverse or alternate-reverse).",
244
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-fill-mode-backwards",
245
- "type": "value",
246
- "value": "backwards"
247
- },
248
- {
249
- "name": "both",
250
- "prose": "The effects of both forwards and backwards fill apply.",
251
- "href": "https://drafts.csswg.org/css-animations-1/#valdef-animation-fill-mode-both",
252
- "type": "value",
253
- "value": "both"
254
- }
255
- ],
256
- "styleDeclaration": [
257
- "animation-fill-mode",
258
- "animationFillMode"
259
- ]
260
- },
261
- {
262
- "name": "animation",
263
- "href": "https://drafts.csswg.org/css-animations-1/#propdef-animation",
264
- "value": "<single-animation>#",
265
- "initial": "see individual properties",
266
- "appliesTo": "all elements",
267
- "inherited": "no",
268
- "percentages": "N/A",
269
- "computedValue": "see individual properties",
270
- "canonicalOrder": "per grammar",
271
- "animationType": "not animatable",
272
- "styleDeclaration": [
273
- "animation"
274
- ]
275
- }
276
- ],
277
- "atrules": [
278
- {
279
- "name": "@keyframes",
280
- "prose": "Keyframes are specified using the @keyframes at-rule, defined as follows:",
281
- "href": "https://drafts.csswg.org/css-animations-1/#at-ruledef-keyframes",
282
- "descriptors": [],
283
- "value": "@keyframes <keyframes-name> { <qualified-rule-list> }"
284
- }
285
- ],
286
- "selectors": [],
287
- "values": [
288
- {
289
- "name": "<keyframes-name>",
290
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-keyframes-name",
291
- "type": "type",
292
- "value": "<custom-ident> | <string>"
293
- },
294
- {
295
- "name": "<keyframe-block>",
296
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-keyframe-block",
297
- "type": "type",
298
- "value": "<keyframe-selector># { <declaration-list> }"
299
- },
300
- {
301
- "name": "<keyframe-selector>",
302
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-keyframe-selector",
303
- "type": "type",
304
- "value": "from | to | <percentage [0,100]>"
305
- },
306
- {
307
- "name": "<single-animation-iteration-count>",
308
- "value": "infinite | <number [0,∞]>",
309
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-single-animation-iteration-count",
310
- "type": "type"
311
- },
312
- {
313
- "name": "<single-animation-direction>",
314
- "value": "normal | reverse | alternate | alternate-reverse",
315
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-single-animation-direction",
316
- "type": "type"
317
- },
318
- {
319
- "name": "<single-animation-play-state>",
320
- "value": "running | paused",
321
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-single-animation-play-state",
322
- "type": "type"
323
- },
324
- {
325
- "name": "<single-animation-fill-mode>",
326
- "value": "none | forwards | backwards | both",
327
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-single-animation-fill-mode",
328
- "type": "type"
329
- },
330
- {
331
- "name": "<single-animation>",
332
- "value": "<time [0s,∞]> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]",
333
- "href": "https://drafts.csswg.org/css-animations-1/#typedef-single-animation",
334
- "type": "type"
335
- }
336
- ]
337
- }