@webref/css 6.5.8 → 6.5.9

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.
@@ -4,41 +4,6 @@
4
4
  "url": "https://drafts.csswg.org/css-anchor-position-1/"
5
5
  },
6
6
  "properties": [
7
- {
8
- "name": "anchor-scroll",
9
- "value": "none | default | <anchor-element>",
10
- "initial": "default",
11
- "appliesTo": "absolutely-positioned elements",
12
- "inherited": "no",
13
- "percentages": "n/a",
14
- "computedValue": "as specified",
15
- "canonicalOrder": "per grammar",
16
- "animationType": "discrete",
17
- "values": [
18
- {
19
- "name": "none",
20
- "prose": "No effect.",
21
- "type": "value",
22
- "value": "none"
23
- },
24
- {
25
- "name": "default",
26
- "prose": "Behaves identically to <anchor-element>, but draws its value from anchor-default on the element.",
27
- "type": "value",
28
- "value": "default"
29
- },
30
- {
31
- "name": "<anchor-element>",
32
- "prose": "Selects a target anchor element the same as anchor(), which will be compensated for in positioning and fallback.",
33
- "type": "value",
34
- "value": "<anchor-element>"
35
- }
36
- ],
37
- "styleDeclaration": [
38
- "anchor-scroll",
39
- "anchorScroll"
40
- ]
41
- },
42
7
  {
43
8
  "name": "anchor-name",
44
9
  "value": "none | <dashed-ident>",
@@ -83,6 +48,41 @@
83
48
  "anchorDefault"
84
49
  ]
85
50
  },
51
+ {
52
+ "name": "anchor-scroll",
53
+ "value": "none | default | <anchor-element>",
54
+ "initial": "default",
55
+ "appliesTo": "absolutely-positioned elements",
56
+ "inherited": "no",
57
+ "percentages": "n/a",
58
+ "computedValue": "as specified",
59
+ "canonicalOrder": "per grammar",
60
+ "animationType": "discrete",
61
+ "values": [
62
+ {
63
+ "name": "none",
64
+ "prose": "No effect.",
65
+ "type": "value",
66
+ "value": "none"
67
+ },
68
+ {
69
+ "name": "default",
70
+ "prose": "Behaves identically to <anchor-element>, but draws its value from anchor-default on the element.",
71
+ "type": "value",
72
+ "value": "default"
73
+ },
74
+ {
75
+ "name": "<anchor-element>",
76
+ "prose": "Selects a target anchor element the same as anchor(), which will be compensated for in positioning and fallback.",
77
+ "type": "value",
78
+ "value": "<anchor-element>"
79
+ }
80
+ ],
81
+ "styleDeclaration": [
82
+ "anchor-scroll",
83
+ "anchorScroll"
84
+ ]
85
+ },
86
86
  {
87
87
  "name": "position-fallback",
88
88
  "value": "none | <dashed-ident>",
@@ -111,6 +111,29 @@
111
111
  "position-fallback",
112
112
  "positionFallback"
113
113
  ]
114
+ },
115
+ {
116
+ "name": "position-fallback-bounds",
117
+ "value": "normal | <dashed-ident>",
118
+ "initial": "normal",
119
+ "appliesTo": "absolutely positioned elements",
120
+ "inherited": "no",
121
+ "percentages": "n/a",
122
+ "computedValue": "as specified",
123
+ "canonicalOrder": "per grammar",
124
+ "animationType": "discrete",
125
+ "values": [
126
+ {
127
+ "name": "normal",
128
+ "prose": "The element uses its normal (scroll-adjusted, inset-modified) containing block to determine if it’s overflowing for the purpose of selecting a position fallback list entry.",
129
+ "type": "value",
130
+ "value": "normal"
131
+ }
132
+ ],
133
+ "styleDeclaration": [
134
+ "position-fallback-bounds",
135
+ "positionFallbackBounds"
136
+ ]
114
137
  }
115
138
  ],
