@webref/css 6.25.11 → 6.25.14

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.
@@ -9,7 +9,7 @@
9
9
  "href": "https://drafts.csswg.org/css-image-animation-1/#propdef-image-animation",
10
10
  "value": "normal | paused | stopped | running",
11
11
  "initial": "normal",
12
- "appliesTo": "content images and elements with decorative images",
12
+ "appliesTo": "declarative images",
13
13
  "inherited": "yes",
14
14
  "percentages": "n/a",
15
15
  "computedValue": "as specified",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  {
41
41
  "name": "running",
42
- "prose": "Like normal, the animation of animated images is run normally, as determined by the image format and the host language. However, animation timelines are scoped per element: among the content image and decorative images of a single element, any animated images with the same absolute URL, the same image data, and with an image-animation computed value of running must be rendered synchronized to the same timeline as a group, distinct from the timeline of images in other elements. If images are added to the element while the computed value is running, the timeline starts at the time of the least recent addition to the group. If the element is created or made visible after having previously been set to display: none, with images already added and with image-animation already set to running, the timeline starts when the element is included in the layout. If this property is switched to running from another value, the beginnig of this timeline is set so that the animation continues from the state that was displayed at the timem of the switch.",
42
+ "prose": "Like normal, the animation of animated images is run normally, as determined by the image format and the host language. However, animation timelines are scoped per element: among all images of a single element with an image-animation computed value of running, any animated images with the same absolute URL and the same image data must be rendered synchronized to the same timeline as a group, distinct from the timeline of images in other elements. If images are added to the element while the computed value is running, the timeline starts at the time of the least recent addition to the group. If the element is created or made visible after having previously been set to display: none, with images already added and with image-animation already set to running, the timeline starts when the element is included in the layout. If this property is switched to running from another value, the beginnig of this timeline is set so that the animation continues from the state that was displayed at the timem of the switch.",
43
43
  "href": "https://drafts.csswg.org/css-image-animation-1/#valdef-image-animation-running",
44
44
  "type": "value",
45
45
  "value": "running"
@@ -55,7 +55,7 @@
55
55
  "selectors": [
56
56
  {
57
57
  "name": ":animated-image",
58
- "prose": "The :animated-image pseudo-class represents content image elements where a animated image has been loaded. For the animated-image pseudo-class to match, the image must not only be in a format that is capable of animation, but must also be an actually animated image.",
58
+ "prose": "The :animated-image pseudo-class matches elements representing a declarative image where a animated image has been loaded. For the animated-image pseudo-class to match, the image must not only be in a format that is capable of animation, but must also be an actually animated image.",
59
59
  "href": "https://drafts.csswg.org/css-image-animation-1/#selectordef-animated-image",
60
60
  "value": ":animated-image"
61
61
  }
package/css-inline.json CHANGED
@@ -183,7 +183,7 @@
183
183
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
184
184
  "value": "auto | first | last",
185
185
  "initial": "auto",
186
- "appliesTo": "inline-level boxes",
186
+ "appliesTo": "inline-level boxes that establish an independent formatting context",
187
187
  "inherited": "no",
188
188
  "percentages": "N/A",
189
189
  "computedValue": "specified keyword",
package/css-mixins.json CHANGED
@@ -31,13 +31,7 @@
31
31
  "name": "@mixin",
32
32
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
33
33
  "descriptors": [],
34
- "value": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }"
35
- },
36
- {
37
- "name": "@result",
38
- "href": "https://drafts.csswg.org/css-mixins-1/#result-rule",
39
- "descriptors": [],
40
- "value": "@result { <declaration-rule-list> }"
34
+ "value": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <block-contents> }"
41
35
  },
42
36
  {
43
37
  "name": "@contents",
@@ -45,17 +39,17 @@
45
39
  "descriptors": [],
46
40
  "value": "@contents [ { <declaration-list> } ]?"
47
41
  },
48
- {
49
- "name": "@macro",
50
- "href": "https://drafts.csswg.org/css-mixins-1/#macro-rule",
51
- "descriptors": [],
52
- "value": "@macro <dashed-ident> { <declaration-rule-list> }"
53
- },
54
42
  {
55
43
  "name": "@apply",
56
44
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-apply",
57
45
  "descriptors": [],
58
46
  "value": "@apply [ <dashed-ident> | <dashed-function> ] [ { <declaration-list> } ]?;"
47
+ },
48
+ {
49
+ "name": "@private",
50
+ "href": "https://drafts.csswg.org/css-mixins-1/#private",
51
+ "descriptors": [],
52
+ "value": "@private { <declaration-rule-list> }"
59
53
  }
