@webref/css 6.21.2 → 6.23.0
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.json +16 -8
- package/README.md +1 -1
- package/css-borders.json +79 -73
- package/css-color-5.json +0 -12
- package/css-color-hdr.json +0 -6
- package/css-color.json +71 -0
- package/css-forms.json +36 -18
- package/css-gcpm-4.json +6 -3
- package/css-mixins.json +7 -1
- package/css-multicol.json +2 -1
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +24 -10
- package/css-overflow-5.json +6 -3
- package/css-position-4.json +2 -1
- package/css-pseudo.json +26 -13
- package/css-scoping.json +4 -2
- package/css-scroll-snap-2.json +10 -5
- package/css-shapes-2.json +1 -185
- package/css-shapes.json +184 -0
- package/css-text-4.json +1 -1
- package/css-values-5.json +236 -33
- package/css-view-transitions-2.json +2 -1
- package/css-view-transitions.json +2 -1
- package/package.json +1 -1
- package/pointer-animations.json +282 -0
- package/selectors-5.json +2 -1
- package/selectors.json +116 -58
- package/webvtt.json +4 -2
- package/webxr-dom-overlays.json +2 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "Pointer-driven Animations",
|
|
4
|
+
"url": "https://drafts.csswg.org/pointer-animations-1/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "pointer-timeline-name",
|
|
9
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-name",
|
|
10
|
+
"value": "[ none | <dashed-ident> ]#",
|
|
11
|
+
"initial": "none",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "the keyword none or a list of CSS identifiers",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "not animatable",
|
|
18
|
+
"styleDeclaration": [
|
|
19
|
+
"pointer-timeline-name",
|
|
20
|
+
"pointerTimelineName"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "pointer-timeline-axis",
|
|
25
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-axis",
|
|
26
|
+
"value": "[ block | inline | x | y ]#",
|
|
27
|
+
"initial": "block",
|
|
28
|
+
"appliesTo": "all elements",
|
|
29
|
+
"inherited": "no",
|
|
30
|
+
"percentages": "n/a",
|
|
31
|
+
"computedValue": "a list of the keywords specified",
|
|
32
|
+
"canonicalOrder": "per grammar",
|
|
33
|
+
"animationType": "not animatable",
|
|
34
|
+
"values": [
|
|
35
|
+
{
|
|
36
|
+
"name": "block",
|
|
37
|
+
"prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
|
|
38
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "block"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "inline",
|
|
44
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
|
|
45
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
|
|
46
|
+
"type": "value",
|
|
47
|
+
"value": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "x",
|
|
51
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
|
|
52
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
|
|
53
|
+
"type": "value",
|
|
54
|
+
"value": "x"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "y",
|
|
58
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
|
|
59
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "y"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "self",
|
|
65
|
+
"prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
|
|
66
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
|
|
67
|
+
"type": "value",
|
|
68
|
+
"value": "self"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "nearest",
|
|
72
|
+
"prose": "Specifies to use the nearest element’s parent box as the pointer range.",
|
|
73
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
|
|
74
|
+
"type": "value",
|
|
75
|
+
"value": "nearest"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "root",
|
|
79
|
+
"prose": "Specifies to use the root element’s principal box as the pointer range.",
|
|
80
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
|
|
81
|
+
"type": "value",
|
|
82
|
+
"value": "root"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"styleDeclaration": [
|
|
86
|
+
"pointer-timeline-axis",
|
|
87
|
+
"pointerTimelineAxis"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "pointer-timeline",
|
|
92
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline",
|
|
93
|
+
"value": "[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#",
|
|
94
|
+
"initial": "see individual properties",
|
|
95
|
+
"appliesTo": "all elements",
|
|
96
|
+
"inherited": "see individual properties",
|
|
97
|
+
"percentages": "see individual properties",
|
|
98
|
+
"computedValue": "see individual properties",
|
|
99
|
+
"animationType": "see individual properties",
|
|
100
|
+
"canonicalOrder": "per grammar",
|
|
101
|
+
"styleDeclaration": [
|
|
102
|
+
"pointer-timeline",
|
|
103
|
+
"pointerTimeline"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "animation-range-center",
|
|
108
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#propdef-animation-range-center",
|
|
109
|
+
"value": "[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",
|
|
110
|
+
"initial": "normal",
|
|
111
|
+
"appliesTo": "all elements",
|
|
112
|
+
"inherited": "no",
|
|
113
|
+
"percentages": "relative to the corresponding dimension of the specified timeline range center subject, else relative to the start of the animation attachment range",
|
|
114
|
+
"computedValue": "list, each item either the keyword normal or a timeline range center subject and a length-percentage value",
|
|
115
|
+
"canonicalOrder": "per grammar",
|
|
116
|
+
"animationType": "not animatable",
|
|
117
|
+
"values": [
|
|
118
|
+
{
|
|
119
|
+
"name": "normal",
|
|
120
|
+
"prose": "The 50% progress point of the animation’s active interval is at the center of the animation attachment range.",
|
|
121
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-normal",
|
|
122
|
+
"type": "value",
|
|
123
|
+
"value": "normal"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "<length-percentage>",
|
|
127
|
+
"prose": "The 50% progress point of the animation’s active interval is at the specified point on the timeline measuring from the start of the animation attachment range. Percentages are relative to the size of the animation attachment range.",
|
|
128
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-length-percentage",
|
|
129
|
+
"type": "value",
|
|
130
|
+
"value": "<length-percentage>"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "<timeline-range-name> <length-percentage>?",
|
|
134
|
+
"prose": "The 50% progress point of the animation’s active interval is at the specified point relative to the start padding edge of the specified animation range center subject’s principal box. If the <length-percentage> is omitted, it defaults to 50%.",
|
|
135
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-timeline-range-name-length-percentage",
|
|
136
|
+
"type": "value",
|
|
137
|
+
"value": "<timeline-range-name> <length-percentage>?"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"styleDeclaration": [
|
|
141
|
+
"animation-range-center",
|
|
142
|
+
"animationRangeCenter"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"atrules": [],
|
|
147
|
+
"selectors": [],
|
|
148
|
+
"values": [
|
|
149
|
+
{
|
|
150
|
+
"name": "pointer()",
|
|
151
|
+
"prose": "The pointer() functional notation can be used as a <single-animation-timeline> value in animation-timeline and specifies a pointer progress timeline. Its syntax is",
|
|
152
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#funcdef-pointer",
|
|
153
|
+
"type": "function",
|
|
154
|
+
"value": "pointer( [ <pointer-source> || <pointer-axis> ]? )",
|
|
155
|
+
"values": [
|
|
156
|
+
{
|
|
157
|
+
"name": "block",
|
|
158
|
+
"prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
|
|
159
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "block"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "inline",
|
|
165
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
|
|
166
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "inline"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "x",
|
|
172
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
|
|
173
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "x"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "y",
|
|
179
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
|
|
180
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
|
|
181
|
+
"type": "value",
|
|
182
|
+
"value": "y"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "self",
|
|
186
|
+
"prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
|
|
187
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
|
|
188
|
+
"type": "value",
|
|
189
|
+
"value": "self"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "nearest",
|
|
193
|
+
"prose": "Specifies to use the nearest element’s parent box as the pointer range.",
|
|
194
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
|
|
195
|
+
"type": "value",
|
|
196
|
+
"value": "nearest"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "root",
|
|
200
|
+
"prose": "Specifies to use the root element’s principal box as the pointer range.",
|
|
201
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
|
|
202
|
+
"type": "value",
|
|
203
|
+
"value": "root"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "<pointer-axis>",
|
|
209
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-axis",
|
|
210
|
+
"type": "type",
|
|
211
|
+
"value": "block | inline | x | y"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "<pointer-source>",
|
|
215
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-source",
|
|
216
|
+
"type": "type",
|
|
217
|
+
"value": "root | nearest | self"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "<timeline-range-center-subject>",
|
|
221
|
+
"prose": "The animation range center subject is the element whose principal box is the range relative to which the center of the active range is calculated, and is represented by the <timeline-range-center-subject> value type, which indicates a CSS identifier representing one of the following:",
|
|
222
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-timeline-range-center-subject",
|
|
223
|
+
"type": "type"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"warnings": [
|
|
227
|
+
{
|
|
228
|
+
"msg": "Dangling value",
|
|
229
|
+
"name": "fill",
|
|
230
|
+
"prose": "Represents the full range of the pointer progress timeline: 0% progress represents the pointer position over the start padding edge of the element’s principal box. 100% progress represents the pointer position over the end padding edge of the element’s principal box.",
|
|
231
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fill",
|
|
232
|
+
"type": "value",
|
|
233
|
+
"value": "fill",
|
|
234
|
+
"for": "animation-timeline-range"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"msg": "Dangling value",
|
|
238
|
+
"name": "fit",
|
|
239
|
+
"prose": "Represents a range that is the same size as fill, but its points of 0% and 100% progress are offset according to the value of animation-range-center property, so that the point of 50% progress remains at the center of the range.",
|
|
240
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fit",
|
|
241
|
+
"type": "value",
|
|
242
|
+
"value": "fit",
|
|
243
|
+
"for": "animation-timeline-range"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"msg": "Dangling value",
|
|
247
|
+
"name": "cover",
|
|
248
|
+
"prose": "Represents the largest possible range of the pointer progress timeline that fully covers the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is greater than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
|
|
249
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-cover",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "cover",
|
|
252
|
+
"for": "animation-timeline-range"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"msg": "Dangling value",
|
|
256
|
+
"name": "contain",
|
|
257
|
+
"prose": "Represents the largest possible range that is fully contained within the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is smaller than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
|
|
258
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-contain",
|
|
259
|
+
"type": "value",
|
|
260
|
+
"value": "contain",
|
|
261
|
+
"for": "animation-timeline-range"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"msg": "Dangling value",
|
|
265
|
+
"name": "source",
|
|
266
|
+
"prose": "The element whose pointer offset drives the progress of the timeline.",
|
|
267
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-source",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "source",
|
|
270
|
+
"for": "timeline-range-center-subject"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"msg": "Dangling value",
|
|
274
|
+
"name": "target",
|
|
275
|
+
"prose": "The element to which the animation is applied.",
|
|
276
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-target",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "target",
|
|
279
|
+
"for": "timeline-range-center-subject"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
package/selectors-5.json
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": ":local-link",
|
|
11
11
|
"prose": "The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site and to differentiate site-internal versus site-external links.",
|
|
12
|
-
"href": "https://drafts.csswg.org/selectors-5/#local-link-pseudo"
|
|
12
|
+
"href": "https://drafts.csswg.org/selectors-5/#local-link-pseudo",
|
|
13
|
+
"value": ":local-link"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"name": ":state()",
|