@webref/css 6.10.3 → 6.11.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 +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +214 -19
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +273 -1
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +221 -9
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/fill-stroke.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "fill-rule",
|
|
9
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-rule",
|
|
9
10
|
"value": "nonzero | evenodd",
|
|
10
11
|
"initial": "nonzero",
|
|
11
12
|
"appliesTo": "SVG shapes",
|
|
@@ -19,12 +20,14 @@
|
|
|
19
20
|
{
|
|
20
21
|
"name": "nonzero",
|
|
21
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.fxtf.org/fill-stroke-3/#valdef-fill-rule-nonzero",
|
|
22
24
|
"type": "value",
|
|
23
25
|
"value": "nonzero"
|
|
24
26
|
},
|
|
25
27
|
{
|
|
26
28
|
"name": "evenodd",
|
|
27
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.fxtf.org/fill-stroke-3/#valdef-fill-rule-evenodd",
|
|
28
31
|
"type": "value",
|
|
29
32
|
"value": "evenodd"
|
|
30
33
|
}
|
|
@@ -36,6 +39,7 @@
|
|
|
36
39
|
},
|
|
37
40
|
{
|
|
38
41
|
"name": "fill-break",
|
|
42
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-break",
|
|
39
43
|
"value": "bounding-box | slice | clone",
|
|
40
44
|
"initial": "bounding-box",
|
|
41
45
|
"appliesTo": "all elements",
|
|
@@ -52,6 +56,7 @@
|
|
|
52
56
|
},
|
|
53
57
|
{
|
|
54
58
|
"name": "fill-color",
|
|
59
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-color",
|
|
55
60
|
"value": "<color>",
|
|
56
61
|
"initial": "currentcolor",
|
|
57
62
|
"appliesTo": "text and SVG shapes",
|
|
@@ -68,6 +73,7 @@
|
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
75
|
"name": "fill-image",
|
|
76
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-image",
|
|
71
77
|
"value": "<paint>#",
|
|
72
78
|
"initial": "none",
|
|
73
79
|
"appliesTo": "text and SVG shapes",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
},
|
|
85
91
|
{
|
|
86
92
|
"name": "fill-origin",
|
|
93
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-origin",
|
|
87
94
|
"value": "match-parent | fill-box | stroke-box | content-box | padding-box | border-box",
|
|
88
95
|
"initial": "match-parent",
|
|
89
96
|
"appliesTo": "all elements",
|
|
@@ -97,36 +104,42 @@
|
|
|
97
104
|
{
|
|
98
105
|
"name": "match-parent",
|
|
99
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-match-parent",
|
|
100
108
|
"type": "value",
|
|
101
109
|
"value": "match-parent"
|
|
102
110
|
},
|
|
103
111
|
{
|
|
104
112
|
"name": "content-box",
|
|
105
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-content-box",
|
|
106
115
|
"type": "value",
|
|
107
116
|
"value": "content-box"
|
|
108
117
|
},
|
|
109
118
|
{
|
|
110
119
|
"name": "padding-box",
|
|
111
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-padding-box",
|
|
112
122
|
"type": "value",
|
|
113
123
|
"value": "padding-box"
|
|
114
124
|
},
|
|
115
125
|
{
|
|
116
126
|
"name": "border-box",
|
|
117
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-border-box",
|
|
118
129
|
"type": "value",
|
|
119
130
|
"value": "border-box"
|
|
120
131
|
},
|
|
121
132
|
{
|
|
122
133
|
"name": "fill-box",
|
|
123
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-fill-box",
|
|
124
136
|
"type": "value",
|
|
125
137
|
"value": "fill-box"
|
|
126
138
|
},
|
|
127
139
|
{
|
|
128
140
|
"name": "stroke-box",
|
|
129
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.fxtf.org/fill-stroke-3/#valdef-fill-origin-stroke-box",
|
|
130
143
|
"type": "value",
|
|
131
144
|
"value": "stroke-box"
|
|
132
145
|
}
|
|
@@ -138,6 +151,7 @@
|
|
|
138
151
|
},
|
|
139
152
|
{
|
|
140
153
|
"name": "fill-position",
|
|
154
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-position",
|
|
141
155
|
"value": "<position>#",
|
|
142
156
|
"initial": "0% 0%",
|
|
143
157
|
"appliesTo": "text and SVG shapes",
|
|
@@ -154,6 +168,7 @@
|
|
|
154
168
|
},
|
|
155
169
|
{
|
|
156
170
|
"name": "fill-size",
|
|
171
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-size",
|
|
157
172
|
"value": "<bg-size>#",
|
|
158
173
|
"initial": "auto",
|
|
159
174
|
"appliesTo": "text and SVG shapes",
|
|
@@ -170,6 +185,7 @@
|
|
|
170
185
|
},
|
|
171
186
|
{
|
|
172
187
|
"name": "fill-repeat",
|
|
188
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-repeat",
|
|
173
189
|
"value": "<repeat-style>#",
|
|
174
190
|
"initial": "repeat",
|
|
175
191
|
"appliesTo": "text and SVG shapes",
|
|
@@ -186,6 +202,7 @@
|
|
|
186
202
|
},
|
|
187
203
|
{
|
|
188
204
|
"name": "fill-opacity",
|
|
205
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-fill-opacity",
|
|
189
206
|
"value": "<'opacity'>",
|
|
190
207
|
"initial": "1",
|
|
191
208
|
"appliesTo": "text and SVG shapes",
|
|
@@ -202,6 +219,7 @@
|
|
|
202
219
|
},
|
|
203
220
|
{
|
|
204
221
|
"name": "stroke-width",
|
|
222
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-width",
|
|
205
223
|
"value": "[<length-percentage> | <number>]#",
|
|
206
224
|
"initial": "1px",
|
|
207
225
|
"appliesTo": "text and SVG shapes",
|
|
@@ -218,6 +236,7 @@
|
|
|
218
236
|
},
|
|
219
237
|
{
|
|
220
238
|
"name": "stroke-align",
|
|
239
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-align",
|
|
221
240
|
"value": "center | inset | outset",
|
|
222
241
|
"initial": "center",
|
|
223
242
|
"appliesTo": "text and SVG shapes",
|
|
@@ -231,18 +250,21 @@
|
|
|
231
250
|
{
|
|
232
251
|
"name": "center",
|
|
233
252
|
"prose": "The stroke for each subpath is centered on the outline.",
|
|
253
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-stroke-align-center",
|
|
234
254
|
"type": "value",
|
|
235
255
|
"value": "center"
|
|
236
256
|
},
|
|
237
257
|
{
|
|
238
258
|
"name": "inset",
|
|
239
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.fxtf.org/fill-stroke-3/#valdef-stroke-align-inset",
|
|
240
261
|
"type": "value",
|
|
241
262
|
"value": "inset"
|
|
242
263
|
},
|
|
243
264
|
{
|
|
244
265
|
"name": "outset",
|
|
245
266
|
"prose": "The stroke for each subpath lies on the “outside” of the outline (outside the fill area).",
|
|
267
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-stroke-align-outset",
|
|
246
268
|
"type": "value",
|
|
247
269
|
"value": "outset"
|
|
248
270
|
}
|
|
@@ -254,6 +276,7 @@
|
|
|
254
276
|
},
|
|
255
277
|
{
|
|
256
278
|
"name": "stroke-linecap",
|
|
279
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-linecap",
|
|
257
280
|
"value": "butt | round | square",
|
|
258
281
|
"initial": "butt",
|
|
259
282
|
"appliesTo": "text and SVG shapes",
|
|
@@ -267,18 +290,21 @@
|
|
|
267
290
|
{
|
|
268
291
|
"name": "butt",
|
|
269
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.fxtf.org/fill-stroke-3/#valdef-stroke-linecap-butt",
|
|
270
294
|
"type": "value",
|
|
271
295
|
"value": "butt"
|
|
272
296
|
},
|
|
273
297
|
{
|
|
274
298
|
"name": "round",
|
|
275
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.fxtf.org/fill-stroke-3/#valdef-stroke-linecap-round",
|
|
276
301
|
"type": "value",
|
|
277
302
|
"value": "round"
|
|
278
303
|
},
|
|
279
304
|
{
|
|
280
305
|
"name": "square",
|
|
281
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.fxtf.org/fill-stroke-3/#valdef-stroke-linecap-square",
|
|
282
308
|
"type": "value",
|
|
283
309
|
"value": "square"
|
|
284
310
|
}
|
|
@@ -290,6 +316,7 @@
|
|
|
290
316
|
},
|
|
291
317
|
{
|
|
292
318
|
"name": "stroke-linejoin",
|
|
319
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-linejoin",
|
|
293
320
|
"value": "[ crop | arcs | miter ] || [ bevel | round | fallback ]",
|
|
294
321
|
"initial": "miter",
|
|
295
322
|
"appliesTo": "text and SVG shapes",
|
|
@@ -303,36 +330,42 @@
|
|
|
303
330
|
{
|
|
304
331
|
"name": "crop",
|
|
305
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.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-crop",
|
|
306
334
|
"type": "value",
|
|
307
335
|
"value": "crop"
|
|
308
336
|
},
|
|
309
337
|
{
|
|
310
338
|
"name": "miter",
|
|
311
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.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-miter",
|
|
312
341
|
"type": "value",
|
|
313
342
|
"value": "miter"
|
|
314
343
|
},
|
|
315
344
|
{
|
|
316
345
|
"name": "arcs",
|
|
317
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.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-arcs",
|
|
318
348
|
"type": "value",
|
|
319
349
|
"value": "arcs"
|
|
320
350
|
},
|
|
321
351
|
{
|
|
322
352
|
"name": "bevel",
|
|
323
353
|
"prose": "The corner is cropped at the stroke-miterlimit by the perpendicular to its diagonal.",
|
|
354
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-bevel",
|
|
324
355
|
"type": "value",
|
|
325
356
|
"value": "bevel"
|
|
326
357
|
},
|
|
327
358
|
{
|
|
328
359
|
"name": "round",
|
|
329
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.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-round",
|
|
330
362
|
"type": "value",
|
|
331
363
|
"value": "round"
|
|
332
364
|
},
|
|
333
365
|
{
|
|
334
366
|
"name": "fallback",
|
|
335
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.fxtf.org/fill-stroke-3/#valdef-stroke-linejoin-fallback",
|
|
336
369
|
"type": "value",
|
|
337
370
|
"value": "fallback"
|
|
338
371
|
}
|
|
@@ -344,6 +377,7 @@
|
|
|
344
377
|
},
|
|
345
378
|
{
|
|
346
379
|
"name": "stroke-miterlimit",
|
|
380
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-miterlimit",
|
|
347
381
|
"value": "<number>",
|
|
348
382
|
"initial": "4",
|
|
349
383
|
"appliesTo": "text and SVG shapes",
|
|
@@ -357,6 +391,7 @@
|
|
|
357
391
|
{
|
|
358
392
|
"name": "<number>",
|
|
359
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.fxtf.org/fill-stroke-3/#valdef-stroke-miterlimit-number",
|
|
360
395
|
"type": "value",
|
|
361
396
|
"value": "<number>"
|
|
362
397
|
}
|
|
@@ -368,6 +403,7 @@
|
|
|
368
403
|
},
|
|
369
404
|
{
|
|
370
405
|
"name": "stroke-break",
|
|
406
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-break",
|
|
371
407
|
"value": "bounding-box | slice | clone",
|
|
372
408
|
"initial": "bounding-box",
|
|
373
409
|
"appliesTo": "all elements",
|
|
@@ -384,6 +420,7 @@
|
|
|
384
420
|
},
|
|
385
421
|
{
|
|
386
422
|
"name": "stroke-dasharray",
|
|
423
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-dasharray",
|
|
387
424
|
"value": "none | [<length-percentage> | <number>]+#",
|
|
388
425
|
"initial": "none",
|
|
389
426
|
"appliesTo": "text and SVG shapes",
|
|
@@ -397,12 +434,14 @@
|
|
|
397
434
|
{
|
|
398
435
|
"name": "none",
|
|
399
436
|
"prose": "No dashing: the stroke is drawn continuously.",
|
|
437
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-stroke-dasharray-none",
|
|
400
438
|
"type": "value",
|
|
401
439
|
"value": "none"
|
|
402
440
|
},
|
|
403
441
|
{
|
|
404
442
|
"name": "<length-percentage>+#",
|
|
405
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.fxtf.org/fill-stroke-3/#valdef-stroke-dasharray-length-percentage",
|
|
406
445
|
"type": "value",
|
|
407
446
|
"value": "<length-percentage>+#"
|
|
408
447
|
}
|
|
@@ -414,6 +453,7 @@
|
|
|
414
453
|
},
|
|
415
454
|
{
|
|
416
455
|
"name": "stroke-dashoffset",
|
|
456
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-dashoffset",
|
|
417
457
|
"value": "<length-percentage> | <number>",
|
|
418
458
|
"initial": "0",
|
|
419
459
|
"appliesTo": "text and SVG shapes",
|
|
@@ -430,6 +470,7 @@
|
|
|
430
470
|
},
|
|
431
471
|
{
|
|
432
472
|
"name": "stroke-dash-corner",
|
|
473
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-dash-corner",
|
|
433
474
|
"value": "none | <length>",
|
|
434
475
|
"initial": "none",
|
|
435
476
|
"appliesTo": "text and SVG shapes",
|
|
@@ -443,6 +484,7 @@
|
|
|
443
484
|
{
|
|
444
485
|
"name": "none",
|
|
445
486
|
"prose": "This property has no special effect on dashing: the dashes are positioned/sized continuously along the path.",
|
|
487
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-stroke-dash-corner-none",
|
|
446
488
|
"type": "value",
|
|
447
489
|
"value": "none"
|
|
448
490
|
}
|
|
@@ -454,6 +496,7 @@
|
|
|
454
496
|
},
|
|
455
497
|
{
|
|
456
498
|
"name": "stroke-dash-justify",
|
|
499
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-dash-justify",
|
|
457
500
|
"value": "none | [ stretch | compress ] || [ dashes || gaps ]",
|
|
458
501
|
"initial": "none",
|
|
459
502
|
"appliesTo": "text and SVG shapes",
|
|
@@ -467,30 +510,35 @@
|
|
|
467
510
|
{
|
|
468
511
|
"name": "none",
|
|
469
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.fxtf.org/fill-stroke-3/#valdef-stroke-dash-justify-none",
|
|
470
514
|
"type": "value",
|
|
471
515
|
"value": "none"
|
|
472
516
|
},
|
|
473
517
|
{
|
|
474
518
|
"name": "stretch",
|
|
475
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.fxtf.org/fill-stroke-3/#valdef-stroke-dash-justify-stretch",
|
|
476
521
|
"type": "value",
|
|
477
522
|
"value": "stretch"
|
|
478
523
|
},
|
|
479
524
|
{
|
|
480
525
|
"name": "compress",
|
|
481
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.fxtf.org/fill-stroke-3/#valdef-stroke-dash-justify-compress",
|
|
482
528
|
"type": "value",
|
|
483
529
|
"value": "compress"
|
|
484
530
|
},
|
|
485
531
|
{
|
|
486
532
|
"name": "dashes",
|
|
487
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.fxtf.org/fill-stroke-3/#valdef-stroke-dash-justify-dashes",
|
|
488
535
|
"type": "value",
|
|
489
536
|
"value": "dashes"
|
|
490
537
|
},
|
|
491
538
|
{
|
|
492
539
|
"name": "gaps",
|
|
493
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.fxtf.org/fill-stroke-3/#valdef-stroke-dash-justify-gaps",
|
|
494
542
|
"type": "value",
|
|
495
543
|
"value": "gaps"
|
|
496
544
|
}
|
|
@@ -502,6 +550,7 @@
|
|
|
502
550
|
},
|
|
503
551
|
{
|
|
504
552
|
"name": "stroke-color",
|
|
553
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-color",
|
|
505
554
|
"value": "<color>#",
|
|
506
555
|
"initial": "transparent",
|
|
507
556
|
"appliesTo": "text and SVG shapes",
|
|
@@ -518,6 +567,7 @@
|
|
|
518
567
|
},
|
|
519
568
|
{
|
|
520
569
|
"name": "stroke-image",
|
|
570
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-image",
|
|
521
571
|
"value": "<paint>#",
|
|
522
572
|
"initial": "none",
|
|
523
573
|
"appliesTo": "text and SVG shapes",
|
|
@@ -534,6 +584,7 @@
|
|
|
534
584
|
},
|
|
535
585
|
{
|
|
536
586
|
"name": "stroke-origin",
|
|
587
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-origin",
|
|
537
588
|
"value": "match-parent | fill-box | stroke-box | content-box | padding-box | border-box",
|
|
538
589
|
"initial": "match-parent",
|
|
539
590
|
"appliesTo": "all elements",
|
|
@@ -547,36 +598,42 @@
|
|
|
547
598
|
{
|
|
548
599
|
"name": "match-parent",
|
|
549
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-match-parent",
|
|
550
602
|
"type": "value",
|
|
551
603
|
"value": "match-parent"
|
|
552
604
|
},
|
|
553
605
|
{
|
|
554
606
|
"name": "content-box",
|
|
555
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-content-box",
|
|
556
609
|
"type": "value",
|
|
557
610
|
"value": "content-box"
|
|
558
611
|
},
|
|
559
612
|
{
|
|
560
613
|
"name": "padding-box",
|
|
561
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-padding-box",
|
|
562
616
|
"type": "value",
|
|
563
617
|
"value": "padding-box"
|
|
564
618
|
},
|
|
565
619
|
{
|
|
566
620
|
"name": "border-box",
|
|
567
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-border-box",
|
|
568
623
|
"type": "value",
|
|
569
624
|
"value": "border-box"
|
|
570
625
|
},
|
|
571
626
|
{
|
|
572
627
|
"name": "fill-box",
|
|
573
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-fill-box",
|
|
574
630
|
"type": "value",
|
|
575
631
|
"value": "fill-box"
|
|
576
632
|
},
|
|
577
633
|
{
|
|
578
634
|
"name": "stroke-box",
|
|
579
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.fxtf.org/fill-stroke-3/#valdef-stroke-origin-stroke-box",
|
|
580
637
|
"type": "value",
|
|
581
638
|
"value": "stroke-box"
|
|
582
639
|
}
|
|
@@ -588,6 +645,7 @@
|
|
|
588
645
|
},
|
|
589
646
|
{
|
|
590
647
|
"name": "stroke-position",
|
|
648
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-position",
|
|
591
649
|
"value": "<position>#",
|
|
592
650
|
"initial": "0% 0%",
|
|
593
651
|
"appliesTo": "text and SVG shapes",
|
|
@@ -604,6 +662,7 @@
|
|
|
604
662
|
},
|
|
605
663
|
{
|
|
606
664
|
"name": "stroke-size",
|
|
665
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-size",
|
|
607
666
|
"value": "<bg-size>#",
|
|
608
667
|
"initial": "auto",
|
|
609
668
|
"appliesTo": "text and SVG shapes",
|
|
@@ -620,6 +679,7 @@
|
|
|
620
679
|
},
|
|
621
680
|
{
|
|
622
681
|
"name": "stroke-repeat",
|
|
682
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-repeat",
|
|
623
683
|
"value": "<repeat-style>#",
|
|
624
684
|
"initial": "repeat",
|
|
625
685
|
"appliesTo": "text and SVG shapes",
|
|
@@ -636,6 +696,7 @@
|
|
|
636
696
|
},
|
|
637
697
|
{
|
|
638
698
|
"name": "stroke-opacity",
|
|
699
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-opacity",
|
|
639
700
|
"value": "<'opacity'>",
|
|
640
701
|
"initial": "1",
|
|
641
702
|
"appliesTo": "text and SVG shapes",
|
|
@@ -656,12 +717,14 @@
|
|
|
656
717
|
"values": [
|
|
657
718
|
{
|
|
658
719
|
"name": "<paint>",
|
|
720
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#typedef-paint",
|
|
659
721
|
"type": "type",
|
|
660
722
|
"value": "none | <image> | <svg-paint>",
|
|
661
723
|
"values": [
|
|
662
724
|
{
|
|
663
725
|
"name": "none",
|
|
664
726
|
"prose": "Indicates no paint is applied.",
|
|
727
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-paint-none",
|
|
665
728
|
"type": "value",
|
|
666
729
|
"value": "none"
|
|
667
730
|
}
|
|
@@ -669,18 +732,21 @@
|
|
|
669
732
|
},
|
|
670
733
|
{
|
|
671
734
|
"name": "<svg-paint>",
|
|
735
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#typedef-svg-paint",
|
|
672
736
|
"type": "type",
|
|
673
737
|
"value": "child | child( <integer> )",
|
|
674
738
|
"values": [
|
|
675
739
|
{
|
|
676
740
|
"name": "child",
|
|
677
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.fxtf.org/fill-stroke-3/#valdef-svg-paint-child",
|
|
678
743
|
"type": "value",
|
|
679
744
|
"value": "child"
|
|
680
745
|
},
|
|
681
746
|
{
|
|
682
747
|
"name": "child()",
|
|
683
748
|
"value": "child()",
|
|
749
|
+
"href": "https://drafts.fxtf.org/fill-stroke-3/#valdef-svg-paint-child-integer",
|
|
684
750
|
"type": "value"
|
|
685
751
|
}
|
|
686
752
|
]
|
package/filter-effects-2.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "backdrop-filter",
|
|
9
|
+
"href": "https://drafts.fxtf.org/filter-effects-2/#propdef-backdrop-filter",
|
|
9
10
|
"value": "none | <filter-value-list>",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "All elements. In SVG, it applies to container elements without the defs element and all graphics elements",
|
package/filter-effects.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "filter",
|
|
9
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#propdef-filter",
|
|
9
10
|
"value": "none | <filter-value-list>",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "All elements. In SVG, it applies to container elements without the defs element, all graphics elements and the use element.",
|
|
@@ -19,55 +20,66 @@
|
|
|
19
20
|
{
|
|
20
21
|
"name": "<url>",
|
|
21
22
|
"prose": "A filter reference to a filter element. For example url(commonfilters.svg#filter). If the filter references a non-existent object or the referenced object is not a filter element, then the whole filter chain is ignored. No filter is applied to the object.",
|
|
23
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#typedef-filter-url",
|
|
22
24
|
"type": "type"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "blur()",
|
|
28
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-blur",
|
|
26
29
|
"type": "function",
|
|
27
30
|
"value": "blur( <length>? )"
|
|
28
31
|
},
|
|
29
32
|
{
|
|
30
33
|
"name": "brightness()",
|
|
34
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-brightness",
|
|
31
35
|
"type": "function",
|
|
32
36
|
"value": "brightness( [ <number> | <percentage> ]? )"
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
"name": "contrast()",
|
|
40
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-contrast",
|
|
36
41
|
"type": "function",
|
|
37
42
|
"value": "contrast( [ <number> | <percentage> ]? )"
|
|
38
43
|
},
|
|
39
44
|
{
|
|
40
45
|
"name": "drop-shadow()",
|
|
46
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-drop-shadow",
|
|
41
47
|
"type": "function",
|
|
42
48
|
"value": "drop-shadow( [ <color>? && <length>{2,3} ] )"
|
|
43
49
|
},
|
|
44
50
|
{
|
|
45
51
|
"name": "grayscale()",
|
|
52
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-grayscale",
|
|
46
53
|
"type": "function",
|
|
47
54
|
"value": "grayscale( [ <number> | <percentage> ]? )"
|
|
48
55
|
},
|
|
49
56
|
{
|
|
50
57
|
"name": "hue-rotate()",
|
|
58
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-hue-rotate",
|
|
51
59
|
"type": "function",
|
|
52
60
|
"value": "hue-rotate( [ <angle> | <zero> ]? )"
|
|
53
61
|
},
|
|
54
62
|
{
|
|
55
63
|
"name": "invert()",
|
|
64
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-invert",
|
|
56
65
|
"type": "function",
|
|
57
66
|
"value": "invert( [ <number> | <percentage> ]? )"
|
|
58
67
|
},
|
|
59
68
|
{
|
|
60
69
|
"name": "opacity()",
|
|
70
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-opacity",
|
|
61
71
|
"type": "function",
|
|
62
72
|
"value": "opacity( [ <number> | <percentage> ]? )"
|
|
63
73
|
},
|
|
64
74
|
{
|
|
65
75
|
"name": "saturate()",
|
|
76
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-saturate",
|
|
66
77
|
"type": "function",
|
|
67
78
|
"value": "saturate( [ <number> | <percentage> ]? )"
|
|
68
79
|
},
|
|
69
80
|
{
|
|
70
81
|
"name": "sepia()",
|
|
82
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-sepia",
|
|
71
83
|
"type": "function",
|
|
72
84
|
"value": "sepia( [ <number> | <percentage> ]? )"
|
|
73
85
|
}
|
|
@@ -78,6 +90,7 @@
|
|
|
78
90
|
},
|
|
79
91
|
{
|
|
80
92
|
"name": "flood-color",
|
|
93
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#propdef-flood-color",
|
|
81
94
|
"value": "<color>",
|
|
82
95
|
"initial": "black",
|
|
83
96
|
"appliesTo": "feFlood and feDropShadow elements",
|
|
@@ -94,6 +107,7 @@
|
|
|
94
107
|
},
|
|
95
108
|
{
|
|
96
109
|
"name": "flood-opacity",
|
|
110
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#propdef-flood-opacity",
|
|
97
111
|
"value": "<'opacity'>",
|
|
98
112
|
"initial": "1",
|
|
99
113
|
"appliesTo": "feFlood and feDropShadow elements",
|
|
@@ -110,6 +124,7 @@
|
|
|
110
124
|
},
|
|
111
125
|
{
|
|
112
126
|
"name": "color-interpolation-filters",
|
|
127
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#propdef-color-interpolation-filters",
|
|
113
128
|
"value": "auto | sRGB | linearRGB",
|
|
114
129
|
"initial": "linearRGB",
|
|
115
130
|
"appliesTo": "All filter primitives",
|
|
@@ -123,18 +138,21 @@
|
|
|
123
138
|
{
|
|
124
139
|
"name": "auto",
|
|
125
140
|
"prose": "Indicates that the user agent can choose either the sRGB or linearRGB spaces for filter effects color operations. This option indicates that the author doesn’t require that color operations occur in a particular color space.",
|
|
141
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#valdef-color-interpolation-filters-auto",
|
|
126
142
|
"type": "value",
|
|
127
143
|
"value": "auto"
|
|
128
144
|
},
|
|
129
145
|
{
|
|
130
146
|
"name": "sRGB",
|
|
131
147
|
"prose": "Indicates that filter effects color operations should occur in the gamma-encoded sRGB color space.",
|
|
148
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#valdef-color-interpolation-filters-srgb",
|
|
132
149
|
"type": "value",
|
|
133
150
|
"value": "sRGB"
|
|
134
151
|
},
|
|
135
152
|
{
|
|
136
153
|
"name": "linearRGB",
|
|
137
154
|
"prose": "Indicates that filter effects color operations should occur in the linear-light sRGB color space.",
|
|
155
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#valdef-color-interpolation-filters-linearrgb",
|
|
138
156
|
"type": "value",
|
|
139
157
|
"value": "linearRGB"
|
|
140
158
|
}
|
|
@@ -146,6 +164,7 @@
|
|
|
146
164
|
},
|
|
147
165
|
{
|
|
148
166
|
"name": "lighting-color",
|
|
167
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#propdef-lighting-color",
|
|
149
168
|
"value": "<color>",
|
|
150
169
|
"initial": "white",
|
|
151
170
|
"appliesTo": "feDiffuseLighting and feSpecularLighting elements",
|
|
@@ -166,21 +185,25 @@
|
|
|
166
185
|
"values": [
|
|
167
186
|
{
|
|
168
187
|
"name": "<filter-value-list>",
|
|
188
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#typedef-filter-value-list",
|
|
169
189
|
"type": "type",
|
|
170
190
|
"value": "[ <filter-function> | <url> ]+"
|
|
171
191
|
},
|
|
172
192
|
{
|
|
173
193
|
"name": "<filter-function>",
|
|
194
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#typedef-filter-function",
|
|
174
195
|
"type": "type",
|
|
175
196
|
"value": "<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <sepia()> | <saturate()>"
|
|
176
197
|
},
|
|
177
198
|
{
|
|
178
199
|
"name": "<number-optional-number>",
|
|
179
200
|
"value": "<number> <number>?",
|
|
201
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#typedef-number-optional-number",
|
|
180
202
|
"type": "type"
|
|
181
203
|
},
|
|
182
204
|
{
|
|
183
205
|
"name": "filter()",
|
|
206
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#funcdef-filter",
|
|
184
207
|
"type": "function",
|
|
185
208
|
"value": "filter( [ <image> | <string> ], <filter-value-list> )"
|
|
186
209
|
}
|
|
@@ -189,6 +212,7 @@
|
|
|
189
212
|
{
|
|
190
213
|
"msg": "Dangling value",
|
|
191
214
|
"name": "<filter-primitive-reference>",
|
|
215
|
+
"href": "https://drafts.fxtf.org/filter-effects-1/#typedef-result-filter-primitive-reference",
|
|
192
216
|
"type": "type",
|
|
193
217
|
"for": "result"
|
|
194
218
|
}
|