60
54
  ],
61
55
  "selectors": [],
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "spec": {
3
- "title": "CSS Route Matching",
3
+ "title": "CSS Navigation Matching",
4
4
  "url": "https://drafts.csswg.org/css-navigation-1/"
5
5
  },
6
6
  "properties": [],
7
7
  "atrules": [
8
8
  {
9
- "name": "@route",
10
- "prose": "The @route rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
11
- "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-route",
9
+ "name": "@location",
10
+ "prose": "The @location rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
11
+ "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-location",
12
12
  "descriptors": [],
13
- "value": "<route-rule>"
13
+ "value": "<location-rule>"
14
14
  },
15
15
  {
16
16
  "name": "@navigation",
@@ -27,34 +27,34 @@
27
27
  "href": "https://drafts.csswg.org/css-navigation-1/#link-to-pseudo"
28
28
  },
29
29
  {
30
- "name": ":nav-source",
31
- "prose": "This specification defines a :nav-source pseudo-class, matching the element that triggered the current navigation. It is a CSS reflection of the sourceElement property in the Navigation API. The trigger element can be an [^a^], [^area^], [^form^], a [^input/type/submit^] input, or a [^button^].",
32
- "href": "https://drafts.csswg.org/css-navigation-1/#nav-source-pseudo",
33
- "value": ":nav-source"
30
+ "name": ":navigation-source",
31
+ "prose": "This specification defines a :navigation-source pseudo-class, matching the element that triggered the current navigation. It is a CSS reflection of the sourceElement property in the Navigation API. The trigger element can be an [^a^], [^area^], [^form^], a [^input/type/submit^] input, or a [^button^].",
32
+ "href": "https://drafts.csswg.org/css-navigation-1/#navigation-source-pseudo",
33
+ "value": ":navigation-source"
34
34
  }
35
35
  ],
36
36
  "values": [
37
37
  {
38
- "name": "<route-location>",
39
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-location",
38
+ "name": "<navigation-location>",
39
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location",
40
40
  "type": "type",
41
- "value": "<url> | [ <route-name> | <url-pattern()> ]"
41
+ "value": "<url> | [ <location-name> | <url-pattern()> ]"
42
42
  },
43
43
  {
44
- "name": "<route-name>",
45
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-name",
44
+ "name": "<location-name>",
45
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-name",
46
46
  "type": "type",
47
47
  "value": "<dashed-ident>"
48
48
  },
49
49
  {
50
- "name": "<route-rule>",
51
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-rule",
50
+ "name": "<location-rule>",
51
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-rule",
52
52
  "type": "type",
53
- "value": "@route <dashed-ident> { <declaration-list> }"
53
+ "value": "@location <dashed-ident> { <declaration-list> }"
54
54
  },
55
55
  {
56
- "name": "<route-descriptor>",
57
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-descriptor",
56
+ "name": "<location-descriptor>",
57
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-descriptor",
58
58
  "type": "type",
59
59
  "value": "<pattern-descriptor> | <init-descriptor> | <base-descriptor>"
60
60
  },
@@ -111,19 +111,19 @@
111
111
  "name": "<navigation-location-test>",
112
112
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-test",
113
113
  "type": "type",
114
- "value": "<navigation-relation> : <route-location>"
114
+ "value": "<navigation-relation> : <navigation-location>"
115
115
  },
116
116
  {
117
117
  "name": "<navigation-relation>",
118
118
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-relation",
119
119
  "type": "type",
120
- "value": "at | with | from | to"
120
+ "value": "at | from | to"
121
121
  },
122
122
  {
123
123
  "name": "<navigation-location-between-test>",
124
124
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-between-test",
125
125
  "type": "type",
126
- "value": "between : <route-location> and <route-location>"
126
+ "value": "between : <navigation-location> and <navigation-location>"
127
127
  },
128
128
  {
129
129
  "name": "<navigation-type-test>",
@@ -89,6 +89,38 @@
89
89
  "scrollMarkerGroup"
90
90
  ]
