@webref/css 6.23.18 → 6.23.22
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 +10 -3
- package/SVG.json +4 -2
- package/compat.json +116 -58
- package/compositing.json +30 -30
- package/css-align.json +6 -3
- package/css-anchor-position.json +17 -6
- package/css-animations-2.json +40 -1
- package/css-borders.json +8 -8
- package/css-cascade-6.json +4 -2
- package/css-color.json +6 -3
- package/css-counter-styles.json +2 -1
- package/css-fonts.json +57 -26
- package/css-forms.json +0 -1
- package/css-gaps.json +358 -29
- package/css-grid-3.json +53 -32
- package/css-images-5.json +2 -2
- package/css-lists.json +2 -1
- package/css-masking.json +70 -70
- package/css-multicol.json +1 -1
- package/css-navigation.json +22 -4
- package/css-overflow-5.json +2 -1
- package/css-page.json +2 -1
- package/css-ruby.json +45 -48
- package/css-shapes.json +2 -1
- package/css-speech.json +38 -13
- package/css-syntax.json +14 -7
- package/css-transforms-2.json +2 -1
- package/css-transforms.json +1 -1
- package/css-transitions-2.json +1 -1
- package/css-ui.json +4 -2
- package/css-values-5.json +4 -4
- package/css-values.json +2 -1
- package/fill-stroke.json +67 -67
- package/filter-effects-2.json +2 -2
- package/filter-effects.json +48 -48
- package/package.json +1 -1
- package/pointer-animations.json +1 -1
- package/selectors-5.json +57 -0
- package/selectors.json +0 -63
package/fill-stroke.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spec": {
|
|
3
3
|
"title": "CSS Fill and Stroke Module Level 3",
|
|
4
|
-
"url": "https://drafts.
|
|
4
|
+
"url": "https://drafts.csswg.org/fill-stroke/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "fill-rule",
|
|
9
|
-
"href": "https://drafts.
|
|
9
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-rule",
|
|
10
10
|
"value": "nonzero | evenodd",
|
|
11
11
|
"initial": "nonzero",
|
|
12
12
|
"appliesTo": "SVG shapes",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "nonzero",
|
|
22
22
|
"prose": "This rule determines the “insideness” of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a path segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside. The effect of a nonzero fill rule on paths with self-intersections and enclosed subpaths.",
|
|
23
|
-
"href": "https://drafts.
|
|
23
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-rule-nonzero",
|
|
24
24
|
"type": "value",
|
|
25
25
|
"value": "nonzero"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "evenodd",
|
|
29
29
|
"prose": "This rule determines the “insideness” of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside. The effect of an evenodd fill rule on paths with self-intersections and enclosed subpaths.",
|
|
30
|
-
"href": "https://drafts.
|
|
30
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-rule-evenodd",
|
|
31
31
|
"type": "value",
|
|
32
32
|
"value": "evenodd"
|
|
33
33
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "fill-break",
|
|
42
|
-
"href": "https://drafts.
|
|
42
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-break",
|
|
43
43
|
"value": "bounding-box | slice | clone",
|
|
44
44
|
"initial": "bounding-box",
|
|
45
45
|
"appliesTo": "all elements",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "fill-color",
|
|
59
|
-
"href": "https://drafts.
|
|
59
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-color",
|
|
60
60
|
"value": "<color>",
|
|
61
61
|
"initial": "currentcolor",
|
|
62
62
|
"appliesTo": "text and SVG shapes",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "fill-image",
|
|
76
|
-
"href": "https://drafts.
|
|
76
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-image",
|
|
77
77
|
"value": "<paint>#",
|
|
78
78
|
"initial": "none",
|
|
79
79
|
"appliesTo": "text and SVG shapes",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"name": "fill-origin",
|
|
93
|
-
"href": "https://drafts.
|
|
93
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-origin",
|
|
94
94
|
"value": "match-parent | fill-box | stroke-box | content-box | padding-box | border-box",
|
|
95
95
|
"initial": "match-parent",
|
|
96
96
|
"appliesTo": "all elements",
|
|
@@ -104,42 +104,42 @@
|
|
|
104
104
|
{
|
|
105
105
|
"name": "match-parent",
|
|
106
106
|
"prose": "Use the same fill positioning area as the parent. If it has no parent, use the initial containing block.",
|
|
107
|
-
"href": "https://drafts.
|
|
107
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-match-parent",
|
|
108
108
|
"type": "value",
|
|
109
109
|
"value": "match-parent"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"name": "content-box",
|
|
113
113
|
"prose": "Use the box’s own content-box/padding-box/border-box as the fill positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
114
|
-
"href": "https://drafts.
|
|
114
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-content-box",
|
|
115
115
|
"type": "value",
|
|
116
116
|
"value": "content-box"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "padding-box",
|
|
120
120
|
"prose": "Use the box’s own content-box/padding-box/border-box as the fill positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
121
|
-
"href": "https://drafts.
|
|
121
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-padding-box",
|
|
122
122
|
"type": "value",
|
|
123
123
|
"value": "padding-box"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"name": "border-box",
|
|
127
127
|
"prose": "Use the box’s own content-box/padding-box/border-box as the fill positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
128
|
-
"href": "https://drafts.
|
|
128
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-border-box",
|
|
129
129
|
"type": "value",
|
|
130
130
|
"value": "border-box"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"name": "fill-box",
|
|
134
134
|
"prose": "For SVG shapes or SVG text, use the object bounding box of the element. For CSS boxes, use the bounding box of the text glyph outlines of the element and all in-flow or floated descendants.",
|
|
135
|
-
"href": "https://drafts.
|
|
135
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-fill-box",
|
|
136
136
|
"type": "value",
|
|
137
137
|
"value": "fill-box"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"name": "stroke-box",
|
|
141
141
|
"prose": "For SVG shapes or SVG text, use the stroke bounding box of the element. For CSS boxes, use the bounding box of the text glyph stroke outlines of the element and all in-flow or floated descendants.",
|
|
142
|
-
"href": "https://drafts.
|
|
142
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-fill-origin-stroke-box",
|
|
143
143
|
"type": "value",
|
|
144
144
|
"value": "stroke-box"
|
|
145
145
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"name": "fill-position",
|
|
154
|
-
"href": "https://drafts.
|
|
154
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-position",
|
|
155
155
|
"value": "<position>#",
|
|
156
156
|
"initial": "0% 0%",
|
|
157
157
|
"appliesTo": "text and SVG shapes",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"name": "fill-size",
|
|
171
|
-
"href": "https://drafts.
|
|
171
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-size",
|
|
172
172
|
"value": "<bg-size>#",
|
|
173
173
|
"initial": "auto",
|
|
174
174
|
"appliesTo": "text and SVG shapes",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"name": "fill-repeat",
|
|
188
|
-
"href": "https://drafts.
|
|
188
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-repeat",
|
|
189
189
|
"value": "<repeat-style>#",
|
|
190
190
|
"initial": "repeat",
|
|
191
191
|
"appliesTo": "text and SVG shapes",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
"name": "fill-opacity",
|
|
205
|
-
"href": "https://drafts.
|
|
205
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-fill-opacity",
|
|
206
206
|
"value": "<'opacity'>",
|
|
207
207
|
"initial": "1",
|
|
208
208
|
"appliesTo": "text and SVG shapes",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"name": "stroke-width",
|
|
222
|
-
"href": "https://drafts.
|
|
222
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-width",
|
|
223
223
|
"value": "[<length-percentage> | <number>]#",
|
|
224
224
|
"initial": "1px",
|
|
225
225
|
"appliesTo": "text and SVG shapes",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"name": "stroke-align",
|
|
239
|
-
"href": "https://drafts.
|
|
239
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-align",
|
|
240
240
|
"value": "center | inset | outset",
|
|
241
241
|
"initial": "center",
|
|
242
242
|
"appliesTo": "text and SVG shapes",
|
|
@@ -250,21 +250,21 @@
|
|
|
250
250
|
{
|
|
251
251
|
"name": "center",
|
|
252
252
|
"prose": "The stroke for each subpath is centered on the outline.",
|
|
253
|
-
"href": "https://drafts.
|
|
253
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-align-center",
|
|
254
254
|
"type": "value",
|
|
255
255
|
"value": "center"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"name": "inset",
|
|
259
259
|
"prose": "The stroke for each subpath lies on the “inside” of the outline (into the fill area). The stroke-linejoin property must be ignored. Why is stroke-linejoin ignored? It’s still needed for interior corners.",
|
|
260
|
-
"href": "https://drafts.
|
|
260
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-align-inset",
|
|
261
261
|
"type": "value",
|
|
262
262
|
"value": "inset"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
"name": "outset",
|
|
266
266
|
"prose": "The stroke for each subpath lies on the “outside” of the outline (outside the fill area).",
|
|
267
|
-
"href": "https://drafts.
|
|
267
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-align-outset",
|
|
268
268
|
"type": "value",
|
|
269
269
|
"value": "outset"
|
|
270
270
|
}
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"name": "stroke-linecap",
|
|
279
|
-
"href": "https://drafts.
|
|
279
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-linecap",
|
|
280
280
|
"value": "butt | round | square",
|
|
281
281
|
"initial": "butt",
|
|
282
282
|
"appliesTo": "text and SVG shapes",
|
|
@@ -290,21 +290,21 @@
|
|
|
290
290
|
{
|
|
291
291
|
"name": "butt",
|
|
292
292
|
"prose": "The stroke for each subpath does not extend beyond its two endpoints. (A zero length subpath will therefore not have any stroke.)",
|
|
293
|
-
"href": "https://drafts.
|
|
293
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linecap-butt",
|
|
294
294
|
"type": "value",
|
|
295
295
|
"value": "butt"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"name": "round",
|
|
299
299
|
"prose": "At each end of each subpath, the stroke is extended by a half circle with a radius equal to half the stroke width. (The stroke for a zero-length subpath is a full circle centered at the subpath’s point.)",
|
|
300
|
-
"href": "https://drafts.
|
|
300
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linecap-round",
|
|
301
301
|
"type": "value",
|
|
302
302
|
"value": "round"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
"name": "square",
|
|
306
306
|
"prose": "At the end of each subpath, the stroke is extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width. (The stroke for a zero-length subpath is a square with side length equal to the stroke width, centered at the subpath’s point, and oriented such that two of its sides are parallel to the effective tangent at that subpath’s point. See § 4.6 Computing the Shape of the Stroke for details on how to determine the tangent at a zero-length subpath.) Adding a rectangle to the end of dashes on a curved outline looks bad. It should just extend the dash by stroke-width/2, following the outline.",
|
|
307
|
-
"href": "https://drafts.
|
|
307
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linecap-square",
|
|
308
308
|
"type": "value",
|
|
309
309
|
"value": "square"
|
|
310
310
|
}
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"name": "stroke-linejoin",
|
|
319
|
-
"href": "https://drafts.
|
|
319
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-linejoin",
|
|
320
320
|
"value": "[ crop | arcs | miter ] || [ bevel | round | fallback ]",
|
|
321
321
|
"initial": "miter",
|
|
322
322
|
"appliesTo": "text and SVG shapes",
|
|
@@ -330,42 +330,42 @@
|
|
|
330
330
|
{
|
|
331
331
|
"name": "crop",
|
|
332
332
|
"prose": "The stroke extends the minimal amount past the corner necessary to form a convex corner. This acts identically to miter, but forces stroke-miterlimit to behave as if it had its minimum value of 1.",
|
|
333
|
-
"href": "https://drafts.
|
|
333
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-crop",
|
|
334
334
|
"type": "value",
|
|
335
335
|
"value": "crop"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"name": "miter",
|
|
339
339
|
"prose": "A sharp corner is used to join path segments. The corner is formed by extending the outer edges of the stroke at the tangents of the path segments until they intersect.",
|
|
340
|
-
"href": "https://drafts.
|
|
340
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-miter",
|
|
341
341
|
"type": "value",
|
|
342
342
|
"value": "miter"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"name": "arcs",
|
|
346
346
|
"prose": "An arcs corner is used to join path segments. The arcs shape is formed by extending the outer edges of the stroke at the join point with arcs that have the same curvature as the outer edges at the join point.",
|
|
347
|
-
"href": "https://drafts.
|
|
347
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-arcs",
|
|
348
348
|
"type": "value",
|
|
349
349
|
"value": "arcs"
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
"name": "bevel",
|
|
353
353
|
"prose": "The corner is cropped at the stroke-miterlimit by the perpendicular to its diagonal.",
|
|
354
|
-
"href": "https://drafts.
|
|
354
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-bevel",
|
|
355
355
|
"type": "value",
|
|
356
356
|
"value": "bevel"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"name": "round",
|
|
360
360
|
"prose": "The corner is cropped as for bevel, and a filled arc tangent to the truncated stroke edges is appended to round the corner.",
|
|
361
|
-
"href": "https://drafts.
|
|
361
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-round",
|
|
362
362
|
"type": "value",
|
|
363
363
|
"value": "round"
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
366
|
"name": "fallback",
|
|
367
367
|
"prose": "When the stroke-miterlimit is exceeded, this behaves as if crop bevel were specified. Can we just remove fallback? It’s a stupid value, useful only because we didn’t have the clip-at-miterlimit behavior in SVG1. Question is if people are mostly just *accidentally* getting the bevel behavior right now, and would be okay with their joins extending up to the miterlimit and only getting the excess corners clipped, or if they actually wanted the discontinuous behavior currently specified. The breakpoint is between 29 and 30 degrees.",
|
|
368
|
-
"href": "https://drafts.
|
|
368
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-linejoin-fallback",
|
|
369
369
|
"type": "value",
|
|
370
370
|
"value": "fallback"
|
|
371
371
|
}
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
379
|
"name": "stroke-miterlimit",
|
|
380
|
-
"href": "https://drafts.
|
|
380
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-miterlimit",
|
|
381
381
|
"value": "<number>",
|
|
382
382
|
"initial": "4",
|
|
383
383
|
"appliesTo": "text and SVG shapes",
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
{
|
|
392
392
|
"name": "<number>",
|
|
393
393
|
"prose": "Specifies the limit on the join’s size as a ratio of its diagonal to the stroke-width. Values less than 1 are invalid (and make the declaration invalid). For a miter linejoin, the length of the diagonal is calculated from the angle between the two segments as stroke-width / sin(θ/2). The linejoin is clipped perpendicular to the line bisecting the angle between the two path segments. For an arcs linejoin, the length of the diagonal is calculated along a circular arc that is tangent to the line bisecting the angle between the two segments at the point the two segments intersect and passes through the end point of the join. The linejoin is clipped perpendicular to this arc.",
|
|
394
|
-
"href": "https://drafts.
|
|
394
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-miterlimit-number",
|
|
395
395
|
"type": "value",
|
|
396
396
|
"value": "<number>"
|
|
397
397
|
}
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
"name": "stroke-break",
|
|
406
|
-
"href": "https://drafts.
|
|
406
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-break",
|
|
407
407
|
"value": "bounding-box | slice | clone",
|
|
408
408
|
"initial": "bounding-box",
|
|
409
409
|
"appliesTo": "all elements",
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
"name": "stroke-dasharray",
|
|
423
|
-
"href": "https://drafts.
|
|
423
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-dasharray",
|
|
424
424
|
"value": "none | [<length-percentage> | <number>]+#",
|
|
425
425
|
"initial": "none",
|
|
426
426
|
"appliesTo": "text and SVG shapes",
|
|
@@ -434,14 +434,14 @@
|
|
|
434
434
|
{
|
|
435
435
|
"name": "none",
|
|
436
436
|
"prose": "No dashing: the stroke is drawn continuously.",
|
|
437
|
-
"href": "https://drafts.
|
|
437
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dasharray-none",
|
|
438
438
|
"type": "value",
|
|
439
439
|
"value": "none"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
"name": "<length-percentage>+#",
|
|
443
443
|
"prose": "Specifies a dashing pattern to use. Each <length-percentage> value represents the length of the next dash or gap (beginning with the first dash and alternating from there) of the stroke. The pattern repeats over the length of the stroke. (If the number of values is odd, the pattern behaves as if it was duplicated to yield an even number of values.) The dashing pattern is reset and begins anew at the start of each subpath. Negative values are invalid. If all values are zero, it is treated as none.",
|
|
444
|
-
"href": "https://drafts.
|
|
444
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dasharray-length-percentage",
|
|
445
445
|
"type": "value",
|
|
446
446
|
"value": "<length-percentage>+#"
|
|
447
447
|
}
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
"name": "stroke-dashoffset",
|
|
456
|
-
"href": "https://drafts.
|
|
456
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-dashoffset",
|
|
457
457
|
"value": "<length-percentage> | <number>",
|
|
458
458
|
"initial": "0",
|
|
459
459
|
"appliesTo": "text and SVG shapes",
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
"name": "stroke-dash-corner",
|
|
473
|
-
"href": "https://drafts.
|
|
473
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-dash-corner",
|
|
474
474
|
"value": "none | <length>",
|
|
475
475
|
"initial": "none",
|
|
476
476
|
"appliesTo": "text and SVG shapes",
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
{
|
|
485
485
|
"name": "none",
|
|
486
486
|
"prose": "This property has no special effect on dashing: the dashes are positioned/sized continuously along the path.",
|
|
487
|
-
"href": "https://drafts.
|
|
487
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-corner-none",
|
|
488
488
|
"type": "value",
|
|
489
489
|
"value": "none"
|
|
490
490
|
}
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
498
|
"name": "stroke-dash-justify",
|
|
499
|
-
"href": "https://drafts.
|
|
499
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-dash-justify",
|
|
500
500
|
"value": "none | [ stretch | compress ] || [ dashes || gaps ]",
|
|
501
501
|
"initial": "none",
|
|
502
502
|
"appliesTo": "text and SVG shapes",
|
|
@@ -510,35 +510,35 @@
|
|
|
510
510
|
{
|
|
511
511
|
"name": "none",
|
|
512
512
|
"prose": "No adjustment of the dash pattern is made: it’s clipped at the end of the subpath with however much progress it made to that point.",
|
|
513
|
-
"href": "https://drafts.
|
|
513
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-justify-none",
|
|
514
514
|
"type": "value",
|
|
515
515
|
"value": "none"
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
"name": "stretch",
|
|
519
519
|
"prose": "Indicates that when the dash pattern does not fit into a subpath a whole number times, the dashes or gaps (or both) will be lengthened so that it does.",
|
|
520
|
-
"href": "https://drafts.
|
|
520
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-justify-stretch",
|
|
521
521
|
"type": "value",
|
|
522
522
|
"value": "stretch"
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
525
|
"name": "compress",
|
|
526
526
|
"prose": "Indicates that when the dash pattern does not fit into a subpath a whole number times, the dashes or gaps (or both) will be shortened so that it does.",
|
|
527
|
-
"href": "https://drafts.
|
|
527
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-justify-compress",
|
|
528
528
|
"type": "value",
|
|
529
529
|
"value": "compress"
|
|
530
530
|
},
|
|
531
531
|
{
|
|
532
532
|
"name": "dashes",
|
|
533
533
|
"prose": "Indicates that when a dash pattern is to be stretched or compressed, the length of the dashes will be adjusted.",
|
|
534
|
-
"href": "https://drafts.
|
|
534
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-justify-dashes",
|
|
535
535
|
"type": "value",
|
|
536
536
|
"value": "dashes"
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
"name": "gaps",
|
|
540
540
|
"prose": "Indicates that when a dash pattern is to be stretched or compressed, the length of the gaps will be adjusted.",
|
|
541
|
-
"href": "https://drafts.
|
|
541
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-dash-justify-gaps",
|
|
542
542
|
"type": "value",
|
|
543
543
|
"value": "gaps"
|
|
544
544
|
}
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
},
|
|
551
551
|
{
|
|
552
552
|
"name": "stroke-color",
|
|
553
|
-
"href": "https://drafts.
|
|
553
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-color",
|
|
554
554
|
"value": "<color>#",
|
|
555
555
|
"initial": "transparent",
|
|
556
556
|
"appliesTo": "text and SVG shapes",
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
},
|
|
568
568
|
{
|
|
569
569
|
"name": "stroke-image",
|
|
570
|
-
"href": "https://drafts.
|
|
570
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-image",
|
|
571
571
|
"value": "<paint>#",
|
|
572
572
|
"initial": "none",
|
|
573
573
|
"appliesTo": "text and SVG shapes",
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
586
|
"name": "stroke-origin",
|
|
587
|
-
"href": "https://drafts.
|
|
587
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-origin",
|
|
588
588
|
"value": "match-parent | fill-box | stroke-box | content-box | padding-box | border-box",
|
|
589
589
|
"initial": "match-parent",
|
|
590
590
|
"appliesTo": "all elements",
|
|
@@ -598,42 +598,42 @@
|
|
|
598
598
|
{
|
|
599
599
|
"name": "match-parent",
|
|
600
600
|
"prose": "Use the same stroke positioning area as the parent. If it has no parent, use the initial containing block.",
|
|
601
|
-
"href": "https://drafts.
|
|
601
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-match-parent",
|
|
602
602
|
"type": "value",
|
|
603
603
|
"value": "match-parent"
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
606
|
"name": "content-box",
|
|
607
607
|
"prose": "Use the box’s own content-box/padding-box/border-box as the stroke positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
608
|
-
"href": "https://drafts.
|
|
608
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-content-box",
|
|
609
609
|
"type": "value",
|
|
610
610
|
"value": "content-box"
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
"name": "padding-box",
|
|
614
614
|
"prose": "Use the box’s own content-box/padding-box/border-box as the stroke positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
615
|
-
"href": "https://drafts.
|
|
615
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-padding-box",
|
|
616
616
|
"type": "value",
|
|
617
617
|
"value": "padding-box"
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
620
|
"name": "border-box",
|
|
621
621
|
"prose": "Use the box’s own content-box/padding-box/border-box as the stroke positioning area. For SVG shapes, content-box and padding-box are treated as fill-box, while border-box is treated as stroke-box.",
|
|
622
|
-
"href": "https://drafts.
|
|
622
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-border-box",
|
|
623
623
|
"type": "value",
|
|
624
624
|
"value": "border-box"
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
627
|
"name": "fill-box",
|
|
628
628
|
"prose": "For SVG shapes or SVG text, use the object bounding box of the element. For CSS boxes, use the bounding box of the text glyph outlines of the element and all in-flow or floated descendants.",
|
|
629
|
-
"href": "https://drafts.
|
|
629
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-fill-box",
|
|
630
630
|
"type": "value",
|
|
631
631
|
"value": "fill-box"
|
|
632
632
|
},
|
|
633
633
|
{
|
|
634
634
|
"name": "stroke-box",
|
|
635
635
|
"prose": "For SVG shapes or SVG text, use the stroke bounding box of the element. For CSS boxes, use the bounding box of the text glyph stroke outlines of the element and all in-flow or floated descendants.",
|
|
636
|
-
"href": "https://drafts.
|
|
636
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-stroke-origin-stroke-box",
|
|
637
637
|
"type": "value",
|
|
638
638
|
"value": "stroke-box"
|
|
639
639
|
}
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
647
|
"name": "stroke-position",
|
|
648
|
-
"href": "https://drafts.
|
|
648
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-position",
|
|
649
649
|
"value": "<position>#",
|
|
650
650
|
"initial": "0% 0%",
|
|
651
651
|
"appliesTo": "text and SVG shapes",
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"name": "stroke-size",
|
|
665
|
-
"href": "https://drafts.
|
|
665
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-size",
|
|
666
666
|
"value": "<bg-size>#",
|
|
667
667
|
"initial": "auto",
|
|
668
668
|
"appliesTo": "text and SVG shapes",
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
681
|
"name": "stroke-repeat",
|
|
682
|
-
"href": "https://drafts.
|
|
682
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-repeat",
|
|
683
683
|
"value": "<repeat-style>#",
|
|
684
684
|
"initial": "repeat",
|
|
685
685
|
"appliesTo": "text and SVG shapes",
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
"name": "stroke-opacity",
|
|
699
|
-
"href": "https://drafts.
|
|
699
|
+
"href": "https://drafts.csswg.org/fill-stroke/#propdef-stroke-opacity",
|
|
700
700
|
"value": "<'opacity'>",
|
|
701
701
|
"initial": "1",
|
|
702
702
|
"appliesTo": "text and SVG shapes",
|
|
@@ -717,14 +717,14 @@
|
|
|
717
717
|
"values": [
|
|
718
718
|
{
|
|
719
719
|
"name": "<paint>",
|
|
720
|
-
"href": "https://drafts.
|
|
720
|
+
"href": "https://drafts.csswg.org/fill-stroke/#typedef-paint",
|
|
721
721
|
"type": "type",
|
|
722
722
|
"value": "none | <image> | <svg-paint>",
|
|
723
723
|
"values": [
|
|
724
724
|
{
|
|
725
725
|
"name": "none",
|
|
726
726
|
"prose": "Indicates no paint is applied.",
|
|
727
|
-
"href": "https://drafts.
|
|
727
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-paint-none",
|
|
728
728
|
"type": "value",
|
|
729
729
|
"value": "none"
|
|
730
730
|
}
|
|
@@ -732,21 +732,21 @@
|
|
|
732
732
|
},
|
|
733
733
|
{
|
|
734
734
|
"name": "<svg-paint>",
|
|
735
|
-
"href": "https://drafts.
|
|
735
|
+
"href": "https://drafts.csswg.org/fill-stroke/#typedef-svg-paint",
|
|
736
736
|
"type": "type",
|
|
737
737
|
"value": "child | child( <integer> )",
|
|
738
738
|
"values": [
|
|
739
739
|
{
|
|
740
740
|
"name": "child",
|
|
741
741
|
"prose": "Refers to the last child paint server element of the element being painted. If there is no such child, behaves as none.",
|
|
742
|
-
"href": "https://drafts.
|
|
742
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-svg-paint-child",
|
|
743
743
|
"type": "value",
|
|
744
744
|
"value": "child"
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
747
|
"name": "child()",
|
|
748
748
|
"value": "child()",
|
|
749
|
-
"href": "https://drafts.
|
|
749
|
+
"href": "https://drafts.csswg.org/fill-stroke/#valdef-svg-paint-child-integer",
|
|
750
750
|
"type": "value"
|
|
751
751
|
}
|
|
752
752
|
]
|
package/filter-effects-2.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spec": {
|
|
3
3
|
"title": "Filter Effects Module Level 2",
|
|
4
|
-
"url": "https://drafts.
|
|
4
|
+
"url": "https://drafts.csswg.org/filter-effects-2/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "backdrop-filter",
|
|
9
|
-
"href": "https://drafts.
|
|
9
|
+
"href": "https://drafts.csswg.org/filter-effects-2/#propdef-backdrop-filter",
|
|
10
10
|
"value": "none | <filter-value-list>",
|
|
11
11
|
"initial": "none",
|
|
12
12
|
"appliesTo": "All elements. In SVG, it applies to container elements without the defs element and all graphics elements",
|