@webref/css 6.25.3 → 6.25.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-values-5.json CHANGED
@@ -652,18 +652,18 @@
652
652
  "type": "type",
653
653
  "value": "type( <syntax> ) | raw-string | number | <attr-unit>"
654
654
  },
655
+ {
656
+ "name": "<attr-unit>",
657
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-unit",
658
+ "type": "type",
659
+ "value": "<custom-ident>"
660
+ },
655
661
  {
656
662
  "name": "<attr-args>",
657
663
  "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-args",
658
664
  "type": "type",
659
665
  "value": "attr( <declaration-value>, <declaration-value>? )"
660
666
  },
661
- {
662
- "name": "<attr-unit>",
663
- "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.",
664
- "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-unit",
665
- "type": "type"
666
- },
667
667
  {
668
668
  "name": "ident()",
669
669
  "prose": "The ident() function represents an <ident>, and can be used to manually construct <custom-ident> values from several parts.",
@@ -682,83 +682,88 @@
682
682
  "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:",
683
683
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
684
684
  "type": "function",
685
- "value": "random( <random-cache-key>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
685
+ "value": "random( <random-key>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
686
686
  },
687
687
  {
688
- "name": "<random-cache-key>",
689
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-cache-key",
688
+ "name": "random-item()",
689
+ "prose": "The random-item() function resolves to a random item from among its list of items.",
690
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
691
+ "type": "function",
692
+ "value": "random-item( <random-key> , [ <declaration-value>? ]# )"
693
+ },
694
+ {
695
+ "name": "<random-item-args>",
696
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
690
697
  "type": "type",
691
- "value": "auto | <random-name> | fixed <number [0,1]>",
698
+ "value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
699
+ },
700
+ {
701
+ "name": "<random-key>",
702
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-key",
703
+ "type": "type",
704
+ "value": "auto | <random-cache-key> | fixed <number [0,1]>",
692
705
  "values": [
693
706
  {
694
707
  "name": "auto",
695
- "prose": "The random function is roughly \"as random as possible\": every usage in a property, between different properties, and between different elements will get a different random cache key. (See below for exact details.) If the <random-cache-key> is omitted, it behaves as auto.",
708
+ "prose": "The random function is roughly “as random as possible”: the random cache name, and thus the result, varies across every random() instance in a multi-component value, across different properties, and across different elements. This is equivalent to specifying element-scoped property-index-scoped, and simplifies in exactly the same way.",
696
709
  "href": "https://drafts.csswg.org/css-values-5/#valdef-random-auto",
697
710
  "type": "value",
698
711
  "value": "auto"
699
712
  },
700
713
  {
701
- "name": "<random-name>",
702
- "prose": "The <random-name> specifies the random cache key directly. It always contains a <dashed-ident>, specifying the name, and can optionally contain additional dynamic information: element adds an element identifier to the random cache key, so different elements will get different random values property adds the property name the random function is being used on to the random cache key, so different properties will get different random values property index adds the property name and the index of the random function among all the random functions used in the same property value to the random cache key, so multiple uses of a random function in the same property will get different random values.",
703
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-random-name",
714
+ "name": "<random-cache-key>",
715
+ "prose": "The <random-cache-key> specifies the random cache name, allowing it to be explicitly shared (or not) with other uses of random functions. Every random function using the same random cache name will get the same random value; every one using a different random cache name will get unrelated random values. The <dashed-ident> gives the value an explicit name. If omitted, this part of the name is null. element-scoped adds an element-specific identifier to the random cache name, so different elements will get different random values. property-scoped adds the property name the random function is being used on to the random cache name, so different properties will get different random values. Note that shorthand declarations will apply the shorthand property’s name. property-index-scoped adds the property name and the index of the random function among all the random functions used in the same property value to the random cache name, so multiple instances of a random function in the same declaration will each get different random cache names. Note this index is assigned before shorthand expansion. See § 9.4.1 Simplification of <random-key> for how these values resolve. The <random-ua-ident> value, like fixed below, isn’t intended to be specified by authors, but can show up in computed values. It is a <custom-ident> that must start with the prefix ua-, or else it is invalid. When generated automatically by the user agent, it will always be ua-PROPERTY or ua-PROPERTY-INDEX, with the PROPERTY and INDEX parts replaced with a property name or integer index, like ua-margin-3.",
716
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-random-cache-key",
704
717
  "type": "value",
705
- "value": "<random-name>"
718
+ "value": "<random-cache-key>"
706
719
  },
707
720
  {
708
- "name": "element",
709
- "prose": "element adds an element identifier to the random cache key, so different elements will get different random values",
710
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-element",
721
+ "name": "<random-ua-ident>",
722
+ "prose": "The <random-ua-ident> value, like fixed below, isn’t intended to be specified by authors, but can show up in computed values. It is a <custom-ident> that must start with the prefix ua-, or else it is invalid. When generated automatically by the user agent, it will always be ua-PROPERTY or ua-PROPERTY-INDEX, with the PROPERTY and INDEX parts replaced with a property name or integer index, like ua-margin-3.",
723
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-random-ua-ident",
711
724
  "type": "value",
712
- "value": "element"
725
+ "value": "<random-ua-ident>"
713
726
  },
714
727
  {
715
- "name": "property",
716
- "prose": "property adds the property name the random function is being used on to the random cache key, so different properties will get different random values",
717
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-property",
728
+ "name": "<number>",
729
+ "prose": "If fixed <number> is specified, the random function bypasses the random cache name entirely, and just uses the <number> as its random base value directly. 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)`.",
730
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
718
731
  "type": "value",
719
- "value": "property"
720
- },
732
+ "value": "<number>"
733
+ }
734
+ ]
735
+ },
736
+ {
737
+ "name": "<random-cache-key>",
738
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-cache-key",
739
+ "type": "type",
740
+ "value": "<dashed-ident> || element-scoped || [ property-scoped | property-index-scoped | <random-ua-ident> ]",
741
+ "values": [
721
742
  {
722
- "name": "index",
723
- "prose": "property index adds the property name and the index of the random function among all the random functions used in the same property value to the random cache key, so multiple uses of a random function in the same property will get different random values.",
724
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-index",
743
+ "name": "element-scoped",
744
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-element-scoped",
725
745
  "type": "value",
726
- "value": "index"
746
+ "value": "element-scoped"
727
747
  },
728
748
  {
729
- "name": "property index",
730
- "prose": "property index adds the property name and the index of the random function among all the random functions used in the same property value to the random cache key, so multiple uses of a random function in the same property will get different random values.",
731
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-index",
749
+ "name": "property-scoped",
750
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-property-scoped",
732
751
  "type": "value",
733
- "value": "property index"
752
+ "value": "property-scoped"
734
753
  },
735
754
  {
736
- "name": "<number>",
737
- "prose": "If fixed <number> is specified, the random function bypasses the random cache key entirely, and just uses the <number> as its random base value directly. 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)`.",
738
- "href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
755
+ "name": "property-index-scoped",
756
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-property-index-scoped",
739
757
  "type": "value",
740
- "value": "<number>"
758
+ "value": "property-index-scoped"
741
759
  }
742
760
  ]
743
761
  },