91
91
  },
92
+ {
93
+ "name": "scroll-axis-lock",
94
+ "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-axis-lock",
95
+ "value": "auto | none",
96
+ "initial": "auto",
97
+ "appliesTo": "scroll container elements",
98
+ "inherited": "no",
99
+ "percentages": "n/a",
100
+ "computedValue": "specified value",
101
+ "canonicalOrder": "per grammar",
102
+ "animationType": "discrete",
103
+ "values": [
104
+ {
105
+ "name": "none",
106
+ "prose": "The user agent must not lock scrolls on the element to one axis.",
107
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-axis-lock-none",
108
+ "type": "value",
109
+ "value": "none"
110
+ },
111
+ {
112
+ "name": "auto",
113
+ "prose": "The user agent may lock scrolls on the element to one axis.",
114
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-axis-lock-auto",
115
+ "type": "value",
116
+ "value": "auto"
117
+ }
118
+ ],
119
+ "styleDeclaration": [
120
+ "scroll-axis-lock",
121
+ "scrollAxisLock"
122
+ ]
123
+ },
92
124
  {
93
125
  "name": "continue",
94
126
  "newValues": "overflow | paginate | fragments",
@@ -14,24 +14,24 @@
14
14
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-syntax",
15
15
  "for": "@property",
16
16
  "value": "<string>",
17
- "initial": "n/a (see prose)"
17
+ "initial": "\"*\""
18
18
  },
19
19
  {
20
20
  "name": "inherits",
21
21
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-inherits",
22
22
  "for": "@property",
23
23
  "value": "true | false",
24
- "initial": "n/a (see prose)"
24
+ "initial": "true"
25
25
  },
26
26
  {
27
27
  "name": "initial-value",
28
28
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-initial-value",
29
29
  "for": "@property",
30
30
  "value": "<declaration-value>?",
31
- "initial": "the guaranteed-invalid value (but see prose)"
31
+ "initial": "the guaranteed-invalid value"
32
32
  }
33
33
  ],
34
- "value": "@property <custom-property-name> { <declaration-list> }"
34
+ "value": "@property <custom-property-name># { <declaration-list> }"
35
35
  }
36
36
  ],
37
37
  "selectors": [],
package/css-text-4.json CHANGED
@@ -465,7 +465,7 @@
465
465
  {
466
466
  "name": "text-wrap-style",
467
467
  "href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap-style",
468
- "value": "auto | balance | stable | pretty | avoid-orphans",
468
+ "value": "auto | balance | stable | pretty | avoid-short-last-line",
469
469
  "initial": "auto",
470
470
  "appliesTo": "block containers hat establish an inline formatting context",
471
471
  "inherited": "yes",
@@ -497,17 +497,17 @@
497
497
  },
498
498
  {
499
499
  "name": "pretty",
500
- "prose": "Specifies the UA should bias for better layout over speed, and is expected to consider multiple lines when making break decisions. Otherwise equivalent to auto. The user agent may among other things attempt to avoid excessively short last lines, similarly to avoid-orphans, but it should also improve the layout in additional ways. The precise set of improvements is user agent dependent, and may include things such as: reducing the variation in length between lines; avoiding typographic rivers; prioritizing different classes of soft wrap opportunities, hyphenation opportunities, or justification opportunities; avoiding hyphenation on too many consecutive lines… The necessary computations may be expensive, especially when applied to large amounts of text. Authors are encouraged to assess the impact on performance when using text-wrap-style: pretty, and possibly use it selectively where it matters most.",
500
+ "prose": "Specifies the UA should bias for better layout over speed, and is expected to consider multiple lines when making break decisions. Otherwise equivalent to auto. The user agent may among other things attempt to avoid excessively short last lines, similarly to avoid-short-last-line, but it should also improve the layout in additional ways. The precise set of improvements is user agent dependent, and may include things such as: reducing the variation in length between lines; avoiding typographic rivers; prioritizing different classes of soft wrap opportunities, hyphenation opportunities, or justification opportunities; avoiding hyphenation on too many consecutive lines… The necessary computations may be expensive, especially when applied to large amounts of text. Authors are encouraged to assess the impact on performance when using text-wrap-style: pretty, and possibly use it selectively where it matters most.",
501
501
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-pretty",
502
502
  "type": "value",
503
503
  "value": "pretty"
504
504
  },
