@webref/css 6.20.3 → 6.20.5
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-align.json +1 -1
- package/css-backgrounds-4.json +4 -0
- package/css-color-5.json +12 -0
- package/css-color-hdr.json +26 -44
- package/css-color.json +83 -6
- package/css-counter-styles.json +14 -14
- package/css-forms.json +199 -0
- package/css-gaps.json +91 -44
- package/css-grid.json +74 -24
- package/css-images-4.json +10 -10
- package/css-images.json +1 -1
- package/css-page.json +1 -1
- package/css-pseudo.json +5 -15
- package/css-round-display.json +30 -38
- package/css-sizing-4.json +4 -4
- package/css-ui.json +1 -1
- package/css-values-5.json +77 -11
- package/css-values.json +1 -1
- package/css-writing-modes.json +1 -1
- package/motion.json +1 -1
- package/package.json +1 -1
- package/selectors.json +3 -3
package/css-sizing-4.json
CHANGED
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
{
|
|
231
231
|
"name": "contain-intrinsic-width",
|
|
232
232
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-width",
|
|
233
|
-
"value": "auto? [ none | <length> ]",
|
|
233
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
234
234
|
"initial": "none",
|
|
235
235
|
"appliesTo": "elements with size containment",
|
|
236
236
|
"inherited": "no",
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
{
|
|
264
264
|
"name": "contain-intrinsic-height",
|
|
265
265
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-height",
|
|
266
|
-
"value": "auto? [ none | <length> ]",
|
|
266
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
267
267
|
"initial": "none",
|
|
268
268
|
"appliesTo": "elements with size containment",
|
|
269
269
|
"inherited": "no",
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
{
|
|
297
297
|
"name": "contain-intrinsic-block-size",
|
|
298
298
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-block-size",
|
|
299
|
-
"value": "auto? [ none | <length> ]",
|
|
299
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
300
300
|
"initial": "none",
|
|
301
301
|
"appliesTo": "elements with size containment",
|
|
302
302
|
"inherited": "no",
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
{
|
|
330
330
|
"name": "contain-intrinsic-inline-size",
|
|
331
331
|
"href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-inline-size",
|
|
332
|
-
"value": "auto? [ none | <length> ]",
|
|
332
|
+
"value": "auto? [ none | <length [0,∞]> ]",
|
|
333
333
|
"initial": "none",
|
|
334
334
|
"appliesTo": "elements with size containment",
|
|
335
335
|
"inherited": "no",
|
package/css-ui.json
CHANGED
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
},
|
|
679
679
|
{
|
|
680
680
|
"name": "auto",
|
|
681
|
-
"prose": "
|
|
681
|
+
"prose": "The element’s box is laid out like a regular replaced element. Within that box, elements representing widgets should have the native appearance of that widget. The host language is responsible for defining which elements represent which widgets. Elements other than widgets must be rendered as for none.",
|
|
682
682
|
"href": "https://drafts.csswg.org/css-ui-4/#valdef-appearance-auto",
|
|
683
683
|
"type": "value",
|
|
684
684
|
"value": "auto"
|
package/css-values-5.json
CHANGED
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
"name": "if()",
|
|
454
|
-
"prose": "The if()
|
|
454
|
+
"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.",
|
|
455
455
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
|
|
456
456
|
"type": "function",
|
|
457
457
|
"values": [
|
|
@@ -468,7 +468,13 @@
|
|
|
468
468
|
"name": "<if()>",
|
|
469
469
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-if",
|
|
470
470
|
"type": "type",
|
|
471
|
-
"value": "if( [ <if-
|
|
471
|
+
"value": "if( [ <if-branch> ; ]* <if-branch> ;? )"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "<if-branch>",
|
|
475
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-branch",
|
|
476
|
+
"type": "type",
|
|
477
|
+
"value": "<if-condition> : <declaration-value>?"
|
|
472
478
|
},
|
|
473
479
|
{
|
|
474
480
|
"name": "<if-condition>",
|
|
@@ -480,7 +486,19 @@
|
|
|
480
486
|
"name": "<if-test>",
|
|
481
487
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
|
|
482
488
|
"type": "type",
|
|
483
|
-
"value": "supports( [ <
|
|
489
|
+
"value": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "<if-args>",
|
|
493
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-args",
|
|
494
|
+
"type": "type",
|
|
495
|
+
"value": "if( [ <if-args-branch> ; ]* <if-args-branch> ;? )"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "<if-args-branch>",
|
|
499
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-args-branch",
|
|
500
|
+
"type": "type",
|
|
501
|
+
"value": "<declaration-value> : <declaration-value>?"
|
|
484
502
|
},
|
|
485
503
|
{
|
|
486
504
|
"name": "toggle()",
|
|
@@ -496,7 +514,7 @@
|
|
|
496
514
|
},
|
|
497
515
|
{
|
|
498
516
|
"name": "inherit()",
|
|
499
|
-
"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 the
|
|
517
|
+
"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.",
|
|
500
518
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
|
|
501
519
|
"type": "function"
|
|
502
520
|
},
|
|
@@ -506,6 +524,12 @@
|
|
|
506
524
|
"type": "type",
|
|
507
525
|
"value": "inherit( <custom-property-name>, <declaration-value>? )"
|
|
508
526
|
},
|
|
527
|
+
{
|
|
528
|
+
"name": "<inherit-args>",
|
|
529
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-inherit-args",
|
|
530
|
+
"type": "type",
|
|
531
|
+
"value": "inherit( <declaration-value>, <declaration-value>? )"
|
|
532
|
+
},
|
|
509
533
|
{
|
|
510
534
|
"name": "attr()",
|
|
511
535
|
"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.",
|
|
@@ -531,7 +555,13 @@
|
|
|
531
555
|
"name": "<attr-type>",
|
|
532
556
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
|
|
533
557
|
"type": "type",
|
|
534
|
-
"value": "type( <syntax> ) | string | <attr-unit>"
|
|
558
|
+
"value": "type( <syntax> ) | raw-string | <attr-unit>"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "<attr-args>",
|
|
562
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-attr-args",
|
|
563
|
+
"type": "type",
|
|
564
|
+
"value": "attr( <declaration-value>, <declaration-value>? )"
|
|
535
565
|
},
|
|
536
566
|
{
|
|
537
567
|
"name": "<attr-unit>",
|
|
@@ -557,20 +587,56 @@
|
|
|
557
587
|
"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:",
|
|
558
588
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
|
|
559
589
|
"type": "function",
|
|
560
|
-
"value": "random( <random-
|
|
590
|
+
"value": "random( <random-value-sharing>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
|
|
561
591
|
},
|
|
562
592
|
{
|
|
563
|
-
"name": "<random-
|
|
564
|
-
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-
|
|
593
|
+
"name": "<random-value-sharing>",
|
|
594
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-value-sharing",
|
|
565
595
|
"type": "type",
|
|
566
|
-
"value": "<dashed-ident> ||
|
|
596
|
+
"value": "[ [ auto | <dashed-ident> ] || match-element ] | fixed <number [0,1]>",
|
|
597
|
+
"values": [
|
|
598
|
+
{
|
|
599
|
+
"name": "auto",
|
|
600
|
+
"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.",
|
|
601
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-random-auto",
|
|
602
|
+
"type": "value",
|
|
603
|
+
"value": "auto"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "<dashed-ident>",
|
|
607
|
+
"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.",
|
|
608
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-random-dashed-ident",
|
|
609
|
+
"type": "value",
|
|
610
|
+
"value": "<dashed-ident>"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "match-element",
|
|
614
|
+
"prose": "If match-element 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.)",
|
|
615
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-random-match-element",
|
|
616
|
+
"type": "value",
|
|
617
|
+
"value": "match-element"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "<number>",
|
|
621
|
+
"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)`.",
|
|
622
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
|
|
623
|
+
"type": "value",
|
|
624
|
+
"value": "<number>"
|
|
625
|
+
}
|
|
626
|
+
]
|
|
567
627
|
},
|
|
568
628
|
{
|
|
569
629
|
"name": "random-item()",
|
|
570
630
|
"prose": "The random-item() function resolves to a random item from among its list of items.",
|
|
571
631
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
|
|
572
632
|
"type": "function",
|
|
573
|
-
"value": "random-item( <random-
|
|
633
|
+
"value": "random-item( <random-value-sharing> , [ <declaration-value>? ]# )"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "<random-item-args>",
|
|
637
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
|
|
638
|
+
"type": "type",
|
|
639
|
+
"value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
|
|
574
640
|
},
|
|
575
641
|
{
|
|
576
642
|
"name": "sibling-count()",
|
|
@@ -633,7 +699,7 @@
|
|
|
633
699
|
{
|
|
634
700
|
"msg": "Missing definition",
|
|
635
701
|
"name": "progress-function()",
|
|
636
|
-
"value": "progress-function( progress value
|
|
702
|
+
"value": "progress-function( progress value, start value, end value )"
|
|
637
703
|
},
|
|
638
704
|
{
|
|
639
705
|
"msg": "Missing definition",
|
package/css-values.json
CHANGED
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"name": "<calc-product>",
|
|
767
767
|
"href": "https://drafts.csswg.org/css-values-4/#typedef-calc-product",
|
|
768
768
|
"type": "type",
|
|
769
|
-
"value": "<calc-value> [ [ '*' |
|
|
769
|
+
"value": "<calc-value> [ [ '*' | / ] <calc-value> ]*"
|
|
770
770
|
},
|
|
771
771
|
{
|
|
772
772
|
"name": "<calc-value>",
|
package/css-writing-modes.json
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation",
|
|
154
154
|
"value": "mixed | upright | sideways",
|
|
155
155
|
"initial": "mixed",
|
|
156
|
-
"appliesTo": "all elements except table row groups, rows, column groups, and columns",
|
|
156
|
+
"appliesTo": "all elements except table row groups, rows, column groups, and columns; and text",
|
|
157
157
|
"inherited": "yes",
|
|
158
158
|
"percentages": "n/a",
|
|
159
159
|
"computedValue": "specified value",
|
package/motion.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "<basic-shape>",
|
|
50
|
-
"prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the
|
|
50
|
+
"prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the reference box for the <basic-shape>.",
|
|
51
51
|
"href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-basic-shape",
|
|
52
52
|
"type": "value",
|
|
53
53
|
"value": "<basic-shape>"
|
package/package.json
CHANGED
package/selectors.json
CHANGED
|
@@ -522,19 +522,19 @@
|
|
|
522
522
|
"name": "<pseudo-class-selector>",
|
|
523
523
|
"href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-class-selector",
|
|
524
524
|
"type": "type",
|
|
525
|
-
"value": "
|
|
525
|
+
"value": ": <ident-token> | : <function-token> <any-value> )"
|
|
526
526
|
},
|
|
527
527
|
{
|
|
528
528
|
"name": "<pseudo-element-selector>",
|
|
529
529
|
"href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-element-selector",
|
|
530
530
|
"type": "type",
|
|
531
|
-
"value": "
|
|
531
|
+
"value": ": <pseudo-class-selector> | <legacy-pseudo-element-selector>"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"name": "<legacy-pseudo-element-selector>",
|
|
535
535
|
"href": "https://drafts.csswg.org/selectors-4/#typedef-legacy-pseudo-element-selector",
|
|
536
536
|
"type": "type",
|
|
537
|
-
"value": "
|
|
537
|
+
"value": ": [before | after | first-line | first-letter]"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"name": "<forgiving-selector-list>",
|