@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
package/css-values-5.json DELETED
@@ -1,651 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Values and Units Module Level 5",
4
- "url": "https://drafts.csswg.org/css-values-5/"
5
- },
6
- "properties": [
7
- {
8
- "name": "interpolate-size",
9
- "href": "https://drafts.csswg.org/css-values-5/#propdef-interpolate-size",
10
- "value": "numeric-only | allow-keywords",
11
- "initial": "numeric-only",
12
- "appliesTo": "all elements",
13
- "inherited": "yes",
14
- "percentages": "n/a",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "values": [
19
- {
20
- "name": "numeric-only",
21
- "prose": "An <intrinsic-size-keyword> cannot be interpolated.",
22
- "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-numeric-only",
23
- "type": "value",
24
- "value": "numeric-only"
25
- },
26
- {
27
- "name": "allow-keywords",
28
- "prose": "Two values can also be interpolated if one of them is an <intrinsic-size-keyword> and the other is a <length-percentage>. This is done by treating the <intrinsic-size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 10.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
29
- "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-allow-keywords",
30
- "type": "value",
31
- "value": "allow-keywords"
32
- }
33
- ],
34
- "styleDeclaration": [
35
- "interpolate-size",
36
- "interpolateSize"
37
- ]
38
- }
39
- ],
40
- "atrules": [],
41
- "selectors": [],
42
- "values": [
43
- {
44
- "name": "<boolean-expr>",
45
- "prose": "Several contexts (such as @media, @supports, if(), ...) specify conditions, and allow combining those conditions with boolean logic (and/or/not/grouping). Because they use the same non-trivial recursive syntax structure, the special <boolean-expr> production represents this pattern generically.",
46
- "href": "https://drafts.csswg.org/css-values-5/#typedef-boolean-expr",
47
- "type": "type"
48
- },
49
- {
50
- "name": "<syntax>",
51
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
52
- "type": "type",
53
- "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
54
- },
55
- {
56
- "name": "<syntax-component>",
57
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-component",
58
- "type": "type",
59
- "value": "<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'"
60
- },
61
- {
62
- "name": "<syntax-single-component>",
63
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-single-component",
64
- "type": "type",
65
- "value": "'<' <syntax-type-name> '>' | <ident>"
66
- },
67
- {
68
- "name": "<syntax-type-name>",
69
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-type-name",
70
- "type": "type",
71
- "value": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
72
- },
73
- {
74
- "name": "<syntax-combinator>",
75
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-combinator",
76
- "type": "type",
77
- "value": "'|'"
78
- },
79
- {
80
- "name": "<syntax-multiplier>",
81
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-multiplier",
82
- "type": "type",
83
- "value": "[ '#' | '+' ]"
84
- },
85
- {
86
- "name": "<syntax-string>",
87
- "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-string",
88
- "type": "type",
89
- "value": "<string>"
90
- },
91
- {
92
- "name": "<request-url-modifier>",
93
- "prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
94
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier",
95
- "type": "type",
96
- "value": "<crossorigin-modifier> | <integrity-modifier> | <referrerpolicy-modifier>",
97
- "values": [
98
- {
99
- "name": "<crossorigin-modifier>",
100
- "value": "crossorigin(anonymous | use-credentials)",
101
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-crossorigin-modifier",
102
- "type": "type"
103
- },
104
- {
105
- "name": "crossorigin()",
106
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
107
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-crossorigin",
108
- "type": "function"
109
- },
110
- {
111
- "name": "anonymous",
112
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
113
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-anonymous",
114
- "type": "value",
115
- "value": "anonymous"
116
- },
117
- {
118
- "name": "use-credentials",
119
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
120
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-use-credentials",
121
- "type": "value",
122
- "value": "use-credentials"
123
- },
124
- {
125
- "name": "<integrity-modifier>",
126
- "value": "integrity(<string>)",
127
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-integrity-modifier",
128
- "type": "type"
129
- },
130
- {
131
- "name": "integrity()",
132
- "prose": "<integrity-modifier> = integrity(<string>)",
133
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-integrity",
134
- "type": "function"
135
- },
136
- {
137
- "name": "<referrerpolicy-modifier>",
138
- "value": "referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
139
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrerpolicy-modifier",
140
- "type": "type"
141
- },
142
- {
143
- "name": "referrerpolicy()",
144
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
145
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-referrerpolicy",
146
- "type": "function"
147
- },
148
- {
149
- "name": "no-referrer",
150
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
151
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer",
152
- "type": "value",
153
- "value": "no-referrer"
154
- },
155
- {
156
- "name": "no-referrer-when-downgrade",
157
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
158
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer-when-downgrade",
159
- "type": "value",
160
- "value": "no-referrer-when-downgrade"
161
- },
162
- {
163
- "name": "same-origin",
164
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
165
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-same-origin",
166
- "type": "value",
167
- "value": "same-origin"
168
- },
169
- {
170
- "name": "origin",
171
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
172
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin",
173
- "type": "value",
174
- "value": "origin"
175
- },
176
- {
177
- "name": "strict-origin",
178
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
179
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin",
180
- "type": "value",
181
- "value": "strict-origin"
182
- },
183
- {
184
- "name": "origin-when-cross-origin",
185
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
186
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin-when-cross-origin",
187
- "type": "value",
188
- "value": "origin-when-cross-origin"
189
- },
190
- {
191
- "name": "strict-origin-when-cross-origin",
192
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
193
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin-when-cross-origin",
194
- "type": "value",
195
- "value": "strict-origin-when-cross-origin"
196
- },
197
- {
198
- "name": "unsafe-url",
199
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
200
- "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-unsafe-url",
201
- "type": "value",
202
- "value": "unsafe-url"
203
- }
204
- ]
205
- },
206
- {
207
- "name": "<position>",
208
- "prose": "The <position> value specifies the position of an alignment subject (e.g. a background image) inside an alignment container (e.g. its background positioning area) as a pair of offsets between the specified edges (defaulting to the left and top). Its syntax is:",
209
- "href": "https://drafts.csswg.org/css-values-5/#typedef-position",
210
- "type": "type",
211
- "value": "<position-one> | <position-two> | <position-four>",
212
- "values": [
213
- {
214
- "name": "<length-percentage>",
215
- "prose": "A <length-percentage> value specifies the size of the offset between the specified edges of the alignment subject and alignment container. For example, for background-position: 2cm 1cm, the top left corner of the background image is placed 2cm to the right and 1cm below the top left corner of the background positioning area. A <percentage> for the horizontal offset is relative to (width of alignment container - width of alignment subject). A <percentage> for the vertical offset is relative to (height of alignment container - height of alignment subject). For example, with a value pair of 0% 0%, the upper left corner of the alignment subject is aligned with the upper left corner of the alignment container A value pair of 100% 100% places the lower right corner of the alignment subject in the lower right corner of the alignment container. With a value pair of 75% 50%, the point 75% across and 50% down the alignment subject is to be placed at the point 75% across and 50% down the alignment container. Diagram of the meaning of background-position: 75% 50%.",
216
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-length-percentage",
217
- "type": "value",
218
- "value": "<length-percentage>"
219
- },
220
- {
221
- "name": "top",
222
- "prose": "Offsets the top/left/right/bottom edges (respectively) of the alignment subject and alignment container by the specified amount (defaulting to 0%) in the corresponding axis.",
223
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-top",
224
- "type": "value",
225
- "value": "top"
226
- },
227
- {
228
- "name": "right",
229
- "prose": "Offsets the top/left/right/bottom edges (respectively) of the alignment subject and alignment container by the specified amount (defaulting to 0%) in the corresponding axis.",
230
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-right",
231
- "type": "value",
232
- "value": "right"
233
- },
234
- {
235
- "name": "bottom",
236
- "prose": "Offsets the top/left/right/bottom edges (respectively) of the alignment subject and alignment container by the specified amount (defaulting to 0%) in the corresponding axis.",
237
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-bottom",
238
- "type": "value",
239
- "value": "bottom"
240
- },
241
- {
242
- "name": "left",
243
- "prose": "Offsets the top/left/right/bottom edges (respectively) of the alignment subject and alignment container by the specified amount (defaulting to 0%) in the corresponding axis.",
244
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-left",
245
- "type": "value",
246
- "value": "left"
247
- },
248
- {
249
- "name": "y-start",
250
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the y/x axis.",
251
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-y-start",
252
- "type": "value",
253
- "value": "y-start"
254
- },
255
- {
256
- "name": "y-end",
257
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the y/x axis.",
258
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-y-end",
259
- "type": "value",
260
- "value": "y-end"
261
- },
262
- {
263
- "name": "x-start",
264
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the y/x axis.",
265
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-x-start",
266
- "type": "value",
267
- "value": "x-start"
268
- },
269
- {
270
- "name": "x-end",
271
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the y/x axis.",
272
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-x-end",
273
- "type": "value",
274
- "value": "x-end"
275
- },
276
- {
277
- "name": "block-start",
278
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the block/inline axis.",
279
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-block-start",
280
- "type": "value",
281
- "value": "block-start"
282
- },
283
- {
284
- "name": "block-end",
285
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the block/inline axis.",
286
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-block-end",
287
- "type": "value",
288
- "value": "block-end"
289
- },
290
- {
291
- "name": "inline-start",
292
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the block/inline axis.",
293
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-inline-start",
294
- "type": "value",
295
- "value": "inline-start"
296
- },
297
- {
298
- "name": "inline-end",
299
- "prose": "Computes the same as the physical edge keyword corresponding to the start/end side in the block/inline axis.",
300
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-inline-end",
301
- "type": "value",
302
- "value": "inline-end"
303
- },
304
- {
305
- "name": "center",
306
- "prose": "Computes to a 50% offset in the corresponding axis.",
307
- "href": "https://drafts.csswg.org/css-values-5/#valdef-position-center",
308
- "type": "value",
309
- "value": "center"
310
- }
311
- ]
312
- },
313
- {
314
- "name": "<position-one>",
315
- "href": "https://drafts.csswg.org/css-values-5/#typedef-position-one",
316
- "type": "type",
317
- "value": "[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]"
318
- },
319
- {
320
- "name": "<position-two>",
321
- "href": "https://drafts.csswg.org/css-values-5/#typedef-position-two",
322
- "type": "type",
323
- "value": "[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]"
324
- },
325
- {
326
- "name": "<position-four>",
327
- "href": "https://drafts.csswg.org/css-values-5/#typedef-position-four",
328
- "type": "type",
329
- "value": "[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]"
330
- },
331
- {
332
- "name": "progress()",
333
- "prose": "The progress() functional notation represents the proportional distance of a given value (the progress value) from one value (the progress start value) to another value (the progress end value), each represented as a calculation. It is a math function, and can be input into other calculations such as a math function or a mix notation.",
334
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-progress",
335
- "type": "function",
336
- "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
337
- },
338
- {
339
- "name": "<progress>",
340
- "prose": "The <progress> value type represents the mix progress value in a mix notation, and ultimately resolves to a percentage. It can, however, draw that percentage value from sources such as media queries and animation timelines, and can also convert it through an easing function before using it for interpolation.",
341
- "href": "https://drafts.csswg.org/css-values-5/#typedef-progress",
342
- "type": "type",
343
- "value": "[ <percentage-token> | <number> | <'animation-timeline'> ] && [ by <easing-function> ]?",
344
- "values": [
345
- {
346
- "name": "<percentage-token>",
347
- "prose": "Computes to the equivalent <number>: 0% becomes 0, 100% becomes 1, etc.",
348
- "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-percentage-token",
349
- "type": "value",
350
- "value": "<percentage-token>"
351
- },
352
- {
353
- "name": "<number>",
354
- "prose": "Represents the mix progress value.",
355
- "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-number",
356
- "type": "value",
357
- "value": "<number>"
358
- },
359
- {
360
- "name": "<'animation-timeline'>",
361
- "prose": "Represents the mix progress value as the progress of the specified animation timeline. The values none and auto, however, are invalid. [CSS-ANIMATIONS-2] [WEB-ANIMATIONS-2]",
362
- "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-animation-timeline",
363
- "type": "value",
364
- "value": "<'animation-timeline'>"
365
- },
366
- {
367
- "name": "<easing-function>",
368
- "prose": "Converts the specified input mix progress value into an output mix progress value using the specified easing function. [CSS-EASING-1]",
369
- "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-easing-function",
370
- "type": "value",
371
- "value": "<easing-function>"
372
- }
373
- ]
374
- },
375
- {
376
- "name": "calc-mix()",
377
- "prose": "The calc-mix() mix notation represents an interpolated numeric or dimensional value. Like calc(), it is a math function, with the following syntactic form:",
378
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-mix",
379
- "type": "function",
380
- "value": "calc-mix( <progress>, <calc-sum>, <calc-sum> )"
381
- },
382
- {
383
- "name": "transform-mix()",
384
- "prose": "The transform-mix() mix notation represents an interpolated <transform-list>, with the following syntactic form:",
385
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-mix",
386
- "type": "function",
387
- "value": "transform-mix( <progress>, <transform-list>, <transform-list> )"
388
- },
389
- {
390
- "name": "mix()",
391
- "prose": "Interpolation of any two property values can be represented by the mix() mix notation, which supports two alternative syntax patterns:",
392
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-mix",
393
- "type": "function",
394
- "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
395
- },
396
- {
397
- "name": "first-valid()",
398
- "prose": "The first-valid() functional notation inlines the fallback behavior intrinsic to parsing declarations. Unlike most notations, it can accept any valid or invalid syntax in its arguments, and represents the first value among its arguments that is supported (parsed as valid) by the UA as the whole value of the property it’s used in.",
399
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-first-valid",
400
- "type": "function",
401
- "value": "first-valid( <declaration-value># )"
402
- },
403
- {
404
- "name": "if()",
405
- "prose": "The if() function is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() function represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() function represents an empty token stream.",
406
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
407
- "type": "function",
408
- "value": "if( [ <if-branch> ; ]* <if-branch> ;? )",
409
- "values": [
410
- {
411
- "name": "else",
412
- "prose": "The else keyword represents a condition that is always true.",
413
- "href": "https://drafts.csswg.org/css-values-5/#valdef-if-else",
414
- "type": "value",
415
- "value": "else"
416
- }
417
- ]
418
- },
419
- {
420
- "name": "<if-branch>",
421
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if-branch",
422
- "type": "type",
423
- "value": "<if-condition> : <declaration-value>?"
424
- },
425
- {
426
- "name": "<if-condition>",
427
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
428
- "type": "type",
429
- "value": "<boolean-expr[ <if-test> ]> | else"
430
- },
431
- {
432
- "name": "<if-test>",
433
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
434
- "type": "type",
435
- "value": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )"
436
- },
437
- {
438
- "name": "<if-args>",
439
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args",
440
- "type": "type",
441
- "value": "if( [ <if-args-branch> ; ]* <if-args-branch> ;? )"
442
- },
443
- {
444
- "name": "<if-args-branch>",
445
- "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args-branch",
446
- "type": "type",
447
- "value": "<declaration-value> : <declaration-value>?"
448
- },
449
- {
450
- "name": "toggle()",
451
- "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
452
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
453
- "type": "function",
454
- "value": "toggle( <whole-value># )"
455
- },
456
- {
457
- "name": "inherit()",
458
- "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to a sequence of component values representing the computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
459
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
460
- "type": "function",
461
- "value": "inherit( <custom-property-name>, <declaration-value>? )"
462
- },
463
- {
464
- "name": "<inherit-args>",
465
- "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit-args",
466
- "type": "type",
467
- "value": "inherit( <declaration-value>, <declaration-value>? )"
468
- },
469
- {
470
- "name": "attr()",
471
- "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
472
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
473
- "type": "function",
474
- "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
475
- "values": [
476
- {
477
- "name": "type()",
478
- "value": "type( <syntax> )",
479
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr-type",
480
- "type": "function"
481
- }
482
- ]
483
- },
484
- {
485
- "name": "<attr-name>",
486
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-name",
487
- "type": "type",
488
- "value": "[ <ident-token>? '|' ]? <ident-token>"
489
- },
490
- {
491
- "name": "<attr-type>",
492
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
493
- "type": "type",
494
- "value": "type( <syntax> ) | raw-string | <attr-unit>"
495
- },
496
- {
497
- "name": "<attr-args>",
498
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-args",
499
- "type": "type",
500
- "value": "attr( <declaration-value>, <declaration-value>? )"
501
- },
502
- {
503
- "name": "<attr-unit>",
504
- "prose": "The <attr-unit> production matches any identifier that is an ASCII case-insensitive match for the name of a CSS dimension unit, such as px, or the <delim-token> %. It is not expanded literally here, as the set of units expands over time.",
505
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-unit",
506
- "type": "type"
507
- },
508
- {
509
- "name": "ident()",
510
- "prose": "The ident() function represents an <ident>, and can be used to manually construct <custom-ident> values from several parts.",
511
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident",
512
- "type": "function",
513
- "value": "ident( <ident-arg>+ )"
514
- },
515
- {
516
- "name": "<ident-arg>",
517
- "href": "https://drafts.csswg.org/css-values-5/#typedef-ident-arg",
518
- "type": "type",
519
- "value": "<string> | <integer> | <ident>"
520
- },
521
- {
522
- "name": "random()",
523
- "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
524
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
525
- "type": "function",
526
- "value": "random( <random-value-sharing>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
527
- },
528
- {
529
- "name": "<random-value-sharing>",
530
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-value-sharing",
531
- "type": "type",
532
- "value": "[ [ auto | <dashed-ident> ] || element-shared ] | fixed <number [0,1]>",
533
- "values": [
534
- {
535
- "name": "auto",
536
- "prose": "Each random function in an element’s styles will use a distinct random base value. (But see the note below for a small wrinkle about this.) If neither auto nor <dashed-ident> are specified, it behaves as auto.",
537
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-auto",
538
- "type": "value",
539
- "value": "auto"
540
- },
541
- {
542
- "name": "<dashed-ident>",
543
- "prose": "Each random function in an element’s styles with the same <dashed-ident> will share the same random base value; ones with different <dashed-ident>s will use distinct random base values.",
544
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-dashed-ident",
545
- "type": "value",
546
- "value": "<dashed-ident>"
547
- },
548
- {
549
- "name": "element-shared",
550
- "prose": "If element-shared is omitted, random functions on different elements will use distinct random base values. If specified, random functions on different elements will share the same random base value if they have the same <dashed-ident> (if specified) or if they’re used in the same style in the same way (if not). (Again, see the note below for a small wrinkle about this.)",
551
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-element-shared",
552
- "type": "value",
553
- "value": "element-shared"
554
- },
555
- {
556
- "name": "<number>",
557
- "prose": "If fixed <number> is specified, the <number> is used as the random function’s random base value, rather than allowing the UA to generate a random base value and controlling how it’s shared. While 1 is technically allowed as a valid value (because CSS grammars can only express closed ranges), the random base value is clamped to the highest representable value less than 1, so random base values remain in the half-open range `[0, 1)`.",
558
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
559
- "type": "value",
560
- "value": "<number>"
561
- }
562
- ]
563
- },
564
- {
565
- "name": "random-item()",
566
- "prose": "The random-item() function resolves to a random item from among its list of items.",
567
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
568
- "type": "function",
569
- "value": "random-item( <random-value-sharing> , [ <declaration-value>? ]# )"
570
- },
571
- {
572
- "name": "<random-item-args>",
573
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
574
- "type": "type",
575
- "value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
576
- },
577
- {
578
- "name": "sibling-count()",
579
- "prose": "The sibling-count() functional notation represents, as an <integer>, the total number of child elements in the parent of the element on which the notation is used.",
580
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-count",
581
- "type": "function"
582
- },
583
- {
584
- "name": "sibling-index()",
585
- "prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among its inclusive siblings. Like :nth-child(), sibling-index() is 1-indexed.",
586
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
587
- "type": "function"
588
- },
589
- {
590
- "name": "calc-size()",
591
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
592
- "type": "function",
593
- "value": "calc-size( <calc-size-basis>, <calc-sum> )",
594
- "values": [
595
- {
596
- "name": "size",
597
- "prose": "Within the calc-size calculation, if the calc-size basis is not any, the keyword size is allowed. This keyword is a <length>, and resolves at used value time.",
598
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
599
- "type": "value",
600
- "value": "size"
601
- },
602
- {
603
- "name": "any",
604
- "prose": "(If the calc-size basis is any, the calc-size() is a definite length, equal to its calc-size calculation.)",
605
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
606
- "type": "value",
607
- "value": "any"
608
- }
609
- ]
610
- },
611
- {
612
- "name": "<calc-size-basis>",
613
- "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
614
- "type": "type",
615
- "value": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]"
616
- },
617
- {
618
- "name": "<size-keyword>",
619
- "prose": "The <size-keyword> production matches any sizing keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
620
- "href": "https://drafts.csswg.org/css-values-5/#typedef-size-keyword",
621
- "type": "type"
622
- }
623
- ],
624
- "warnings": [
625
- {
626
- "msg": "Missing definition",
627
- "name": "]>",
628
- "value": "not <boolean-expr-group> | <boolean-expr-group> [ [ and <boolean-expr-group> ]* | [ or <boolean-expr-group> ]* ]"
629
- },
630
- {
631
- "msg": "Missing definition",
632
- "name": "<boolean-expr-group>",
633
- "value": "<test> | ( <boolean-expr[ <test> ]> ) | <general-enclosed>"
634
- },
635
- {
636
- "msg": "Missing definition",
637
- "name": "mix-function()",
638
- "value": "mix-function( <progress>, start-value, end-value )"
639
- },
640
- {
641
- "msg": "Missing definition",
642
- "name": "<color-mix()>",
643
- "value": "color-mix( [ <progress> && <color-interpolation-method>? ] , <color>, <color> ) | color-mix( <color-interpolation-method>, [<color> && <percentage [0,100]>?]# )"
644
- },
645
- {
646
- "msg": "Missing definition",
647
- "name": "<cross-fade()>",
648
- "value": "cross-fade( <progress>, [ <image> | <color> ], [ <image> | <color> ] ) | cross-fade( <cf-image># )"
649
- }
650
- ]
651
- }