505
505
  {
506
- "name": "avoid-orphans",
507
- "prose": "Specifies the UA should avoid excessively short last lines, and is expected to consider more than one line when making break decisions (for example, to avoid \"fixing\" an orphan by making the previous line too short). The user agent may decide against improving the last line when it would make some prior line(s) substantially unbalanced. The user agent should not attempt to improve other aspects of the layout beyond what auto if those improvements come at a significant performance cost. For instance, with the given line length, the following test would be wrapped with a single word on the last line, which could be judged too short. ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. Applying text-wrap-style: avoid-orphans could yield something like this instead, which is arguably more pleasing: ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. However, the following fragment is more vexing: Circumnavigating the Mississippi river An attempt to make the last line less short by wrapping the previous line earlier would result in the following: Circumnavigating the Mississippi river While the last line would indeed no longer be short, the penultimate line would be unsightly. In such cases, user agents are expected to prefer the first rendering despite text-wrap-style: avoid-orphans being set.",
508
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-avoid-orphans",
506
+ "name": "avoid-short-last-line",
507
+ "prose": "Specifies the UA should avoid excessively short last lines, and is expected to consider more than one line when making break decisions (for example, to avoid \"fixing\" an orphan by making the previous line too short). The user agent may decide against improving the last line when it would make some prior line(s) substantially unbalanced. The user agent should not attempt to improve other aspects of the layout beyond what auto if those improvements come at a significant performance cost. For instance, with the given line length, the following test would be wrapped with a single word on the last line, which could be judged too short. ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. Applying text-wrap-style: avoid-short-last-line could yield something like this instead, which is arguably more pleasing: ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. However, the following fragment is more vexing: Circumnavigating the Mississippi river An attempt to make the last line less short by wrapping the previous line earlier would result in the following: Circumnavigating the Mississippi river While the last line would indeed no longer be short, the penultimate line would be unsightly. In such cases, user agents are expected to prefer the first rendering despite text-wrap-style: avoid-short-last-line being set.",
508
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-avoid-short-last-line",
509
509
  "type": "value",
510
- "value": "avoid-orphans"
510
+ "value": "avoid-short-last-line"
511
511
  }
512
512
  ],