744
762
  {
745
- "name": "<random-name>",
746
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-name",
763
+ "name": "<random-ua-ident>",
764
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-ua-ident",
747
765
  "type": "type",
748
- "value": "<dashed-ident> [ element | property index? ]?"
749
- },
750
- {
751
- "name": "random-item()",
752
- "prose": "The random-item() function resolves to a random item from among its list of items.",
753
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
754
- "type": "function",
755
- "value": "random-item( <random-cache-key> , [ <declaration-value>? ]# )"
756
- },
757
- {
758
- "name": "<random-item-args>",
759
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
760
- "type": "type",
761
- "value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
766
+ "value": "<custom-ident>"
762
767
  },
763
768
  {
764
769
  "name": "sibling-count()",
package/motion.json CHANGED
@@ -267,7 +267,7 @@
267
267
  "name": "<ray-size>",
268
268
  "href": "https://drafts.csswg.org/motion-1/#typedef-ray-size",
269
269
  "type": "type",
270
- "value": "closest-side | closest-corner | farthest-side | farthest-corner | sides",
270
+ "value": "<radial-extent> | sides",
271
271
  "values": [
272
272
  {
273
273
  "name": "closest-side",
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.25.3",
4
+ "version": "6.25.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,7 +12,7 @@
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
14
14
  "percentages": "n/a",
15
- "computedValue": "the keyword none or a list of CSS identifiers",
15
+ "computedValue": "list, each item either a CSS identifier or the keyword none",
16
16
  "canonicalOrder": "per grammar",
17
17
  "animationType": "not animatable",
18
18
  "styleDeclaration": [
@@ -115,7 +115,7 @@
115
115
  "appliesTo": "all elements",
116
116
  "inherited": "no",
117
117
  "percentages": "n/a",
118
- "computedValue": "the keyword none or a list of CSS identifiers",
118
+ "computedValue": "list, each item either a CSS identifier or the keyword none",
119
119
  "canonicalOrder": "per grammar",
120
120
  "animationType": "not animatable",
121
121
  "styleDeclaration": [
package/selectors-5.json CHANGED
@@ -93,6 +93,12 @@
93
93
  "prose": "where <level> is a <number-token> with its type flag set to \"integer\".",
94
94
  "href": "https://drafts.csswg.org/selectors-5/#typedef-level",
95
95
  "type": "type"
96
+ },
97
+ {
98
+ "name": "<combinator>",
99
+ "href": "https://drafts.csswg.org/selectors-5/#typedef-combinator",
100
+ "type": "type",
101
+ "value": "'>' | '+' | '~' | [ '|' '|' ] | [ / <wq-name> / ]"
96
102
  }
97
103
  ]
98
104
  }
package/selectors.json CHANGED
@@ -469,7 +469,7 @@
469
469
  "name": "<combinator>",
470
470
  "href": "https://drafts.csswg.org/selectors-4/#typedef-combinator",
471
471
  "type": "type",
472
- "value": "'>' | '+' | '~' | [ '|' '|' ]"
472
+ "value": "'>' | '+' | '~'"
473
473
  },
474
474
  {
475
475
  "name": "<wq-name>",
package/svg-strokes.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "inherited": "yes",
14
14
  "percentages": "N/A",
15
15
  "media": "visual",
16
- "computed value": "as specified",
16
+ "computedValue": "as specified",
17
17
  "animatable": "yes",
18
18
  "styleDeclaration": [
19
19
  "stroke-alignment",
@@ -29,7 +29,7 @@
29
29
  "inherited": "yes",
30
30
  "percentages": "refer to the size of the current viewport (see Units)",
31
31
  "media": "visual",
32
- "computed value": "absolute length or keyword specified",
32
+ "computedValue": "absolute length or keyword specified",
33
33
  "animatable": "yes",
34
34
  "styleDeclaration": [
35
35
  "stroke-dashcorner",
@@ -45,7 +45,7 @@
45
45
  "inherited": "yes",
46
46
  "percentages": "N/A",
47
47
  "media": "visual",
48
- "computed value": "as specified",
48
+ "computedValue": "as specified",
49
49
  "animatable": "yes",
50
50
  "styleDeclaration": [
51
51
  "stroke-dashadjust",