116
139
  "atrules": [
@@ -130,7 +153,7 @@
130
153
  "values": [
131
154
  {
132
155
  "name": "anchor()",
133
- "prose": "An absolutely-positioned element can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length>.",
156
+ "prose": "An absolutely-positioned element can use the anchor() function in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length>, exactly what is needed to position the given inset edge to the specified position on the anchor element.",
134
157
  "type": "function",
135
158
  "value": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
136
159
  "values": [
@@ -148,67 +171,73 @@
148
171
  },
149
172
  {
150
173
  "name": "auto",
151
- "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
174
+ "prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.1.1 Automatic Anchor Positioning for more details.",
152
175
  "type": "value",
153
176
  "value": "auto"
154
177
  },
155
178
  {
156
179
  "name": "auto-same",
157
- "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
180
+ "prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.1.1 Automatic Anchor Positioning for more details.",
158
181
  "type": "value",
159
182
  "value": "auto-same"
160
183
  },
161
184
  {
162
- "name": "left",
163
- "prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
185
+ "name": "top",
186
+ "prose": "Refers to the specified side of the anchor element.",
164
187
  "type": "value",
165
- "value": "left"
188
+ "value": "top"
166
189
  },
167
190
  {
168
191
  "name": "right",
169
- "prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
192
+ "prose": "Refers to the specified side of the anchor element.",
170
193
  "type": "value",
171
194
  "value": "right"
172
195
  },
173
196
  {
174
- "name": "top",
175
- "prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
197
+ "name": "bottom",
198
+ "prose": "Refers to the specified side of the anchor element.",
176
199
  "type": "value",
177
- "value": "top"
200
+ "value": "bottom"
178
201
  },
179
202
  {
180
- "name": "bottom",
181
- "prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
203
+ "name": "left",
204
+ "prose": "Refers to the specified side of the anchor element.",
182
205
  "type": "value",
183
- "value": "bottom"
206
+ "value": "left"
184
207
  },
185
208
  {
186
209
  "name": "start",
187
- "prose": "The logical <anchor-side> keywords (start, end, self-start, and self-end) map to one of the physical keywords depending on the property the function is being used in (top or bottom in the top or bottom properties, etc) and the writing mode of either the element (for self-start and self-end) or the writing mode of the element’s containing block (for start and end).",
210
+ "prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
188
211
  "type": "value",
189
212
  "value": "start"
190
213
  },
191
214
  {
192
215
  "name": "end",
193
- "prose": "The logical <anchor-side> keywords (start, end, self-start, and self-end) map to one of the physical keywords depending on the property the function is being used in (top or bottom in the top or bottom properties, etc) and the writing mode of either the element (for self-start and self-end) or the writing mode of the element’s containing block (for start and end).",
216
+ "prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
194
217
  "type": "value",
195
218
  "value": "end"
196
219
  },
197
220
  {
198
221
  "name": "self-start",
199
- "prose": "The logical <anchor-side> keywords (start, end, self-start, and self-end) map to one of the physical keywords depending on the property the function is being used in (top or bottom in the top or bottom properties, etc) and the writing mode of either the element (for self-start and self-end) or the writing mode of the element’s containing block (for start and end).",
222
+ "prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
200
223
  "type": "value",
201
224
  "value": "self-start"
202
225
  },
203
226
  {
204
227
  "name": "self-end",
205
- "prose": "The logical <anchor-side> keywords (start, end, self-start, and self-end) map to one of the physical keywords depending on the property the function is being used in (top or bottom in the top or bottom properties, etc) and the writing mode of either the element (for self-start and self-end) or the writing mode of the element’s containing block (for start and end).",
228
+ "prose": "Refers to one of the sides of the anchor element in the same axis as the inset property it’s used in, by resolving the keyword against the writing mode of either the positioned element (for self-start and self-end) or the positioned element’s containing block (for start and end).",
206
229
  "type": "value",
207
230
  "value": "self-end"
208
231
  },
232
+ {
233
+ "name": "<percentage>",
234
+ "prose": "Refers to a position a corresponding percentage between the start and end sides, with 0% being equivalent to start and 100% being equivalent to end. center is equivalent to 50%.",
235
+ "type": "value",
236
+ "value": "<percentage>"
237
+ },
209
238
  {
210
239
  "name": "center",
211
- "prose": "A <percentage> value refers to a position a corresponding percentage between the start and end sides, with 0% being equivalent to start and 100% being equivalent to end. The center keyword is equivalent to 50%.",
240
+ "prose": "Refers to a position a corresponding percentage between the start and end sides, with 0% being equivalent to start and 100% being equivalent to end. center is equivalent to 50%.",
212
241
  "type": "value",
213
242
  "value": "center"
214
243
  }
@@ -55,7 +55,7 @@
55
55
  "appliesTo": "all elements",
56
56
  "inherited": "no",
57
57
  "percentages": "N/A",
58
- "computedValue": "list, each item either a case-sensitive css identifier or the keywords none, auto.",
58
+ "computedValue": "list, each item either the keyword none, the keyword auto, a case-sensitive css identifier, a computed scroll() function, or a computed view() function",
59
59
  "canonicalOrder": "per grammar",
60
60
  "animationType": "not animatable",
61
61
  "styleDeclaration": [
@@ -75,7 +75,7 @@
75
75
  {
76
76
  "name": "<single-animation-timeline>",
77
77
  "type": "type",
78
- "value": "auto | none | <custom-ident> | <scroll()> | <view()>",
78
+ "value": "auto | none | <dashed-ident> | <scroll()> | <view()>",
79
79
  "values": [
80
80
  {
81
81
  "name": "auto",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  {
93
93
  "name": "<custom-ident>",
94
- "prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § 4.2 Named Timeline Scoping and Lookup. Otherwise the animation is not associated with a timeline.",
94
+ "prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § Declaring a Named Timeline’s Scope: the timeline-scope property. Otherwise the animation is not associated with a timeline.",
95
95
  "type": "value",
96
96
  "value": "<custom-ident>"
97
97
  },
@@ -111,7 +111,7 @@
111
111
  },
112
112
  {
113
113
  "name": "<single-animation>",
114
- "value": "<time [0s,∞]> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
114
+ "value": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
115
115
  "type": "type"
116
116
  }
117
117
  ]
package/css-color.json CHANGED
@@ -1024,7 +1024,7 @@
1024
1024
  {
1025
1025
  "name": "hwb()",
1026
1026
  "type": "function",
1027
- "value": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
1027
+ "value": "hwb( [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1028
1028
  "values": [
1029
1029
  {
1030
1030
  "name": "HWB",
@@ -1041,7 +1041,7 @@
1041
1041
  "values": [
1042
1042
  {
1043
1043
  "name": "Lab",
1044
- "prose": "Lab is a rectangular coordinate system with a central Lightness (L) axis. This value is usually written as a unitless number; for compatibility with the rest of CSS, it may also be written as a percentage. 100% means an L value of 100, not 1.0. L=0% or 0 is deep black (no light at all) while L=100% or 100 is a diffuse white.",
1044
+ "prose": "In Lab, the first argument specifies the CIE Lightness, L. This is a number between 0% or 0 (representing black) and 100% or 100 (representing white), Values less than 0% or 0 must be clamped to 0% at parsed-value time; values greater than 100% or 100 are clamped to 100% at parsed-value time.",
1045
1045
  "type": "value",
1046
1046
  "value": "Lab"
1047
1047
  }
@@ -1054,7 +1054,7 @@
1054
1054
  "values": [
1055
1055
  {
1056
1056
  "name": "LCH",
1057
- "prose": "CIE LCH has the same L axis as Lab, but uses polar coordinates C (chroma) and H (hue), making it a polar, cylindrical coordinate system. C is the geometric distance from the L axis and H is the angle from the positive a axis, towards the positive b axis.",
1057
+ "prose": "In CIE LCH the first argument specifies the CIE Lightness L, interpreted identically to the Lightness argument of lab().",
1058
1058
  "type": "value",
1059
1059
  "value": "LCH"
1060
1060
  }
@@ -1067,7 +1067,7 @@
1067
1067
  "values": [
1068
1068
  {
1069
1069
  "name": "Oklab",
1070
- "prose": "Recently, Oklab, an improved Lab-like space has been developed [Oklab]. The corresponding polar form is called Oklch. It was produced by numerical optimisation of a large dataset of visually similar colors, and has improved hue linearity, hue uniformity, and chroma uniformity compared to CIE LCH.",
1070
+ "prose": "In Oklab the first argument specifies the Oklab Lightness. This is a number between 0% or 0 (representing black) and 100% or 1.0 (representing white).",
1071
1071
  "type": "value",
1072
1072
  "value": "Oklab"
1073
1073
  }
@@ -1080,7 +1080,7 @@
1080
1080
  "values": [
1081
1081
  {
1082
1082
  "name": "Oklch",
1083
- "prose": "Recently, Oklab, an improved Lab-like space has been developed [Oklab]. The corresponding polar form is called Oklch. It was produced by numerical optimisation of a large dataset of visually similar colors, and has improved hue linearity, hue uniformity, and chroma uniformity compared to CIE LCH.",
1083
+ "prose": "In Oklch the first argument specifies the Oklch Lightness L, interpreted identically to the Lightness argument of oklab().",
1084
1084
  "type": "value",
1085
1085
  "value": "Oklch"
1086
1086
  }
@@ -90,6 +90,7 @@
90
90
  "computedValue": "the keyword auto or a computed <length-percentage> value",
91
91
  "canonicalOrder": "per grammar",
92
92
  "animationType": "by computed value type",
93
+ "logicalPropertyGroup": "scroll-start",
93
94
  "values": [
94
95
  {
95
96
  "name": "auto",
@@ -137,6 +138,7 @@
137
138
  "computedValue": "the keyword auto or a computed <length-percentage> value",
138
139
  "canonicalOrder": "per grammar",
139
140
  "animationType": "by computed value type",
141
+ "logicalPropertyGroup": "scroll-start",
140
142
  "values": [
141
143
  {
142
144
  "name": "auto",
@@ -184,6 +186,7 @@
184
186
  "computedValue": "the keyword auto or a computed <length-percentage> value",
185
187
  "canonicalOrder": "per grammar",
186
188
  "animationType": "by computed value type",
189
+ "logicalPropertyGroup": "scroll-start",
187
190
  "values": [
188
191
  {
189
192
  "name": "auto",
@@ -231,6 +234,7 @@
231
234
  "computedValue": "the keyword auto or a computed <length-percentage> value",
232
235
  "canonicalOrder": "per grammar",
233
236
  "animationType": "by computed value type",
237
+ "logicalPropertyGroup": "scroll-start",
234
238
  "values": [
235
239
  {
236
240
  "name": "auto",
@@ -278,6 +282,7 @@
278
282
  "computedValue": "either of the keywords \"none\" or \"auto\"",
279
283
  "canonicalOrder": "per grammar",
280
284
  "animationType": "not animatable",
285
+ "logicalPropertyGroup": "scroll-start-target",
281
286
  "values": [
282
287
  {
283
288
  "name": "none",
@@ -307,6 +312,7 @@
307
312
  "computedValue": "either of the keywords \"none\" or \"auto\"",
308
313
  "canonicalOrder": "per grammar",
309
314
  "animationType": "not animatable",
315
+ "logicalPropertyGroup": "scroll-start-target",
310
316
  "values": [
311
317
  {
312
318
  "name": "none",
@@ -336,6 +342,7 @@
336
342
  "computedValue": "either of the keywords \"none\" or \"auto\"",
337
343
  "canonicalOrder": "per grammar",
338
344
  "animationType": "not animatable",
345
+ "logicalPropertyGroup": "scroll-start-target",
339
346
  "values": [
340
347
  {
341
348
  "name": "none",
@@ -365,6 +372,7 @@
365
372
  "computedValue": "either of the keywords \"none\" or \"auto\"",
366
373
  "canonicalOrder": "per grammar",
367
374
  "animationType": "not animatable",
375
+ "logicalPropertyGroup": "scroll-start-target",
368
376
  "values": [
369
377
  {
370
378
  "name": "none",
@@ -17,13 +17,13 @@
17
17
  "values": [
18
18
  {
19
19
  "name": "none",
20
- "prose": "The element will not participate in a view transition.",
20
+ "prose": "The element will not participate independently in a view transition.",
21
21
  "type": "value",
22
22
  "value": "none"
23
23
  },
24
24
  {
25
25
  "name": "<custom-ident>",
26
- "prose": "The element can participate in a view transition, as either an old or new element, with a view transition name equal to the <custom-ident>'s value.",
26
+ "prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. The value none is excluded from <custom-ident> here.",
27
27
  "type": "value",
28
28
  "value": "<custom-ident>"
29
29
  }
@@ -37,23 +37,24 @@
37
37
  "atrules": [],
38
38
  "selectors": [
39
39
  {
40
- "name": "::view-transition"
40
+ "name": "::view-transition",
41
+ "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."
41
42
  },
42
43
  {
43
44
  "name": "::view-transition-group()",
44
- "value": "::view-transition-group( <pt-name-selector> )"
45
+ "prose": "The ::view-transition-group() pseudo-element is a named view transition pseudo-element that represents a matching named view transition capture. A ::view-transition-group() pseudo-element is generated for each view transition name as a child of the ::view-transition pseudo-element, and contains a corresponding ::view-transition-image-pair()."
45
46
  },
46
47
  {
47
48
  "name": "::view-transition-image-pair()",
48
- "value": "::view-transition-image-pair( <pt-name-selector> )"
49
+ "prose": "The ::view-transition-image-pair() pseudo-element is a named view transition pseudo-element that represents a pair of corresponding old/new view transition captures. This pseudo-element is a child of the corresponding ::view-transition-group() pseudo-element and contains a corresponding ::view-transition-old() pseudo-element and/or a corresponding ::view-transition-new() pseudo-element (in that order)."
49
50
  },
50
51
  {
51
52
  "name": "::view-transition-old()",
52
- "value": "::view-transition-old( <pt-name-selector> )"
53
+ "prose": "The ::view-transition-old() pseudo-element is an empty named view transition pseudo-element that represents a visual snapshot of the “old” state as a replaced element; it is omitted if there’s no “old” state to represent. Each ::view-transition-old() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element."
53
54
  },
54
55
  {
55
56
  "name": "::view-transition-new()",
56
- "value": "::view-transition-new( <pt-name-selector> )"
57
+ "prose": "The ::view-transition-new() pseudo-element (like the analogous ::view-transition-old() pseudo-element) is an empty named view transition pseudo-element that represents a visual snapshot of the “new” state as a replaced element; it is omitted if there’s no “new” state to represent. Each ::view-transition-new() pseudo-element is a child of the corresponding ::view-transition-image-pair() pseudo-element."
57
58
  }
58
59
  ],
59
60
  "values": [
package/html.json CHANGED
@@ -15,12 +15,12 @@
15
15
  {
16
16
  "name": "<source-size>",
17
17
  "type": "type",
18
- "value": "<media-condition> <source-size-value>"
18
+ "value": "<media-condition> <source-size-value> | auto"
19
19
  },
20
20
  {
21
21
  "name": "<source-size-value>",
22
22
  "type": "type",
23
- "value": "<length>"
23
+ "value": "<length> | auto"
24
24
  }
25
25
  ]
26
26
  }
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.5.8",
4
+ "version": "6.5.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -6,12 +6,12 @@
6
6
  "properties": [
7
7
  {
8
8
  "name": "scroll-timeline-name",
9
- "value": "none | <custom-ident>#",
9
+ "value": "[ none | <dashed-ident> ]#",
10
10
  "initial": "none",
11
11
  "appliesTo": "all elements",
12
12
  "inherited": "no",
13
13
  "percentages": "n/a",
14
- "computedValue": "the keyword none or a list of <custom-ident>s",
14
+ "computedValue": "the keyword none or a list of CSS identifiers",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "not animatable",
17
17
  "styleDeclaration": [
@@ -21,7 +21,7 @@
21
21
  },
22
22
  {
23
23
  "name": "scroll-timeline-axis",
24
- "value": "[ block | inline | vertical | horizontal ]#",
24
+ "value": "[ block | inline | x | y ]#",
25
25
  "initial": "block",
26
26
  "appliesTo": "all elements",
27
27
  "inherited": "no",
@@ -43,16 +43,16 @@
43
43
  "value": "inline"
44
44
  },
45
45
  {
46
- "name": "vertical",
47
- "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
46
+ "name": "x",
47
+ "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
48
48
  "type": "value",
49
- "value": "vertical"
49
+ "value": "x"
50
50
  },
51
51
  {
52
- "name": "horizontal",
53
- "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
52
+ "name": "y",
53
+ "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
54
54
  "type": "value",
55
- "value": "horizontal"
55
+ "value": "y"
56
56
  },
57
57
  {
58
58
  "name": "nearest",
@@ -78,44 +78,9 @@
78
78
  "scrollTimelineAxis"
79
79
  ]
80
80
  },
81
- {
82
- "name": "scroll-timeline-attachment",
83
- "value": "[ local | defer | ancestor ]#",
84
- "initial": "local",
85
- "appliesTo": "all elements",
86
- "inherited": "no",
87
- "percentages": "n/a",
88
- "computedValue": "a list of the keywords specified",
89
- "canonicalOrder": "per grammar",
90
- "animationType": "not animatable",
91
- "values": [
92
- {
93
- "name": "local",
94
- "prose": "This scroll progress timeline name attaches to the corresponding scroll progress timeline defined on this box.",
95
- "type": "value",
96
- "value": "local"
97
- },
98
- {
99
- "name": "defer",
100
- "prose": "This scroll progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a scroll progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (scroll container source and axis) to its descendants. If more than one matching descendant scroll progress timeline exists, or if no such timeline exists, then the timeline name has no attachment, and represents an inactive timeline. Should it instead be ignored (be invisible to lookup)? (This might make it harder to implement.) If multiple, should it attach instead to the last declared timeline (in tree order) rather than invalidating the attachment?",
101
- "type": "value",
102
- "value": "defer"
103
- },
104
- {
105
- "name": "ancestor",
106
- "prose": "This scroll progress timeline definition, attaches to the closest matching scroll progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
107
- "type": "value",
108
- "value": "ancestor"
109
- }
110
- ],
111
- "styleDeclaration": [
112
- "scroll-timeline-attachment",
113
- "scrollTimelineAttachment"
114
- ]
115
- },
116
81
  {
117
82
  "name": "scroll-timeline",
118
- "value": "[ <'scroll-timeline-name'> [ <'scroll-timeline-axis'> || <'scroll-timeline-attachment'> ]? ]#",
83
+ "value": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
119
84
  "initial": "see individual properties",
120
85
  "appliesTo": "all elements",
121
86
  "inherited": "no",
@@ -130,12 +95,12 @@
130
95
  },
131
96
  {
132
97
  "name": "view-timeline-name",
133
- "value": "none | <custom-ident>#",
98
+ "value": "[ none | <dashed-ident> ]#",
134
99
  "initial": "none",
135
100
  "appliesTo": "all elements",
136
101
  "inherited": "no",
137
102
  "percentages": "n/a",
138
- "computedValue": "the keyword none or a list of <custom-ident>s",
103
+ "computedValue": "the keyword none or a list of CSS identifiers",
139
104
  "canonicalOrder": "per grammar",
140
105
  "animationType": "not animatable",
141
106
  "styleDeclaration": [
@@ -145,7 +110,7 @@
145
110
  },
146
111
  {
147
112
  "name": "view-timeline-axis",
148
- "value": "[ block | inline | vertical | horizontal ]#",
113
+ "value": "[ block | inline | x | y ]#",
149
114
  "initial": "block",
150
115
  "appliesTo": "all elements",
151
116
  "inherited": "no",
@@ -167,16 +132,16 @@
167
132
  "value": "inline"
168
133
  },
169
134
  {
170
- "name": "vertical",
171
- "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
135
+ "name": "x",
136
+ "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
172
137
  "type": "value",
173
- "value": "vertical"
138
+ "value": "x"
174
139
  },
175
140
  {
176
- "name": "horizontal",
177
- "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
141
+ "name": "y",
142
+ "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
178
143
  "type": "value",
179
- "value": "horizontal"
144
+ "value": "y"
180
145
  },
181
146
  {
182
147
  "name": "nearest",
@@ -231,44 +196,9 @@
231
196
  "viewTimelineInset"
232
197
  ]
233
198
  },
234
- {
235
- "name": "view-timeline-attachment",
236
- "value": "[ local | defer | ancestor ]#",
237
- "initial": "local",
238
- "appliesTo": "all elements",
239
- "inherited": "no",
240
- "percentages": "n/a",
241
- "computedValue": "a list of the keywords specified",
242
- "canonicalOrder": "per grammar",
243
- "animationType": "not animatable",
244
- "values": [
245
- {
246
- "name": "local",
247
- "prose": "This view progress timeline name attaches to the corresponding view progress timeline defined on this box.",
248
- "type": "value",
249
- "value": "local"
250
- },
251
- {
252
- "name": "defer",
253
- "prose": "This view progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a view progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (subject, scroll container source, axis, and visibility range) to its descendants. If more than one matching descendant view progress timeline exists, or if no such timeline exists, then this timeline name has no attachment, and represents an inactive timeline.",
254
- "type": "value",
255
- "value": "defer"
256
- },
257
- {
258
- "name": "ancestor",
259
- "prose": "This view progress timeline definition attaches to the closest matching view progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
260
- "type": "value",
261
- "value": "ancestor"
262
- }
263
- ],
264
- "styleDeclaration": [
265
- "view-timeline-attachment",
266
- "viewTimelineAttachment"
267
- ]
268
- },
269
199
  {
270
200
  "name": "view-timeline",
271
- "value": "[ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-attachment'> ]? ]#",
201
+ "value": "[ <'view-timeline-name'> <'view-timeline-axis'>? ]#",
272
202
  "initial": "see individual properties",
273
203
  "appliesTo": "all elements",
274
204
  "inherited": "see individual properties",
@@ -365,6 +295,35 @@
365
295
  "animation-range-end",
366
296
  "animationRangeEnd"
367
297
  ]
298
+ },
299
+ {
300
+ "name": "timeline-scope",
301
+ "value": "none | <dashed-ident>#",
302
+ "initial": "none",
303
+ "appliesTo": "all elements",
304
+ "inherited": "no",
305
+ "percentages": "n/a",
306
+ "computedValue": "the keyword none or a list of CSS identifiers",
307
+ "canonicalOrder": "per grammar",
308
+ "animationType": "not animatable",
309
+ "values": [
310
+ {
311
+ "name": "none",
312
+ "prose": "No changes in timeline name scope.",
313
+ "type": "value",
314
+ "value": "none"
315
+ },
316
+ {
317
+ "name": "<dashed-ident>",
318
+ "prose": "Declares the name of a matching named timeline defined by a descendant—whose scope is not already explicitly declared by a descendant using timeline-scope—to be in scope for this element and its descendants. If no such timeline exists, or if more than one such timeline exists, instead declares an inactive timeline with the specified name.",
319
+ "type": "value",
320
+ "value": "<dashed-ident>"
321
+ }
322
+ ],
323
+ "styleDeclaration": [
324
+ "timeline-scope",
325
+ "timelineScope"
326
+ ]
368
327
  }
369
328
  ],
370
329
  "atrules": [],
@@ -389,16 +348,16 @@
389
348
  "value": "inline"
390
349
  },
391
350
  {
392
- "name": "vertical",
393
- "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
351
+ "name": "x",
352
+ "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
394
353
  "type": "value",
395
- "value": "vertical"
354
+ "value": "x"
396
355
  },
397
356
  {
398
- "name": "horizontal",
399
- "prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
357
+ "name": "y",
358
+ "prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
400
359
  "type": "value",
401
- "value": "horizontal"
360
+ "value": "y"
402
361
  },
403
362
  {
404
363
  "name": "nearest",
@@ -423,7 +382,7 @@
423
382
  {
424
383
  "name": "<axis>",
425
384
  "type": "type",
426
- "value": "block | inline | vertical | horizontal"
385
+ "value": "block | inline | x | y"
427
386
  },
428
387
  {
429
388
  "name": "<scroller>",