513
513
  "styleDeclaration": [
@@ -737,7 +737,7 @@
737
737
  {
738
738
  "name": "hyphenate-limit-chars",
739
739
  "href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-chars",
740
- "value": "[ auto | <integer> ]{1,3}",
740
+ "value": "[ auto | <integer [0,∞]> ]{1,3}",
741
741
  "initial": "auto",
742
742
  "appliesTo": "text",
743
743
  "inherited": "yes",
@@ -762,7 +762,7 @@
762
762
  {
763
763
  "name": "hyphenate-limit-lines",
764
764
  "href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-lines",
765
- "value": "no-limit | <integer>",
765
+ "value": "no-limit | <integer [0,∞]>",
766
766
  "initial": "no-limit",
767
767
  "appliesTo": "block containers",
768
768
  "inherited": "yes",
@@ -1232,20 +1232,6 @@
1232
1232
  "type": "value",
1233
1233
  "value": "no-autospace"
1234
1234
  },
1235
- {
1236
- "name": "insert",
1237
- "prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. If neither insert nor replace are specified, the behavior is the same as insert.",
1238
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-insert",
1239
- "type": "value",
1240
- "value": "insert"
1241
- },
1242
- {
1243
- "name": "replace",
1244
- "prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
1245
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-replace",
1246
- "type": "value",
1247
- "value": "replace"
1248
- },
1249
1235
  {
1250
1236
  "name": "ideograph-alpha",
1251
1237
  "prose": "Creates extra spacing between runs of ideographs and non-ideographic letters, see § 8.4.1 Inter-script Spacing.",
@@ -1267,6 +1253,20 @@
1267
1253
  "type": "value",
1268
1254
  "value": "punctuation"
1269
1255
  },
1256
+ {
1257
+ "name": "insert",
1258
+ "prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. This is the default behavior: if neither insert nor replace are specified, insert is assumed.",
1259
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-insert",
1260
+ "type": "value",
1261
+ "value": "insert"
1262
+ },
1263
+ {
1264
+ "name": "replace",
1265
+ "prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
1266
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-replace",
1267
+ "type": "value",
1268
+ "value": "replace"
1269
+ },
1270
1270
  {
1271
1271
  "name": "auto",
1272
1272
  "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
@@ -268,21 +268,21 @@
268
268
  {
269
269
  "name": "text-decoration-inset",
270
270
  "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-inset",
271
- "value": "<length>{1,2} | auto",
271
+ "value": "<length-percentage>{1,2} | auto",
272
272
  "initial": "0",
273
273
  "appliesTo": "all elements",
274
274
  "inherited": "no",
275
- "percentages": "N/A",
275
+ "percentages": "Depending on the value of box-decoration-break, either refer to the inline size of the decorating box or of each individual box fragment",
276
276
  "computedValue": "specified keyword or absolute length",
277
277
  "canonicalOrder": "per grammar",
278
278
  "animationType": "by computed value",
279
279
  "values": [
280
280
  {
281
- "name": "<length>",
282
- "prose": "Adjusts the start or end endpoint of the affected line decorations. Positive values move the endpoint inward (trimming), negative values move it outward (extending). The following example offsets an extra thick underline 1em endwards with respect to the text h1 { text-decoration: underline 0.3em rgba(36,148,187,0.25); text-decoration-inset: 1em -1em; }",
283
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-inset-length",
281
+ "name": "<length-percentage>",
282
+ "prose": "Adjusts the start or end endpoint of the affected line decorations. Positive values move the endpoint inward (trimming), negative values move it outward (extending). Percentage values either refer to the total inline size of the decorating box, if box-decoration-break is set to slice, or to the inline size of each individual box fragment, if it is set to clone. The following example offsets an extra thick underline 1em endwards with respect to the text h1 { text-decoration: underline 0.3em rgb(36 148 187 / 0.25); text-decoration-inset: 1em -1em; } In this example, the underline is inset 10% of the inline size of the decorating box from the start and end of it. h1 { text-decoration: underline 0.2em rgb(216 148 23); text-decoration-inset: 10%; } This results in the orange underline being inset by 10 percent from the start and end of the headline. In this example, the underline is inset 10% of the inline size of each box fragment from the end of that fragment. h1 { text-decoration: underline 0.2em rgb(216 148 23); text-decoration-inset: 0 10%; box-decoration-break: clone; } This results in the orange underline of each line being inset by 10 percent from the end.",
283
+ "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-inset-length-percentage",
284
284
  "type": "value",
285
- "value": "<length>"
285
+ "value": "<length-percentage>"
286
286
  },
287
287
  {
288
288
  "name": "auto",
package/css-ui.json CHANGED
@@ -963,7 +963,8 @@
963
963
  "-webkit-appearance",
964
964
  "WebkitAppearance",
965
965
  "webkitAppearance"
966
- ]
966
+ ],
967
+ "value": "none | auto | base | base-select | <compat-auto> | <compat-special>"
967
968
  },
968
969
  {
969
970
  "name": "-webkit-user-select",
package/css-values-5.json CHANGED
@@ -18,14 +18,14 @@
18
18
  "values": [
19
19
  {
20
20
  "name": "numeric-only",
21
- "prose": "An <intrinsic-size-keyword> cannot be interpolated.",
21
+ "prose": "A <size-keyword> can only be combined with a compatible <calc-size()>.",
22
22
  "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-numeric-only",
23
23
  "type": "value",
24
24
  "value": "numeric-only"
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 § 11.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
28
+ "prose": "Sizing values can also be combined if one of them is an <size-keyword> and the other is a <length-percentage>. This is done by treating the <size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 11.2 Interpolating calc-size(). In other cases, a <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"
@@ -615,11 +615,11 @@
615
615
  "value": "<declaration-value> : <declaration-value>?"
616
616
  },
617
617
  {
618
- "name": "toggle()",
619
- "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
620
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
618
+ "name": "cycle()",
619
+ "prose": "The cycle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
620
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-cycle",
621
621
  "type": "function",
622
- "value": "toggle( <whole-value># )"
622
+ "value": "cycle( <whole-value># )"
623
623
  },
624
624
  {
625
625
  "name": "inherit()",
@@ -675,7 +675,7 @@
675
675
  },
676
676
  {
677
677
  "name": "ident()",
678
- "prose": "The ident() function represents an <ident>, and can be used to manually construct <custom-ident> values from several parts.",
678
+ "prose": "The ident() function represents an arbitrary <ident>, built from one or more separate idents, strings, and integers. It is an arbitrary substitution function.",
679
679
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident",
680
680
  "type": "function",
681
681
  "value": "ident( <ident-arg>+ )"
@@ -686,6 +686,12 @@
686
686
  "type": "type",
687
687
  "value": "<string> | <integer> | <ident>"
688
688
  },
689
+ {
690
+ "name": "<ident-args>",
691
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-ident-args",
692
+ "type": "type",
693
+ "value": "ident( <declaration-value> )"
694
+ },
689
695
  {
690
696
  "name": "random()",
691
697
  "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:",
@@ -721,7 +727,7 @@
721
727
  },
722
728
  {
723
729
  "name": "<random-cache-key>",
724
- "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 follows certain specific patterns; see § 9.4.1 Simplification of <random-key> for details.",
730
+ "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. If the random function is being evaluated inside of a custom function, the element-specific identifier is for the \"hypothetical element\" that the function’s styles are evaluated on, so element-scoped will give you different random values on every function invocation. 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 follows certain specific patterns; see § 9.4.1 Simplification of <random-key> for details.",
725
731
  "href": "https://drafts.csswg.org/css-values-5/#valdef-random-random-cache-key",
726
732
  "type": "value",
727
733
  "value": "<random-cache-key>"
@@ -788,23 +794,44 @@
788
794
  },
789
795
  {
790
796
  "name": "calc-size()",
797
+ "prose": "The calc-size() function allows math and transition/animation to be performed on these sizes in a safe, well-defined way. Its syntax is as follows:",
791
798
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
792
799
  "type": "function",
793
800
  "value": "calc-size( <calc-size-basis>, <calc-sum> )",
794
801
  "values": [
795
802
  {
796
- "name": "size",
797
- "prose": "Within the calc-size calculation, if the calc-size basis is not any, the keyword size is allowed. This keyword is a <length>, and resolves at used value time.",
798
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
803
+ "name": "<size-keyword>",
804
+ "prose": "Indicates that the calc-size() is basing its size off of the specified keyword. Represents any sizing keywords allowed in the context where the function is used. For example, in width, it matches auto, min-content, stretch, etc. Also allows any related sizing functions, like the fit-content() function in width/etc., which is a variation of the fit-content keyword. For all purposes other than actually resolving the size, the calc-size() acts like this keyword. The calc-size calculation will use the corresponding size as the value of its size keyword.",
805
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-size-keyword",
806
+ "type": "type"
807
+ },
808
+ {
809
+ "name": "<calc-sum>",
810
+ "prose": "Indicates that the calc-size() is basing its size off of the specified calculation. For all purposes other than actually resolving the size, the calc-size() acts like this calculation wrapped in a calc() (including, for example, whether it represents a definite or indefinite size). The calc-size calculation will use the corresponding size as the value of its size keyword.",
811
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-sum",
799
812
  "type": "value",
800
- "value": "size"
813
+ "value": "<calc-sum>"
814
+ },
815
+ {
816
+ "name": "<calc-size()>",
817
+ "prose": "Indicates that the outer calc-size() is basing its size off of this inner calc-size(), and will share the same behavior as it. The calc-size calculation will use the size of the inner calc-size() as its size keyword. The size keyword is allowed, in this case, even if the inner calc-size() uses any. For example, in calc-size(calc-size(min-content, size / 2), size + 10%), the outer calc-size() acts as if its calc-size basis was min-content, and will calculate its own size using the result of the inner calc-size(), equivalent to calc-size(min-content, size / 2 + 10%).",
818
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-size",
819
+ "type": "value",
820
+ "value": "<calc-size()>"
801
821
  },
802
822
  {
803
823
  "name": "any",
804
- "prose": "(If the calc-size basis is any, the calc-size() is a definite length, equal to its calc-size calculation.)",
824
+ "prose": "Indicates that the calc-size() does not depend on any additional information, and thus can be interpolated with any other size. The calc-size() function represents a definite size. The calc-size calculation cannot use the size keyword; it is a syntax error for size to appear in the calc-size calculation.",
805
825
  "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
806
826
  "type": "value",
807
827
  "value": "any"
828
+ },
829
+ {
830
+ "name": "size",
831
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
832
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
833
+ "type": "value",
834
+ "value": "size"
808
835
  }
809
836
  ]
810
837
  },
@@ -812,13 +839,7 @@
812
839
  "name": "<calc-size-basis>",
813
840
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
814
841
  "type": "type",
815
- "value": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]"
816
- },
817
- {
818
- "name": "<size-keyword>",
819
- "prose": "The <size-keyword> production matches any sizing keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
820
- "href": "https://drafts.csswg.org/css-values-5/#typedef-size-keyword",
821
- "type": "type"
842
+ "value": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]"
822
843
  }
823
844
  ],
824
845
  "warnings": [
@@ -841,6 +862,15 @@
841
862
  "msg": "Missing definition",
842
863
  "name": "interpolate-function()",
843
864
  "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> ]#? )"
865
+ },
866
+ {
867
+ "msg": "Dangling value",
868
+ "name": "size",
869
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
870
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
871
+ "type": "value",
872
+ "value": "size",
873
+ "for": "calc()"
844
874
  }
845
875
  ]
