@webref/css 6.5.7 → 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.
- package/css-anchor-position.json +82 -53
- package/css-animations-2.json +4 -4
- package/css-color.json +5 -5
- package/css-counter-styles.json +4 -4
- package/css-scroll-snap-2.json +8 -0
- package/css-scrollbars.json +1 -1
- package/css-ui.json +1 -16
- package/css-view-transitions.json +8 -7
- package/html.json +2 -2
- package/motion.json +17 -5
- package/package.json +1 -1
- package/scroll-animations.json +56 -97
package/css-anchor-position.json
CHANGED
|
@@ -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
|
|
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": "
|
|
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": "
|
|
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": "
|
|
163
|
-
"prose": "
|
|
185
|
+
"name": "top",
|
|
186
|
+
"prose": "Refers to the specified side of the anchor element.",
|
|
164
187
|
"type": "value",
|
|
165
|
-
"value": "
|
|
188
|
+
"value": "top"
|
|
166
189
|
},
|
|
167
190
|
{
|
|
168
191
|
"name": "right",
|
|
169
|
-
"prose": "
|
|
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": "
|
|
175
|
-
"prose": "
|
|
197
|
+
"name": "bottom",
|
|
198
|
+
"prose": "Refers to the specified side of the anchor element.",
|
|
176
199
|
"type": "value",
|
|
177
|
-
"value": "
|
|
200
|
+
"value": "bottom"
|
|
178
201
|
},
|
|
179
202
|
{
|
|
180
|
-
"name": "
|
|
181
|
-
"prose": "
|
|
203
|
+
"name": "left",
|
|
204
|
+
"prose": "Refers to the specified side of the anchor element.",
|
|
182
205
|
"type": "value",
|
|
183
|
-
"value": "
|
|
206
|
+
"value": "left"
|
|
184
207
|
},
|
|
185
208
|
{
|
|
186
209
|
"name": "start",
|
|
187
|
-
"prose": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
}
|
package/css-animations-2.json
CHANGED
|
@@ -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
|
|
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 | <
|
|
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 §
|
|
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": "<
|
|
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
|
|
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
|
|
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": "
|
|
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": "
|
|
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
|
}
|
package/css-counter-styles.json
CHANGED
|
@@ -63,19 +63,19 @@
|
|
|
63
63
|
"name": "negative",
|
|
64
64
|
"for": "@counter-style",
|
|
65
65
|
"value": "<symbol> <symbol>?",
|
|
66
|
-
"initial": "\"
|
|
66
|
+
"initial": "\"-\""
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "prefix",
|
|
70
70
|
"for": "@counter-style",
|
|
71
71
|
"value": "<symbol>",
|
|
72
|
-
"initial": "\"\"
|
|
72
|
+
"initial": "\"\""
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "suffix",
|
|
76
76
|
"for": "@counter-style",
|
|
77
77
|
"value": "<symbol>",
|
|
78
|
-
"initial": "\"
|
|
78
|
+
"initial": "\". \""
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "range",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"values": [
|
|
168
168
|
{
|
|
169
169
|
"name": "<counter-style-name>",
|
|
170
|
-
"prose": "<counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none. The <counter-style-name> is a tree-scoped name.",
|
|
170
|
+
"prose": "<counter-style-name> is a <custom-ident> that is not an ASCII case-insensitive match for none. When used here, to define a counter style, it also cannot be any of the non-overrideable counter-style names (in other uses that merely reference a counter style, such as the extend system, these are allowed). The <counter-style-name> is a tree-scoped name.",
|
|
171
171
|
"type": "type",
|
|
172
172
|
"values": [
|
|
173
173
|
{
|
package/css-scroll-snap-2.json
CHANGED
|
@@ -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",
|
package/css-scrollbars.json
CHANGED
package/css-ui.json
CHANGED
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
556
|
"name": "<compat-auto>",
|
|
557
|
-
"value": "searchfield | textarea |
|
|
557
|
+
"value": "searchfield | textarea | checkbox | radio | menulist | listbox | meter | progress-bar | button",
|
|
558
558
|
"type": "type"
|
|
559
559
|
},
|
|
560
560
|
{
|
|
@@ -567,16 +567,6 @@
|
|
|
567
567
|
"type": "value",
|
|
568
568
|
"value": "textarea"
|
|
569
569
|
},
|
|
570
|
-
{
|
|
571
|
-
"name": "push-button",
|
|
572
|
-
"type": "value",
|
|
573
|
-
"value": "push-button"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"name": "slider-horizontal",
|
|
577
|
-
"type": "value",
|
|
578
|
-
"value": "slider-horizontal"
|
|
579
|
-
},
|
|
580
570
|
{
|
|
581
571
|
"name": "checkbox",
|
|
582
572
|
"type": "value",
|
|
@@ -587,11 +577,6 @@
|
|
|
587
577
|
"type": "value",
|
|
588
578
|
"value": "radio"
|
|
589
579
|
},
|
|
590
|
-
{
|
|
591
|
-
"name": "square-button",
|
|
592
|
-
"type": "value",
|
|
593
|
-
"value": "square-button"
|
|
594
|
-
},
|
|
595
580
|
{
|
|
596
581
|
"name": "menulist",
|
|
597
582
|
"type": "value",
|
|
@@ -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
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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/motion.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "<ray()>",
|
|
33
|
-
"prose": "The offset path is a line extending from the
|
|
33
|
+
"prose": "The offset path is a line extending from the origin at some angle. See § 2.1.1 The ray() Function for details. The <coord-box> provides the reference box for the ray.",
|
|
34
34
|
"type": "value",
|
|
35
35
|
"value": "<ray()>"
|
|
36
36
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "<basic-shape>",
|
|
45
|
-
"prose": "The offset path is the equivalent path of the <basic-shape> function.
|
|
45
|
+
"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>.",
|
|
46
46
|
"type": "value",
|
|
47
47
|
"value": "<basic-shape>"
|
|
48
48
|
},
|
|
@@ -76,16 +76,22 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"name": "offset-position",
|
|
79
|
-
"value": "auto | <position>",
|
|
79
|
+
"value": "normal | auto | <position>",
|
|
80
80
|
"initial": "auto",
|
|
81
81
|
"appliesTo": "transformable elements",
|
|
82
82
|
"inherited": "no",
|
|
83
83
|
"percentages": "Refer to the size of containing block",
|
|
84
|
-
"computedValue": "The auto
|
|
84
|
+
"computedValue": "The normal or auto keywords, or a computed <position>",
|
|
85
85
|
"canonicalOrder": "per grammar",
|
|
86
86
|
"animationType": "by computed value",
|
|
87
87
|
"media": "visual",
|
|
88
88
|
"values": [
|
|
89
|
+
{
|
|
90
|
+
"name": "normal",
|
|
91
|
+
"prose": "The element does not have an offset starting position.",
|
|
92
|
+
"type": "value",
|
|
93
|
+
"value": "normal"
|
|
94
|
+
},
|
|
89
95
|
{
|
|
90
96
|
"name": "auto",
|
|
91
97
|
"prose": "The offset starting position is the top-left corner of the box.",
|
|
@@ -196,7 +202,7 @@
|
|
|
196
202
|
{
|
|
197
203
|
"name": "ray()",
|
|
198
204
|
"type": "function",
|
|
199
|
-
"value": "ray( <angle> && <ray-size>? && contain? )",
|
|
205
|
+
"value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
|
|
200
206
|
"values": [
|
|
201
207
|
{
|
|
202
208
|
"name": "<angle>",
|
|
@@ -215,6 +221,12 @@
|
|
|
215
221
|
"prose": "The length of the offset path is reduced so that the element stays within the containing block even at offset-distance: 100%. Specifically, the path’s length is reduced by half the width or half the height of the element’s border box, whichever is larger, and floored at zero.",
|
|
216
222
|
"type": "value",
|
|
217
223
|
"value": "contain"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "at <position>",
|
|
227
|
+
"prose": "Specifies the origin of the ray, where the ray’s line begins (the 0% position). It’s resolved by using the <position> to position a 0x0 object area within the box’s containing block. If omitted, it uses the offset starting position of the element, given by offset-position. If the element doesn’t have an offset starting position either, it behaves as at center.",
|
|
228
|
+
"type": "value",
|
|
229
|
+
"value": "at <position>"
|
|
218
230
|
}
|
|
219
231
|
]
|
|
220
232
|
},
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "scroll-timeline-name",
|
|
9
|
-
"value": "none | <
|
|
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
|
|
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 |
|
|
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": "
|
|
47
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
49
|
+
"value": "x"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
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'>
|
|
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 | <
|
|
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
|
|
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 |
|
|
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": "
|
|
171
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
138
|
+
"value": "x"
|
|
174
139
|
},
|
|
175
140
|
{
|
|
176
|
-
"name": "
|
|
177
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
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'>
|
|
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": "
|
|
393
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
354
|
+
"value": "x"
|
|
396
355
|
},
|
|
397
356
|
{
|
|
398
|
-
"name": "
|
|
399
|
-
"prose": "Specifies to use the measure of progress along the
|
|
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": "
|
|
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 |
|
|
385
|
+
"value": "block | inline | x | y"
|
|
427
386
|
},
|
|
428
387
|
{
|
|
429
388
|
"name": "<scroller>",
|