@webref/css 6.21.2 → 6.23.0

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.
package/css-shapes.json CHANGED
@@ -151,6 +151,183 @@
151
151
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-path",
152
152
  "type": "function",
153
153
  "value": "path( <'fill-rule'>? , <string> )"
154
+ },
155
+ {
156
+ "name": "shape()",
157
+ "prose": "See The shape() function.",
158
+ "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-shape",
159
+ "type": "function",
160
+ "value": "shape( <'fill-rule'>? from <position> <shape-command># )",
161
+ "values": [
162
+ {
163
+ "name": "<coordinate-pair>",
164
+ "value": "<length-percentage>{2}",
165
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-coordinate-pair",
166
+ "type": "type"
167
+ },
168
+ {
169
+ "name": "<command-end-point>",
170
+ "value": "[ to <position> | by <coordinate-pair> ]",
171
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-command-end-point",
172
+ "type": "type",
173
+ "values": [
174
+ {
175
+ "name": "to",
176
+ "prose": "<command-end-point> = [ to <position> | by <coordinate-pair> ]",
177
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-to",
178
+ "type": "value",
179
+ "value": "to"
180
+ },
181
+ {
182
+ "name": "by",
183
+ "prose": "<command-end-point> = [ to <position> | by <coordinate-pair> ]",
184
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-by",
185
+ "type": "value",
186
+ "value": "by"
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "name": "<move-command>",
192
+ "value": "move <command-end-point>",
193
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-move-command",
194
+ "type": "type"
195
+ },
196
+ {
197
+ "name": "move",
198
+ "prose": "<move-command> = move <command-end-point>",
199
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-move",
200
+ "type": "value",
201
+ "value": "move"
202
+ },
203
+ {
204
+ "name": "<line-command>",
205
+ "value": "line <command-end-point>",
206
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-line-command",
207
+ "type": "type"
208
+ },
209
+ {
210
+ "name": "line",
211
+ "prose": "<line-command> = line <command-end-point>",
212
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-line",
213
+ "type": "value",
214
+ "value": "line"
215
+ },
216
+ {
217
+ "name": "<horizontal-line-command>",
218
+ "value": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
219
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-horizontal-line-command",
220
+ "type": "type"
221
+ },
222
+ {
223
+ "name": "<vertical-line-command>",
224
+ "value": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
225
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-vertical-line-command",
226
+ "type": "type"
227
+ },
228
+ {
229
+ "name": "<curve-command>",
230
+ "value": "curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
231
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-curve-command",
232
+ "type": "type"
233
+ },
234
+ {
235
+ "name": "curve",
236
+ "prose": "<curve-command> = curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
237
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-curve",
238
+ "type": "value",
239
+ "value": "curve"
240
+ },
241
+ {
242
+ "name": "<smooth-command>",
243
+ "value": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
244
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-smooth-command",
245
+ "type": "type"
246
+ },
247
+ {
248
+ "name": "smooth",
249
+ "prose": "<smooth-command> = smooth [ [ to <position> [with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
250
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-smooth",
251
+ "type": "value",
252
+ "value": "smooth"
253
+ },
254
+ {
255
+ "name": "<control-point>",
256
+ "value": "[ <position> | <relative-control-point> ]",
257
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-control-point",
258
+ "type": "type"
259
+ },
260
+ {
261
+ "name": "<relative-control-point>",
262
+ "value": "<coordinate-pair> [ from [ start | end | origin ] ]?",
263
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-relative-control-point",
264
+ "type": "type"
265
+ },
266
+ {
267
+ "name": "<arc-command>",
268
+ "value": "arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
269
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-arc-command",
270
+ "type": "type"
271
+ },
272
+ {
273
+ "name": "arc",
274
+ "prose": "<arc-command> = arc <command-end-point> [[of <length-percentage>{1,2}] && <arc-sweep>? && <arc-size>? && rotate <angle>? ]",
275
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-arc",
276
+ "type": "value",
277
+ "value": "arc",
278
+ "values": [
279
+ {
280
+ "name": "cw",
281
+ "prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
282
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-cw",
283
+ "type": "value",
284
+ "value": "cw"
285
+ },
286
+ {
287
+ "name": "ccw",
288
+ "prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
289
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-ccw",
290
+ "type": "value",
291
+ "value": "ccw"
292
+ },
293
+ {
294
+ "name": "large",
295
+ "prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
296
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-large",
297
+ "type": "value",
298
+ "value": "large"
299
+ },
300
+ {
301
+ "name": "small",
302
+ "prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
303
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-small",
304
+ "type": "value",
305
+ "value": "small"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "name": "<arc-sweep>",
311
+ "prose": "<arc-sweep> can be cw or ccw, indicating that the arc that is traced around the ellipse clockwise or counter-clockwise from the center, respectively, must be chosen. If omitted, this defaults to ccw.",
312
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-arc-sweep",
313
+ "type": "type",
314
+ "value": "cw | ccw"
315
+ },
316
+ {
317
+ "name": "<arc-size>",
318
+ "prose": "<arc-size> can be large or small, indicating that the larger or smaller, respectively, of the two possible arcs must be chosen. If omitted, this defaults to small.",
319
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-arc-size",
320
+ "type": "type",
321
+ "value": "large | small"
322
+ },
323
+ {
324
+ "name": "close",
325
+ "prose": "Adds a closepath command to the list of path data commands.",
326
+ "href": "https://drafts.csswg.org/css-shapes-1/#valdef-shape-close",
327
+ "type": "value",
328
+ "value": "close"
329
+ }
330
+ ]
154
331
  }
155
332
  ]
156
333
  },
@@ -160,6 +337,13 @@
160
337
  "type": "type",
161
338
  "value": "<inset()> | <rect()> | <xywh()>"
162
339
  },
340
+ {
341
+ "name": "<shape-command>",
342
+ "prose": "The sequence of <shape-command>s represent further path data commands. Each command’s starting point is the previous command’s ending point.",
343
+ "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-command",
344
+ "type": "type",
345
+ "value": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>"
346
+ },
163
347
  {
164
348
  "name": "<shape-box>",
165
349
  "href": "https://drafts.csswg.org/css-shapes-1/#typedef-shape-box",
package/css-text-4.json CHANGED
@@ -60,7 +60,7 @@
60
60
  },
61
61
  {
62
62
  "name": "math-auto",
63
- "prose": "See .",
63
+ "prose": "See MathML Core § 4.2 The math-auto transform.",
64
64
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-math-auto",
65
65
  "type": "value",
66
66
  "value": "math-auto"
package/css-values-5.json CHANGED
@@ -25,7 +25,7 @@
25
25
  },
26
26
  {
27
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.",
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 § 11.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
29
29
  "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-allow-keywords",
30
30
  "type": "value",
31
31
  "value": "allow-keywords"
@@ -336,62 +336,195 @@
336
336
  "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
337
337
  },
338
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",
339
+ "name": "calc-mix()",
340
+ "prose": "The calc-mix() mix notation represents a weighted average of numeric or dimensional value. Like calc(), it is a math function, with the following syntactic form:",
341
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-mix",
342
+ "type": "function",
343
+ "value": "calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )"
344
+ },
345
+ {
346
+ "name": "transform-mix()",
347
+ "prose": "The transform-mix() mix notation represents a weighted average of <transform-list>, with the following syntactic form:",
348
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-mix",
349
+ "type": "function",
350
+ "value": "transform-mix( [ <transform-list> && <percentage [0,100]> ]# )"
351
+ },
352
+ {
353
+ "name": "<progress-source>",
354
+ "prose": "The <progress-source> value type represents the interpolation progress in an interpolation notation. Its syntax is:",
355
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-progress-source",
342
356
  "type": "type",
343
- "value": "[ <percentage-token> | <number> | <'animation-timeline'> ] && [ by <easing-function> ]?",
357
+ "value": "<percentage> | <number> | <dimension> | <'animation-timeline'>",
344
358
  "values": [
345
359
  {
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",
360
+ "name": "<percentage>",
361
+ "prose": "Represents the interpolation progress as a percentage, with 0% computing to zero and 100% computing to 1.",
362
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-percentage",
349
363
  "type": "value",
350
- "value": "<percentage-token>"
364
+ "value": "<percentage>"
351
365
  },
352
366
  {
353
367
  "name": "<number>",
354
- "prose": "Represents the mix progress value.",
355
- "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-number",
368
+ "prose": "Represents the interpolation progress as a number directly.",
369
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-number",
356
370
  "type": "value",
357
371
  "value": "<number>"
358
372
  },
373
+ {
374
+ "name": "<dimension>",
375
+ "prose": "Represents the interpolation progress as a dimension, which is converted to a number as specified in § 7.2 Validation and Normalization.",
376
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-dimension",
377
+ "type": "value",
378
+ "value": "<dimension>"
379
+ },
359
380
  {
360
381
  "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",
382
+ "prose": "Represents the interpolation progress as the progress of the specified animation timeline. The values none and auto are invalid. [CSS-ANIMATIONS-2] [WEB-ANIMATIONS-2]",
383
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-animation-timeline",
363
384
  "type": "value",
364
385
  "value": "<'animation-timeline'>"
386
+ }
387
+ ]
388
+ },
389
+ {
390
+ "name": "calc-interpolate()",
391
+ "prose": "The calc-interpolate() interpolation notation represents an interpolated numeric or dimensional value. Like calc(), it is a math function, with the following syntax:",
392
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-interpolate",
393
+ "type": "function",
394
+ "value": "calc-interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>?, <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]# )",
395
+ "values": [
396
+ {
397
+ "name": "by",
398
+ "prose": "The interpolation progress given by <progress-source> may be optionally modified by the <easing-function> specified after the by keyword. It applies the specified easing function to the “timeline” of progress as a whole by modifying the interpolation progress before it’s applied to the interpolation map, analogous to animation-easing.",
399
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-by",
400
+ "type": "value",
401
+ "value": "by"
402
+ },
403
+ {
404
+ "name": "<input-position>",
405
+ "prose": "Represents an interpolation stop associating the specified input position(s) with the specified output values. As with the gradient functions, if two <input-position>s are specified, it is treated the same as two stops with the same <output-value>.",
406
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
407
+ "type": "type"
365
408
  },
366
409
  {
367
410
  "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",
411
+ "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
412
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-easing-function",
370
413
  "type": "value",
371
414
  "value": "<easing-function>"
415
+ },
416
+ {
417
+ "name": "<segment-options>",
418
+ "prose": "When appearing in the first argument, provides any type-specific interpolation options that apply to every segment in the interpolation map. When appearing between stops, provides any type-specific interpolation options that apply to the interpolation segment between the stops on either side of this argument, overriding any default provided by a corresponding global <segment-options> argument.",
419
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-segment-options",
420
+ "type": "type"
372
421
  }
373
422
  ]
374
423
  },