846
876
  }
package/css-values.json CHANGED
@@ -7,12 +7,6 @@
7
7
  "atrules": [],
8
8
  "selectors": [],
9
9
  "values": [
10
- {
11
- "name": "<string>",
12
- "prose": "Strings, denoted by <string>, are sequences of characters representing arbitrary textual data. When written literally, they are delimited by double quotes or single quotes, and correspond to the <string-token> production. [CSS-SYNTAX-3].",
13
- "href": "https://drafts.csswg.org/css-values-4/#string-value",
14
- "type": "type"
15
- },
16
10
  {
17
11
  "name": "<ident>",
18
12
  "prose": "CSS identifiers, generically denoted by <ident>, represent names, and are written as an unquoted sequence of (potentially escaped) characters corresponding to the <ident-token> grammar. [CSS-SYNTAX-3] Identifiers cannot be quoted; otherwise they would be interpreted as strings. CSS properties accept two classes of identifiers: pre-defined keywords and author-defined identifiers.",
@@ -31,6 +25,12 @@
31
25
  "href": "https://drafts.csswg.org/css-values-4/#typedef-dashed-ident",
32
26
  "type": "type"
33
27
  },
28
+ {
29
+ "name": "<string>",
30
+ "prose": "Strings, denoted by <string>, are sequences of characters representing arbitrary textual data. When written literally, they are delimited by double quotes or single quotes, and correspond to the <string-token> production. [CSS-SYNTAX-3].",
31
+ "href": "https://drafts.csswg.org/css-values-4/#string-value",
32
+ "type": "type"
33
+ },
34
34
  {
35
35
  "name": "url()",
36
36
  "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource.",
@@ -878,14 +878,5 @@
878
878
  "href": "https://drafts.csswg.org/css-values-4/#typedef-quirky-length",
879
879
  "type": "type"
880
880
  }
881
- ],
882
- "warnings": [
883
- {
884
- "msg": "Duplicate definition",
885
- "name": "<string>",
886
- "prose": "Strings, denoted by <string>, are sequences of characters representing arbitrary textual data. When written literally, they are delimited by double quotes or single quotes, and correspond to the <string-token> production. [CSS-SYNTAX-3].",
887
- "href": "https://drafts.csswg.org/css-values-4/#string-value%E2%91%A0",
888
- "type": "type"
889
- }
890
881
  ]
891
882
  }
@@ -189,7 +189,7 @@
189
189
  "selectors": [
190
190
  {
191
191
  "name": "::view-transition",
192
- "prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
192
+ "prose": "The ::view-transition pseudo-element is a fully styleable pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
193
193
  "href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition",
194
194
  "value": "::view-transition"
195
195
  },
@@ -241,7 +241,8 @@
241
241
  "name": "<view-transition-type>",
242
242
  "prose": "where <view-transition-type> is any <custom-ident> other than none, and not starting with the string \"-ua-\".",
243
243
  "href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-view-transition-type",
244
- "type": "type"
244
+ "type": "type",
245
+ "value": "<custom-ident>"
245
246
  },
246
247
  {
247
248
  "name": "<pt-name-and-class-selector>",
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.11",
4
+ "version": "6.25.14",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"