@webref/css 6.23.22 → 6.23.24
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 +0 -12
- package/css-conditional-5.json +7 -1
- package/css-fonts-5.json +10 -1
- package/css-fonts.json +115 -22
- package/css-gaps.json +14 -14
- package/css-grid-3.json +28 -32
- package/{css-scoping.json → css-shadow.json} +13 -7
- package/css-transforms-2.json +1 -1
- package/fill-stroke.json +67 -67
- package/motion.json +34 -34
- package/package.json +1 -1
- package/pointer-animations.json +17 -19
- package/scroll-animations.json +9 -0
- package/css-shadow-parts.json +0 -17
package/motion.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spec": {
|
|
3
3
|
"title": "Motion Path Module Level 1",
|
|
4
|
-
"url": "https://drafts.
|
|
4
|
+
"url": "https://drafts.csswg.org/motion-1/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "offset-path",
|
|
9
|
-
"href": "https://drafts.
|
|
9
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset-path",
|
|
10
10
|
"value": "none | <offset-path> || <coord-box>",
|
|
11
11
|
"initial": "none",
|
|
12
12
|
"appliesTo": "transformable elements",
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "none",
|
|
22
22
|
"prose": "The element does not have an offset transform.",
|
|
23
|
-
"href": "https://drafts.
|
|
23
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-none",
|
|
24
24
|
"type": "value",
|
|
25
25
|
"value": "none"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "<offset-path> || <coord-box>",
|
|
29
|
-
"prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 §
|
|
30
|
-
"href": "https://drafts.
|
|
29
|
+
"prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 2 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
|
|
30
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-offset-path--coord-box",
|
|
31
31
|
"type": "value",
|
|
32
32
|
"value": "<offset-path> || <coord-box>"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "<ray()>",
|
|
36
36
|
"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.",
|
|
37
|
-
"href": "https://drafts.
|
|
37
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-ray",
|
|
38
38
|
"type": "value",
|
|
39
39
|
"value": "<ray()>"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "<url>",
|
|
43
43
|
"prose": "A URL reference to an SVG shape element. The offset path is the referenced element’s equivalent path. [SVG2] If the URL does not reference a shape element (because it references a different element, or resolves to a non-SVG document, or doesn’t resolve at all, etc) this behaves as path(\"m 0 0\") (a <basic-shape>) instead. The <coord-box> defines the viewport and user coordinate system for the shape element, with the origin (the 0,0 point) at the top left corner, and units being 1px in size.",
|
|
44
|
-
"href": "https://drafts.
|
|
44
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-url",
|
|
45
45
|
"type": "value",
|
|
46
46
|
"value": "<url>"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "<basic-shape>",
|
|
50
50
|
"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>.",
|
|
51
|
-
"href": "https://drafts.
|
|
51
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-basic-shape",
|
|
52
52
|
"type": "value",
|
|
53
53
|
"value": "<basic-shape>"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "<coord-box>",
|
|
57
57
|
"prose": "Defines the box that the <offset-path> sizes into. In CSS contexts, the boxes being referenced are from the element that establishes the containing block for this element. In SVG contexts, all values behave as view-box.",
|
|
58
|
-
"href": "https://drafts.
|
|
58
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-path-coord-box",
|
|
59
59
|
"type": "value",
|
|
60
60
|
"value": "<coord-box>"
|
|
61
61
|
}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "offset-distance",
|
|
70
|
-
"href": "https://drafts.
|
|
70
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset-distance",
|
|
71
71
|
"value": "<length-percentage>",
|
|
72
72
|
"initial": "0",
|
|
73
73
|
"appliesTo": "transformable elements",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "offset-position",
|
|
87
|
-
"href": "https://drafts.
|
|
87
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset-position",
|
|
88
88
|
"value": "normal | auto | <position>",
|
|
89
89
|
"initial": "normal",
|
|
90
90
|
"appliesTo": "transformable elements",
|
|
@@ -98,21 +98,21 @@
|
|
|
98
98
|
{
|
|
99
99
|
"name": "normal",
|
|
100
100
|
"prose": "The element does not have an offset starting position.",
|
|
101
|
-
"href": "https://drafts.
|
|
101
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-position-normal",
|
|
102
102
|
"type": "value",
|
|
103
103
|
"value": "normal"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"name": "auto",
|
|
107
107
|
"prose": "The offset starting position is the top-left corner of the box.",
|
|
108
|
-
"href": "https://drafts.
|
|
108
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-position-auto",
|
|
109
109
|
"type": "value",
|
|
110
110
|
"value": "auto"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"name": "<position>",
|
|
114
114
|
"prose": "The offset starting position is the result of using the <position> to position a 0x0 object area within the box’s containing block.",
|
|
115
|
-
"href": "https://drafts.
|
|
115
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-position-position",
|
|
116
116
|
"type": "value",
|
|
117
117
|
"value": "<position>"
|
|
118
118
|
}
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"name": "offset-anchor",
|
|
127
|
-
"href": "https://drafts.
|
|
127
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset-anchor",
|
|
128
128
|
"value": "auto | <position>",
|
|
129
129
|
"initial": "auto",
|
|
130
130
|
"appliesTo": "transformable elements",
|
|
@@ -138,14 +138,14 @@
|
|
|
138
138
|
{
|
|
139
139
|
"name": "auto",
|
|
140
140
|
"prose": "The anchor point is the same as the point indicated by transform-origin. Specifically, the computed value of transform-origin is resolved as a <position> against the element’s reference box.",
|
|
141
|
-
"href": "https://drafts.
|
|
141
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-anchor-auto",
|
|
142
142
|
"type": "value",
|
|
143
143
|
"value": "auto"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"name": "<position>",
|
|
147
147
|
"prose": "The anchor point is the result of resolving the <position> against the element’s reference box.",
|
|
148
|
-
"href": "https://drafts.
|
|
148
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-anchor-position",
|
|
149
149
|
"type": "value",
|
|
150
150
|
"value": "<position>"
|
|
151
151
|
}
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"name": "offset-rotate",
|
|
160
|
-
"href": "https://drafts.
|
|
160
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset-rotate",
|
|
161
161
|
"value": "[ auto | reverse ] || <angle>",
|
|
162
162
|
"initial": "auto",
|
|
163
163
|
"appliesTo": "transformable elements",
|
|
@@ -171,21 +171,21 @@
|
|
|
171
171
|
{
|
|
172
172
|
"name": "auto",
|
|
173
173
|
"prose": "The offset transform will have a rotation component equal to the difference between the offset path’s direction at the offset position and the direction of the positive X axis (that is, a line going toward the right). See SVG’s direction of a path for details on how to calculate this. If specified with an <angle>, the angle is added to the rotation component.",
|
|
174
|
-
"href": "https://drafts.
|
|
174
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-rotate-auto",
|
|
175
175
|
"type": "value",
|
|
176
176
|
"value": "auto"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "reverse",
|
|
180
180
|
"prose": "Identical to auto, but adds an additional 180deg to the rotation.",
|
|
181
|
-
"href": "https://drafts.
|
|
181
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-rotate-reverse",
|
|
182
182
|
"type": "value",
|
|
183
183
|
"value": "reverse"
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
"name": "<angle>",
|
|
187
187
|
"prose": "When specified on its own, adds a rotation component to the offset transform of the specified angle. (That is, offset-rotate: 45deg; is similar to transform: rotate(45deg); it’s just ordered to be part of the offset transform.)",
|
|
188
|
-
"href": "https://drafts.
|
|
188
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-offset-rotate-angle",
|
|
189
189
|
"type": "value",
|
|
190
190
|
"value": "<angle>"
|
|
191
191
|
}
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
"name": "offset",
|
|
200
|
-
"href": "https://drafts.
|
|
200
|
+
"href": "https://drafts.csswg.org/motion-1/#propdef-offset",
|
|
201
201
|
"value": "[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",
|
|
202
202
|
"initial": "see individual properties",
|
|
203
203
|
"appliesTo": "transformable elements",
|
|
@@ -216,41 +216,41 @@
|
|
|
216
216
|
"values": [
|
|
217
217
|
{
|
|
218
218
|
"name": "<offset-path>",
|
|
219
|
-
"href": "https://drafts.
|
|
219
|
+
"href": "https://drafts.csswg.org/motion-1/#typedef-offset-path",
|
|
220
220
|
"type": "type",
|
|
221
221
|
"value": "<ray()> | <url> | <basic-shape>"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"name": "ray()",
|
|
225
225
|
"value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
|
|
226
|
-
"href": "https://drafts.
|
|
226
|
+
"href": "https://drafts.csswg.org/motion-1/#funcdef-ray",
|
|
227
227
|
"type": "function",
|
|
228
228
|
"values": [
|
|
229
229
|
{
|
|
230
230
|
"name": "<angle>",
|
|
231
231
|
"prose": "The offset path is a single line segment that starts from the offset starting position and proceeds in the direction defined by the specified <angle>. (Its length is determined by the other arguments.) As with gradient functions, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation.",
|
|
232
|
-
"href": "https://drafts.
|
|
232
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-ray-angle",
|
|
233
233
|
"type": "value",
|
|
234
234
|
"value": "<angle>"
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"name": "<ray-size>",
|
|
238
238
|
"prose": "Specifies the length of the offset path (the distance between the offset-distance: 0% and offset-distance: 100% points) relative to the containing box. If no <ray-size> is specified it defaults to closest-side. Individual keywords are:",
|
|
239
|
-
"href": "https://drafts.
|
|
239
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-ray-ray-size",
|
|
240
240
|
"type": "value",
|
|
241
241
|
"value": "<ray-size>"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "contain",
|
|
245
245
|
"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.",
|
|
246
|
-
"href": "https://drafts.
|
|
246
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-ray-contain",
|
|
247
247
|
"type": "value",
|
|
248
248
|
"value": "contain"
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"name": "at <position>",
|
|
252
252
|
"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.",
|
|
253
|
-
"href": "https://drafts.
|
|
253
|
+
"href": "https://drafts.csswg.org/motion-1/#valdef-ray-at-position",
|
|
254
254
|
"type": "value",
|
|
255
255
|
"value": "at <position>"
|
|
256
256
|
}
|
|
@@ -258,42 +258,42 @@
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"name": "<ray-size>",
|
|
261
|
-
"href": "https://drafts.
|
|
261
|
+
"href": "https://drafts.csswg.org/motion-1/#typedef-ray-size",
|
|
262
262
|
"type": "type",
|
|
263
263
|
"value": "closest-side | closest-corner | farthest-side | farthest-corner | sides",
|
|
264
264
|
"values": [
|
|
265
265
|
{
|
|
266
266
|
"name": "closest-side",
|
|
267
267
|
"prose": "The distance from the ray’s starting point to whichever side of the containing block is closest.",
|
|
268
|
-
"href": "https://drafts.
|
|
268
|
+
"href": "https://drafts.csswg.org/motion-1/#size-closest-side",
|
|
269
269
|
"type": "value",
|
|
270
270
|
"value": "closest-side"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
"name": "closest-corner",
|
|
274
274
|
"prose": "The distance from the ray’s starting point to whichever corner of the containing block is closest.",
|
|
275
|
-
"href": "https://drafts.
|
|
275
|
+
"href": "https://drafts.csswg.org/motion-1/#size-closest-corner",
|
|
276
276
|
"type": "value",
|
|
277
277
|
"value": "closest-corner"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
"name": "farthest-side",
|
|
281
281
|
"prose": "The distance from the ray’s starting point to whichever side of the containing block is farthest.",
|
|
282
|
-
"href": "https://drafts.
|
|
282
|
+
"href": "https://drafts.csswg.org/motion-1/#size-farthest-side",
|
|
283
283
|
"type": "value",
|
|
284
284
|
"value": "farthest-side"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
"name": "farthest-corner",
|
|
288
288
|
"prose": "The distance from the ray’s starting point to whichever corner of the containing block is farthest.",
|
|
289
|
-
"href": "https://drafts.
|
|
289
|
+
"href": "https://drafts.csswg.org/motion-1/#size-farthest-corner",
|
|
290
290
|
"type": "value",
|
|
291
291
|
"value": "farthest-corner"
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"name": "sides",
|
|
295
295
|
"prose": "The distance from the ray’s starting point to the point where the offset path intersects the containing block’s boundary. If the ray’s starting point is on the containing block’s boundary, or outside its bounds entirely, the distance is zero.",
|
|
296
|
-
"href": "https://drafts.
|
|
296
|
+
"href": "https://drafts.csswg.org/motion-1/#size-sides",
|
|
297
297
|
"type": "value",
|
|
298
298
|
"value": "sides"
|
|
299
299
|
}
|
package/package.json
CHANGED
package/pointer-animations.json
CHANGED
|
@@ -220,7 +220,23 @@
|
|
|
220
220
|
"name": "<timeline-range-center-subject>",
|
|
221
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
222
|
"href": "https://drafts.csswg.org/pointer-animations-1/#typedef-timeline-range-center-subject",
|
|
223
|
-
"type": "type"
|
|
223
|
+
"type": "type",
|
|
224
|
+
"values": [
|
|
225
|
+
{
|
|
226
|
+
"name": "source",
|
|
227
|
+
"prose": "The element whose pointer offset drives the progress of the timeline.",
|
|
228
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-source",
|
|
229
|
+
"type": "value",
|
|
230
|
+
"value": "source"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "target",
|
|
234
|
+
"prose": "The element to which the animation is applied.",
|
|
235
|
+
"href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-target",
|
|
236
|
+
"type": "value",
|
|
237
|
+
"value": "target"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
224
240
|
}
|
|
225
241
|
],
|
|
226
242
|
"warnings": [
|
|
@@ -259,24 +275,6 @@
|
|
|
259
275
|
"type": "value",
|
|
260
276
|
"value": "contain",
|
|
261
277
|
"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
278
|
}
|
|
281
279
|
]
|
|
282
280
|
}
|
package/scroll-animations.json
CHANGED
|
@@ -514,6 +514,15 @@
|
|
|
514
514
|
"type": "value",
|
|
515
515
|
"value": "exit-crossing",
|
|
516
516
|
"for": "animation-timeline-range"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"msg": "Dangling value",
|
|
520
|
+
"name": "scroll",
|
|
521
|
+
"prose": "Represents the full range of the scroll container on which the view progress timeline is defined. 0% progress represents the startmost scroll position of the scroll container underlying the view progress timeline. 100% progress represents the endmost scroll position of the scroll container underlying the view progress timeline.",
|
|
522
|
+
"href": "https://drafts.csswg.org/scroll-animations-1/#valdef-animation-timeline-range-scroll",
|
|
523
|
+
"type": "value",
|
|
524
|
+
"value": "scroll",
|
|
525
|
+
"for": "animation-timeline-range"
|
|
517
526
|
}
|
|
518
527
|
]
|
|
519
528
|
}
|
package/css-shadow-parts.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Shadow Parts Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-shadow-parts-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [],
|
|
8
|
-
"selectors": [
|
|
9
|
-
{
|
|
10
|
-
"name": "::part()",
|
|
11
|
-
"prose": "The ::part() pseudo-element allows you to select elements that have been exposed via a part attribute. The syntax is:",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-shadow-parts-1/#selectordef-part",
|
|
13
|
-
"value": "::part( <ident>+ )"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"values": []
|
|
17
|
-
}
|