375
424
  {
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",
425
+ "name": "color-interpolate()",
426
+ "prose": "The color-interpolate() interpolation notation represents an interpolated <color> value, with the following syntax:",
427
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-color-interpolate",
379
428
  "type": "function",
380
- "value": "calc-mix( <progress>, <calc-sum>, <calc-sum> )"
429
+ "value": "color-interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>?, <input-position>{1,2} : <color>, [ [ <easing-function> || <color-interpolation-method> ], <input-position>{1,2} : <color> ]# )",
430
+ "values": [
431
+ {
432
+ "name": "by",
433
+ "prose": "The interpolation progress given by <progress-source> may be optionally modified by the <easing-function> specified after the by keyword. It applies the specified easing function to the “timeline” of progress as a whole by modifying the interpolation progress before it’s applied to the interpolation map, analogous to animation-easing.",
434
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-by",
435
+ "type": "value",
436
+ "value": "by"
437
+ },
438
+ {
439
+ "name": "<input-position>",
440
+ "prose": "Represents an interpolation stop associating the specified input position(s) with the specified output values. As with the gradient functions, if two <input-position>s are specified, it is treated the same as two stops with the same <output-value>.",
441
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
442
+ "type": "type"
443
+ },
444
+ {
445
+ "name": "<easing-function>",
446
+ "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
447
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-easing-function",
448
+ "type": "value",
449
+ "value": "<easing-function>"
450
+ },
451
+ {
452
+ "name": "<segment-options>",
453
+ "prose": "When appearing in the first argument, provides any type-specific interpolation options that apply to every segment in the interpolation map. When appearing between stops, provides any type-specific interpolation options that apply to the interpolation segment between the stops on either side of this argument, overriding any default provided by a corresponding global <segment-options> argument.",
454
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-segment-options",
455
+ "type": "type"
456
+ }
457
+ ]
381
458
  },
