@webref/css 6.22.0 → 6.23.1
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.json +16 -8
- package/css-borders.json +79 -73
- package/css-forms.json +36 -18
- package/css-gcpm-4.json +6 -3
- package/css-mixins.json +31 -1
- package/css-multicol.json +2 -1
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +1 -1
- package/css-overflow-5.json +6 -3
- package/css-position-4.json +2 -1
- package/css-pseudo.json +26 -13
- package/css-scoping.json +4 -2
- package/css-scroll-snap-2.json +10 -5
- package/css-shapes-2.json +1 -185
- package/css-shapes.json +184 -0
- package/css-text-4.json +1 -1
- package/css-ui.json +7 -7
- package/css-values-5.json +171 -33
- package/css-view-transitions-2.json +7 -1
- package/css-view-transitions.json +2 -1
- package/package.json +1 -1
- package/pointer-animations.json +282 -0
- package/selectors-5.json +2 -1
- package/selectors.json +116 -58
- package/webvtt.json +4 -2
- package/webxr-dom-overlays.json +2 -1
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 §
|
|
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": "
|
|
340
|
-
"prose": "The
|
|
341
|
-
"href": "https://drafts.csswg.org/css-values-5/#
|
|
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": "
|
|
357
|
+
"value": "<percentage> | <number> | <dimension> | <'animation-timeline'>",
|
|
344
358
|
"values": [
|
|
345
359
|
{
|
|
346
|
-
"name": "<percentage
|
|
347
|
-
"prose": "
|
|
348
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-progress-percentage
|
|
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
|
|
364
|
+
"value": "<percentage>"
|
|
351
365
|
},
|
|
352
366
|
{
|
|
353
367
|
"name": "<number>",
|
|
354
|
-
"prose": "Represents the
|
|
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
|
|
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
|
+
"value": "<percentage> | <number> | <dimension>",
|
|
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": "
|
|
369
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-
|
|
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.) If omitted, defaults to linear. 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. (For example, color-interpolate() allows <color-interpolation-method>.) 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": "
|
|
377
|
-
"prose": "The
|
|
378
|
-
"href": "https://drafts.csswg.org/css-values-5/#funcdef-
|
|
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": "
|
|
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
|
+
"value": "<percentage> | <number> | <dimension>",
|
|
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.) If omitted, defaults to linear. 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. (For example, color-interpolate() allows <color-interpolation-method>.) 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-
|
|
384
|
-
"prose": "The transform-
|
|
385
|
-
"href": "https://drafts.csswg.org/css-values-5/#funcdef-transform-
|
|
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-
|
|
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
|
+
"value": "<percentage> | <number> | <dimension>",
|
|
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.) If omitted, defaults to linear. 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. (For example, color-interpolate() allows <color-interpolation-method>.) 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": "
|
|
391
|
-
"prose": "
|
|
392
|
-
"href": "https://drafts.csswg.org/css-values-5/#funcdef-
|
|
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": "
|
|
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
|
+
"value": "<percentage> | <number> | <dimension>",
|
|
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.) If omitted, defaults to linear. 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. (For example, color-interpolate() allows <color-interpolation-method>.) 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,23 @@
|
|
|
634
767
|
},
|
|
635
768
|
{
|
|
636
769
|
"msg": "Missing definition",
|
|
637
|
-
"name": "mix
|
|
638
|
-
"value": "mix
|
|
770
|
+
"name": "*mix()",
|
|
771
|
+
"value": "*mix( options? , [ value && <percentage>? ]# )"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"msg": "Missing definition",
|
|
775
|
+
"name": "*interpolate()",
|
|
776
|
+
"value": "*interpolate( [ progress && global-options? ], stop, [ between-options? , stop ]# )"
|
|
639
777
|
},
|
|
640
778
|
{
|
|
641
779
|
"msg": "Missing definition",
|
|
642
|
-
"name": "
|
|
643
|
-
"value": "
|
|
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> ]#? )"
|
|
644
782
|
},
|
|
645
783
|
{
|
|
646
784
|
"msg": "Missing definition",
|
|
647
|
-
"name": "<
|
|
648
|
-
"value": "
|
|
785
|
+
"name": "<input-position>",
|
|
786
|
+
"value": "<percentage> | <number> | <dimension>"
|
|
649
787
|
}
|
|
650
788
|
]
|
|
651
789
|
}
|
|
@@ -126,12 +126,18 @@
|
|
|
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()",
|
|
133
134
|
"prose": "The :active-view-transition-type() pseudo-class applies to the root element of the document, if it has a matching active view transition. It has the following syntax definition:",
|
|
134
135
|
"href": "https://drafts.csswg.org/css-view-transitions-2/#active-view-transition-type-pseudo"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "::view-transition-group-children()",
|
|
139
|
+
"prose": "The ::view-transition-group-children() pseudo-element is a named view transition pseudo-element that represents a matching named view transition capture. A ::view-transition-group-children() pseudo-element is generated based on the view-transition-group property, as a child of the corresponding ::view-transition-group() pseudo-element, and contains one or more ::view-transition-group() elements, corresponding to the nested groups. See the used group name and related algorithms.",
|
|
140
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition-group-children"
|
|
135
141
|
}
|
|
136
142
|
],
|
|
137
143
|
"values": [
|
|
@@ -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
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "Pointer-driven Animations",
|
|
4
|
+
"url": "https://drafts.csswg.org/pointer-animations-1/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "pointer-timeline-name",
|
|
9
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-name",
|
|
10
|
+
"value": "[ none | <dashed-ident> ]#",
|
|
11
|
+
"initial": "none",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "the keyword none or a list of CSS identifiers",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "not animatable",
|
|
18
|
+
"styleDeclaration": [
|
|
19
|
+
"pointer-timeline-name",
|
|
20
|
+
"pointerTimelineName"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "pointer-timeline-axis",
|
|
25
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-axis",
|
|
26
|
+
"value": "[ block | inline | x | y ]#",
|
|
27
|
+
"initial": "block",
|
|
28
|
+
"appliesTo": "all elements",
|
|
29
|
+
"inherited": "no",
|
|
30
|
+
"percentages": "n/a",
|
|
31
|
+
"computedValue": "a list of the keywords specified",
|
|
32
|
+
"canonicalOrder": "per grammar",
|
|
33
|
+
"animationType": "not animatable",
|
|
34
|
+
"values": [
|
|
35
|
+
{
|
|
36
|
+
"name": "block",
|
|
37
|
+
"prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
|
|
38
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "block"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "inline",
|
|
44
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
|
|
45
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
|
|
46
|
+
"type": "value",
|
|
47
|
+
"value": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "x",
|
|
51
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
|
|
52
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
|
|
53
|
+
"type": "value",
|
|
54
|
+
"value": "x"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "y",
|
|
58
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
|
|
59
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "y"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "self",
|
|
65
|
+
"prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
|
|
66
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
|
|
67
|
+
"type": "value",
|
|
68
|
+
"value": "self"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "nearest",
|
|
72
|
+
"prose": "Specifies to use the nearest element’s parent box as the pointer range.",
|
|
73
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
|
|
74
|
+
"type": "value",
|
|
75
|
+
"value": "nearest"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "root",
|
|
79
|
+
"prose": "Specifies to use the root element’s principal box as the pointer range.",
|
|
80
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
|
|
81
|
+
"type": "value",
|
|
82
|
+
"value": "root"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"styleDeclaration": [
|
|
86
|
+
"pointer-timeline-axis",
|
|
87
|
+
"pointerTimelineAxis"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "pointer-timeline",
|
|
92
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline",
|
|
93
|
+
"value": "[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#",
|
|
94
|
+
"initial": "see individual properties",
|
|
95
|
+
"appliesTo": "all elements",
|
|
96
|
+
"inherited": "see individual properties",
|
|
97
|
+
"percentages": "see individual properties",
|
|
98
|
+
"computedValue": "see individual properties",
|
|
99
|
+
"animationType": "see individual properties",
|
|
100
|
+
"canonicalOrder": "per grammar",
|
|
101
|
+
"styleDeclaration": [
|
|
102
|
+
"pointer-timeline",
|
|
103
|
+
"pointerTimeline"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "animation-range-center",
|
|
108
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-animation-range-center",
|
|
109
|
+
"value": "[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",
|
|
110
|
+
"initial": "normal",
|
|
111
|
+
"appliesTo": "all elements",
|
|
112
|
+
"inherited": "no",
|
|
113
|
+
"percentages": "relative to the corresponding dimension of the specified timeline range center subject, else relative to the start of the animation attachment range",
|
|
114
|
+
"computedValue": "list, each item either the keyword normal or a timeline range center subject and a length-percentage value",
|
|
115
|
+
"canonicalOrder": "per grammar",
|
|
116
|
+
"animationType": "not animatable",
|
|
117
|
+
"values": [
|
|
118
|
+
{
|
|
119
|
+
"name": "normal",
|
|
120
|
+
"prose": "The 50% progress point of the animation’s active interval is at the center of the animation attachment range.",
|
|
121
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-normal",
|
|
122
|
+
"type": "value",
|
|
123
|
+
"value": "normal"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "<length-percentage>",
|
|
127
|
+
"prose": "The 50% progress point of the animation’s active interval is at the specified point on the timeline measuring from the start of the animation attachment range. Percentages are relative to the size of the animation attachment range.",
|
|
128
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-length-percentage",
|
|
129
|
+
"type": "value",
|
|
130
|
+
"value": "<length-percentage>"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "<timeline-range-name> <length-percentage>?",
|
|
134
|
+
"prose": "The 50% progress point of the animation’s active interval is at the specified point relative to the start padding edge of the specified animation range center subject’s principal box. If the <length-percentage> is omitted, it defaults to 50%.",
|
|
135
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-timeline-range-name-length-percentage",
|
|
136
|
+
"type": "value",
|
|
137
|
+
"value": "<timeline-range-name> <length-percentage>?"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"styleDeclaration": [
|
|
141
|
+
"animation-range-center",
|
|
142
|
+
"animationRangeCenter"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"atrules": [],
|
|
147
|
+
"selectors": [],
|
|
148
|
+
"values": [
|
|
149
|
+
{
|
|
150
|
+
"name": "pointer()",
|
|
151
|
+
"prose": "The pointer() functional notation can be used as a <single-animation-timeline> value in animation-timeline and specifies a pointer progress timeline. Its syntax is",
|
|
152
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#funcdef-pointer",
|
|
153
|
+
"type": "function",
|
|
154
|
+
"value": "pointer( [ <pointer-source> || <pointer-axis> ]? )",
|
|
155
|
+
"values": [
|
|
156
|
+
{
|
|
157
|
+
"name": "block",
|
|
158
|
+
"prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
|
|
159
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "block"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "inline",
|
|
165
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
|
|
166
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "inline"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "x",
|
|
172
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
|
|
173
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "x"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "y",
|
|
179
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
|
|
180
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
|
|
181
|
+
"type": "value",
|
|
182
|
+
"value": "y"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "self",
|
|
186
|
+
"prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
|
|
187
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
|
|
188
|
+
"type": "value",
|
|
189
|
+
"value": "self"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "nearest",
|
|
193
|
+
"prose": "Specifies to use the nearest element’s parent box as the pointer range.",
|
|
194
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
|
|
195
|
+
"type": "value",
|
|
196
|
+
"value": "nearest"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "root",
|
|
200
|
+
"prose": "Specifies to use the root element’s principal box as the pointer range.",
|
|
201
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
|
|
202
|
+
"type": "value",
|
|
203
|
+
"value": "root"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "<pointer-axis>",
|
|
209
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-axis",
|
|
210
|
+
"type": "type",
|
|
211
|
+
"value": "block | inline | x | y"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "<pointer-source>",
|
|
215
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-source",
|
|
216
|
+
"type": "type",
|
|
217
|
+
"value": "root | nearest | self"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "<timeline-range-center-subject>",
|
|
221
|
+
"prose": "The animation range center subject is the element whose principal box is the range relative to which the center of the active range is calculated, and is represented by the <timeline-range-center-subject> value type, which indicates a CSS identifier representing one of the following:",
|
|
222
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-timeline-range-center-subject",
|
|
223
|
+
"type": "type"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"warnings": [
|
|
227
|
+
{
|
|
228
|
+
"msg": "Dangling value",
|
|
229
|
+
"name": "fill",
|
|
230
|
+
"prose": "Represents the full range of the pointer progress timeline: 0% progress represents the pointer position over the start padding edge of the element’s principal box. 100% progress represents the pointer position over the end padding edge of the element’s principal box.",
|
|
231
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fill",
|
|
232
|
+
"type": "value",
|
|
233
|
+
"value": "fill",
|
|
234
|
+
"for": "animation-timeline-range"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"msg": "Dangling value",
|
|
238
|
+
"name": "fit",
|
|
239
|
+
"prose": "Represents a range that is the same size as fill, but its points of 0% and 100% progress are offset according to the value of animation-range-center property, so that the point of 50% progress remains at the center of the range.",
|
|
240
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fit",
|
|
241
|
+
"type": "value",
|
|
242
|
+
"value": "fit",
|
|
243
|
+
"for": "animation-timeline-range"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"msg": "Dangling value",
|
|
247
|
+
"name": "cover",
|
|
248
|
+
"prose": "Represents the largest possible range of the pointer progress timeline that fully covers the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is greater than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
|
|
249
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-cover",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "cover",
|
|
252
|
+
"for": "animation-timeline-range"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"msg": "Dangling value",
|
|
256
|
+
"name": "contain",
|
|
257
|
+
"prose": "Represents the largest possible range that is fully contained within the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is smaller than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
|
|
258
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-contain",
|
|
259
|
+
"type": "value",
|
|
260
|
+
"value": "contain",
|
|
261
|
+
"for": "animation-timeline-range"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"msg": "Dangling value",
|
|
265
|
+
"name": "source",
|
|
266
|
+
"prose": "The element whose pointer offset drives the progress of the timeline.",
|
|
267
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-source",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "source",
|
|
270
|
+
"for": "timeline-range-center-subject"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"msg": "Dangling value",
|
|
274
|
+
"name": "target",
|
|
275
|
+
"prose": "The element to which the animation is applied.",
|
|
276
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-target",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "target",
|
|
279
|
+
"for": "timeline-range-center-subject"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
package/selectors-5.json
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": ":local-link",
|
|
11
11
|
"prose": "The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site and to differentiate site-internal versus site-external links.",
|
|
12
|
-
"href": "https://drafts.csswg.org/selectors-5/#local-link-pseudo"
|
|
12
|
+
"href": "https://drafts.csswg.org/selectors-5/#local-link-pseudo",
|
|
13
|
+
"value": ":local-link"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"name": ":state()",
|