382
459
  {
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",
460
+ "name": "transform-interpolate()",
461
+ "prose": "The transform-interpolate() interpolation notation represents an interpolated <transform-list>, with the following syntax:",
462
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-interpolate",
386
463
  "type": "function",
387
- "value": "transform-mix( <progress>, <transform-list>, <transform-list> )"
464
+ "value": "transform-interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>?, <input-position>{1,2} : <transform-list>, [ <easing-function>?, <input-position>{1,2} : <transform-list> ]# )",
465
+ "values": [
466
+ {
467
+ "name": "by",
468
+ "prose": "The interpolation progress given by <progress-source> may be optionally modified by the <easing-function> specified after the by keyword. It applies the specified easing function to the “timeline” of progress as a whole by modifying the interpolation progress before it’s applied to the interpolation map, analogous to animation-easing.",
469
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-by",
470
+ "type": "value",
471
+ "value": "by"
472
+ },
473
+ {
474
+ "name": "<input-position>",
475
+ "prose": "Represents an interpolation stop associating the specified input position(s) with the specified output values. As with the gradient functions, if two <input-position>s are specified, it is treated the same as two stops with the same <output-value>.",
476
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
477
+ "type": "type"
478
+ },
479
+ {
480
+ "name": "<easing-function>",
481
+ "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
482
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-easing-function",
483
+ "type": "value",
484
+ "value": "<easing-function>"
485
+ },
486
+ {
487
+ "name": "<segment-options>",
488
+ "prose": "When appearing in the first argument, provides any type-specific interpolation options that apply to every segment in the interpolation map. When appearing between stops, provides any type-specific interpolation options that apply to the interpolation segment between the stops on either side of this argument, overriding any default provided by a corresponding global <segment-options> argument.",
489
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-segment-options",
490
+ "type": "type"
491
+ }
492
+ ]
388
493
  },
389
494
  {
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",
495
+ "name": "interpolate()",
496
+ "prose": "The interpolate() interpolation notation represents the interpolation of entire property values, which supports two alternative syntax patterns:",
497
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-interpolate",
393
498
  "type": "function",
394
- "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
499
+ "value": "interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>?, <input-position>{1,2} : <whole-value>, [ <easing-function>?, <input-position>{1,2} : <whole-value> ]# ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )",
500
+ "values": [
501
+ {
502
+ "name": "by",
503
+ "prose": "The interpolation progress given by <progress-source> may be optionally modified by the <easing-function> specified after the by keyword. It applies the specified easing function to the “timeline” of progress as a whole by modifying the interpolation progress before it’s applied to the interpolation map, analogous to animation-easing.",
504
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-by",
505
+ "type": "value",
506
+ "value": "by"
507
+ },
508
+ {
509
+ "name": "<input-position>",
510
+ "prose": "Represents an interpolation stop associating the specified input position(s) with the specified output values. As with the gradient functions, if two <input-position>s are specified, it is treated the same as two stops with the same <output-value>.",
511
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
512
+ "type": "type"
513
+ },
514
+ {
515
+ "name": "<easing-function>",
516
+ "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
517
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-easing-function",
518
+ "type": "value",
519
+ "value": "<easing-function>"
520
+ },
521
+ {
522
+ "name": "<segment-options>",
523
+ "prose": "When appearing in the first argument, provides any type-specific interpolation options that apply to every segment in the interpolation map. When appearing between stops, provides any type-specific interpolation options that apply to the interpolation segment between the stops on either side of this argument, overriding any default provided by a corresponding global <segment-options> argument.",
524
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-segment-options",
525
+ "type": "type"
526
+ }
527
+ ]
395
528
  },
396
529
  {
397
530
  "name": "first-valid()",
@@ -634,18 +767,88 @@
634
767
  },
635
768
  {
636
769
  "msg": "Missing definition",
637
- "name": "mix-function()",
638
- "value": "mix-function( <progress>, start-value, end-value )"
770
+ "name": "*mix()",
771
+ "value": "*mix( options? , [ value && <percentage>? ]# )"
639
772
  },
640
773
  {
641
774
  "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]>?]#{2} )"
775
+ "name": "*interpolate()",
776
+ "value": "*interpolate( progress && global-options?, stop, [ between-options? , stop ]# )"
644
777
  },
645
778
  {
646
779
  "msg": "Missing definition",
647
- "name": "<cross-fade()>",
648
- "value": "cross-fade( <progress>, [ <image> | <color> ], [ <image> | <color> ] ) | cross-fade( <cf-image># )"
780
+ "name": "interpolate-function()",
781
+ "value": "interpolate-function( <progress-source> && [ by <easing-function> ]? && <easing-function>? && <segment-options>?, <input-position>{1,2} : <output-value> , [ [ <easing-function> || <segment-options> , ]? <input-position>{1,2} : <output-value> ]* )"
782
+ },
783
+ {
784
+ "msg": "Dangling value",
785
+ "name": "<percentage>",
786
+ "prose": "Represents the interpolation progress as a percentage, with 0% computing to zero and 100% computing to 1.",
787
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-percentage",
788
+ "type": "value",
789
+ "value": "<percentage>",
790
+ "for": "palette-interpolate()"
791
+ },
792
+ {
793
+ "msg": "Dangling value",
794
+ "name": "<number>",
795
+ "prose": "Represents the interpolation progress as a number directly.",
796
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-number",
797
+ "type": "value",
798
+ "value": "<number>",
799
+ "for": "palette-interpolate()"
800
+ },
801
+ {
802
+ "msg": "Dangling value",
803
+ "name": "<dimension>",
804
+ "prose": "Represents the interpolation progress as a dimension, which is converted to a number as specified in § 7.2 Validation and Normalization.",
805
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-dimension",
806
+ "type": "value",
807
+ "value": "<dimension>",
808
+ "for": "palette-interpolate()"
809
+ },
810
+ {
811
+ "msg": "Dangling value",
812
+ "name": "<'animation-timeline'>",
813
+ "prose": "Represents the interpolation progress as the progress of the specified animation timeline. The values none and auto are invalid. [CSS-ANIMATIONS-2] [WEB-ANIMATIONS-2]",
814
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-progress-source-animation-timeline",
815
+ "type": "value",
816
+ "value": "<'animation-timeline'>",
817
+ "for": "palette-interpolate()"
818
+ },
819
+ {
820
+ "msg": "Dangling value",
821
+ "name": "by",
822
+ "prose": "The interpolation progress given by <progress-source> may be optionally modified by the <easing-function> specified after the by keyword. It applies the specified easing function to the “timeline” of progress as a whole by modifying the interpolation progress before it’s applied to the interpolation map, analogous to animation-easing.",
823
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-by",
824
+ "type": "value",
825
+ "value": "by",
826
+ "for": "palette-interpolate()"
827
+ },
828
+ {
829
+ "msg": "Dangling value",
830
+ "name": "<input-position>",
831
+ "prose": "Represents an interpolation stop associating the specified input position(s) with the specified output values. As with the gradient functions, if two <input-position>s are specified, it is treated the same as two stops with the same <output-value>.",
832
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
833
+ "type": "type",
834
+ "for": "palette-interpolate()"
835
+ },
836
+ {
837
+ "msg": "Dangling value",
838
+ "name": "<easing-function>",
839
+ "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
840
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-interpolate-easing-function",
841
+ "type": "value",
842
+ "value": "<easing-function>",
843
+ "for": "palette-interpolate()"
844
+ },
845
+ {
846
+ "msg": "Dangling value",
847
+ "name": "<segment-options>",
848
+ "prose": "When appearing in the first argument, provides any type-specific interpolation options that apply to every segment in the interpolation map. When appearing between stops, provides any type-specific interpolation options that apply to the interpolation segment between the stops on either side of this argument, overriding any default provided by a corresponding global <segment-options> argument.",
849
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-segment-options",
850
+ "type": "type",
851
+ "for": "palette-interpolate()"
649
852
  }
650
853
  ]
651
854
  }
@@ -126,7 +126,8 @@
126
126
  {
127
127
  "name": ":active-view-transition",
128
128
  "prose": "The :active-view-transition pseudo-class applies to the root element of the document, if it has an active view transition.",
129
- "href": "https://drafts.csswg.org/css-view-transitions-2/#active-view-transition-pseudo"
129
+ "href": "https://drafts.csswg.org/css-view-transitions-2/#active-view-transition-pseudo",
130
+ "value": ":active-view-transition"
130
131
  },
131
132
  {
132
133
  "name": ":active-view-transition-type()",
@@ -42,7 +42,8 @@
42
42
  {
43
43
  "name": "::view-transition",
44
44
  "prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element, and its containing block is the snapshot containing block.",
45
- "href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition"
45
+ "href": "https://drafts.csswg.org/css-view-transitions-1/#selectordef-view-transition",
46
+ "value": "::view-transition"
46
47
  },
47
48
  {
48
49
  "name": "::view-transition-group()",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.21.2",
4
+ "version": "6.23.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"