@webref/css 5.4.3 → 6.0.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/CHANGELOG.md +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +150 -30
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -11
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +371 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-masking.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Masking Module Level 1",
|
|
4
4
|
"url": "https://drafts.fxtf.org/css-masking-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "clip-path",
|
|
9
9
|
"value": "<clip-source> | [ <basic-shape> || <geometry-box> ] | none",
|
|
10
10
|
"initial": "none",
|
|
@@ -15,12 +15,32 @@
|
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "by computed value",
|
|
17
17
|
"media": "visual",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "fill-box",
|
|
21
|
+
"prose": "Uses the object bounding box as reference box.",
|
|
22
|
+
"type": "value",
|
|
23
|
+
"value": "fill-box"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "stroke-box",
|
|
27
|
+
"prose": "Uses the stroke bounding box as reference box.",
|
|
28
|
+
"type": "value",
|
|
29
|
+
"value": "stroke-box"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "view-box",
|
|
33
|
+
"prose": "Uses the nearest SVG viewport as reference box. If a viewBox attribute is specified for the SVG viewport creating element: The reference box is positioned at the origin of the coordinate system established by the viewBox attribute. The dimension of the reference box is set to the width and height values of the viewBox attribute.",
|
|
34
|
+
"type": "value",
|
|
35
|
+
"value": "view-box"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
18
38
|
"styleDeclaration": [
|
|
19
39
|
"clip-path",
|
|
20
40
|
"clipPath"
|
|
21
41
|
]
|
|
22
42
|
},
|
|
23
|
-
|
|
43
|
+
{
|
|
24
44
|
"name": "clip-rule",
|
|
25
45
|
"value": "nonzero | evenodd",
|
|
26
46
|
"initial": "nonzero",
|
|
@@ -31,12 +51,26 @@
|
|
|
31
51
|
"canonicalOrder": "per grammar",
|
|
32
52
|
"animationType": "discrete",
|
|
33
53
|
"media": "visual",
|
|
54
|
+
"values": [
|
|
55
|
+
{
|
|
56
|
+
"name": "nonzero",
|
|
57
|
+
"prose": "See description of fill-rule property [SVG11].",
|
|
58
|
+
"type": "value",
|
|
59
|
+
"value": "nonzero"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "evenodd",
|
|
63
|
+
"prose": "See description of fill-rule property [SVG11].",
|
|
64
|
+
"type": "value",
|
|
65
|
+
"value": "evenodd"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
34
68
|
"styleDeclaration": [
|
|
35
69
|
"clip-rule",
|
|
36
70
|
"clipRule"
|
|
37
71
|
]
|
|
38
72
|
},
|
|
39
|
-
|
|
73
|
+
{
|
|
40
74
|
"name": "mask-image",
|
|
41
75
|
"value": "<mask-reference>#",
|
|
42
76
|
"initial": "none",
|
|
@@ -47,12 +81,20 @@
|
|
|
47
81
|
"canonicalOrder": "per grammar",
|
|
48
82
|
"animationType": "discrete",
|
|
49
83
|
"media": "visual",
|
|
84
|
+
"values": [
|
|
85
|
+
{
|
|
86
|
+
"name": "<url>",
|
|
87
|
+
"prose": "A URL reference to a mask element (for example url(commonmasks.svg#mask)) or to a CSS image.",
|
|
88
|
+
"type": "value",
|
|
89
|
+
"value": "<url>"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
50
92
|
"styleDeclaration": [
|
|
51
93
|
"mask-image",
|
|
52
94
|
"maskImage"
|
|
53
95
|
]
|
|
54
96
|
},
|
|
55
|
-
|
|
97
|
+
{
|
|
56
98
|
"name": "mask-mode",
|
|
57
99
|
"value": "<masking-mode>#",
|
|
58
100
|
"initial": "match-source",
|
|
@@ -63,12 +105,32 @@
|
|
|
63
105
|
"canonicalOrder": "per grammar",
|
|
64
106
|
"animationType": "discrete",
|
|
65
107
|
"media": "visual",
|
|
108
|
+
"values": [
|
|
109
|
+
{
|
|
110
|
+
"name": "alpha",
|
|
111
|
+
"prose": "A value of alpha indicates that the alpha values of the mask layer image should be used as the mask values. See Calculating mask values.",
|
|
112
|
+
"type": "value",
|
|
113
|
+
"value": "alpha"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "luminance",
|
|
117
|
+
"prose": "A value of luminance indicates that the luminance values of the mask layer image should be used as the mask values. See Calculating mask values.",
|
|
118
|
+
"type": "value",
|
|
119
|
+
"value": "luminance"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "match-source",
|
|
123
|
+
"prose": "If the <mask-reference> of the mask-image property is of type <mask-source> the value specified by the referenced mask element’s mask-type property must be used. If the <mask-reference> of the mask-image property is of type <image> the alpha values of the mask layer image should be used as the mask values.",
|
|
124
|
+
"type": "value",
|
|
125
|
+
"value": "match-source"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
66
128
|
"styleDeclaration": [
|
|
67
129
|
"mask-mode",
|
|
68
130
|
"maskMode"
|
|
69
131
|
]
|
|
70
132
|
},
|
|
71
|
-
|
|
133
|
+
{
|
|
72
134
|
"name": "mask-repeat",
|
|
73
135
|
"value": "<repeat-style>#",
|
|
74
136
|
"initial": "repeat",
|
|
@@ -84,7 +146,7 @@
|
|
|
84
146
|
"maskRepeat"
|
|
85
147
|
]
|
|
86
148
|
},
|
|
87
|
-
|
|
149
|
+
{
|
|
88
150
|
"name": "mask-position",
|
|
89
151
|
"value": "<position>#",
|
|
90
152
|
"initial": "0% 0%",
|
|
@@ -100,7 +162,7 @@
|
|
|
100
162
|
"maskPosition"
|
|
101
163
|
]
|
|
102
164
|
},
|
|
103
|
-
|
|
165
|
+
{
|
|
104
166
|
"name": "mask-clip",
|
|
105
167
|
"value": "[ <geometry-box> | no-clip ]#",
|
|
106
168
|
"initial": "border-box",
|
|
@@ -111,12 +173,56 @@
|
|
|
111
173
|
"canonicalOrder": "per grammar",
|
|
112
174
|
"animationType": "discrete",
|
|
113
175
|
"media": "visual",
|
|
176
|
+
"values": [
|
|
177
|
+
{
|
|
178
|
+
"name": "content-box",
|
|
179
|
+
"prose": "The painted content is restricted to (clipped to) the content box.",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"value": "content-box"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "padding-box",
|
|
185
|
+
"prose": "The painted content is restricted to (clipped to) the padding box.",
|
|
186
|
+
"type": "value",
|
|
187
|
+
"value": "padding-box"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "border-box",
|
|
191
|
+
"prose": "The painted content is restricted to (clipped to) the border box.",
|
|
192
|
+
"type": "value",
|
|
193
|
+
"value": "border-box"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "fill-box",
|
|
197
|
+
"prose": "The painted content is restricted to (clipped to) the object bounding box.",
|
|
198
|
+
"type": "value",
|
|
199
|
+
"value": "fill-box"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "stroke-box",
|
|
203
|
+
"prose": "The painted content is restricted to (clipped to) the stroke bounding box.",
|
|
204
|
+
"type": "value",
|
|
205
|
+
"value": "stroke-box"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "view-box",
|
|
209
|
+
"prose": "Uses the nearest SVG viewport as reference box. If a viewBox attribute is specified for the SVG viewport creating element: The reference box is positioned at the origin of the coordinate system established by the viewBox attribute. The dimension of the reference box is set to the width and height values of the viewBox attribute.",
|
|
210
|
+
"type": "value",
|
|
211
|
+
"value": "view-box"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "no-clip",
|
|
215
|
+
"prose": "The painted content is not restricted (not clipped).",
|
|
216
|
+
"type": "value",
|
|
217
|
+
"value": "no-clip"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
114
220
|
"styleDeclaration": [
|
|
115
221
|
"mask-clip",
|
|
116
222
|
"maskClip"
|
|
117
223
|
]
|
|
118
224
|
},
|
|
119
|
-
|
|
225
|
+
{
|
|
120
226
|
"name": "mask-origin",
|
|
121
227
|
"value": "<geometry-box>#",
|
|
122
228
|
"initial": "border-box",
|
|
@@ -127,12 +233,50 @@
|
|
|
127
233
|
"canonicalOrder": "per grammar",
|
|
128
234
|
"animationType": "discrete",
|
|
129
235
|
"media": "visual",
|
|
236
|
+
"values": [
|
|
237
|
+
{
|
|
238
|
+
"name": "content-box",
|
|
239
|
+
"prose": "The position is relative to the content box.",
|
|
240
|
+
"type": "value",
|
|
241
|
+
"value": "content-box"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "padding-box",
|
|
245
|
+
"prose": "The position is relative to the padding box. (For single boxes 0 0 is the upper left corner of the padding edge, 100% 100% is the lower right corner.)",
|
|
246
|
+
"type": "value",
|
|
247
|
+
"value": "padding-box"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "border-box",
|
|
251
|
+
"prose": "The position is relative to the border box.",
|
|
252
|
+
"type": "value",
|
|
253
|
+
"value": "border-box"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "fill-box",
|
|
257
|
+
"prose": "The position is relative to the object bounding box.",
|
|
258
|
+
"type": "value",
|
|
259
|
+
"value": "fill-box"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "stroke-box",
|
|
263
|
+
"prose": "The position is relative to the stroke bounding box.",
|
|
264
|
+
"type": "value",
|
|
265
|
+
"value": "stroke-box"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "view-box",
|
|
269
|
+
"prose": "Uses the nearest SVG viewport as reference box. If a viewBox attribute is specified for the SVG viewport creating element: The reference box is positioned at the origin of the coordinate system established by the viewBox attribute. The dimension of the reference box is set to the width and height values of the viewBox attribute.",
|
|
270
|
+
"type": "value",
|
|
271
|
+
"value": "view-box"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
130
274
|
"styleDeclaration": [
|
|
131
275
|
"mask-origin",
|
|
132
276
|
"maskOrigin"
|
|
133
277
|
]
|
|
134
278
|
},
|
|
135
|
-
|
|
279
|
+
{
|
|
136
280
|
"name": "mask-size",
|
|
137
281
|
"value": "<bg-size>#",
|
|
138
282
|
"initial": "auto",
|
|
@@ -148,7 +292,7 @@
|
|
|
148
292
|
"maskSize"
|
|
149
293
|
]
|
|
150
294
|
},
|
|
151
|
-
|
|
295
|
+
{
|
|
152
296
|
"name": "mask-composite",
|
|
153
297
|
"value": "<compositing-operator>#",
|
|
154
298
|
"initial": "add",
|
|
@@ -159,12 +303,38 @@
|
|
|
159
303
|
"canonicalOrder": "per grammar",
|
|
160
304
|
"animationType": "discrete",
|
|
161
305
|
"media": "visual",
|
|
306
|
+
"values": [
|
|
307
|
+
{
|
|
308
|
+
"name": "add",
|
|
309
|
+
"prose": "The source is placed over the destination. (See Porter-Duff compositing operator source over for more details.)",
|
|
310
|
+
"type": "value",
|
|
311
|
+
"value": "add"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "subtract",
|
|
315
|
+
"prose": "The source is placed, where it falls outside of the destination. (See Porter-Duff compositing operator source out for more details.)",
|
|
316
|
+
"type": "value",
|
|
317
|
+
"value": "subtract"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "intersect",
|
|
321
|
+
"prose": "The parts of source that overlap the destination, replace the destination. (See Porter-Duff compositing operator source in .)",
|
|
322
|
+
"type": "value",
|
|
323
|
+
"value": "intersect"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "exclude",
|
|
327
|
+
"prose": "The non-overlapping regions of source and destination are combined. (See Porter-Duff compositing operator XOR.)",
|
|
328
|
+
"type": "value",
|
|
329
|
+
"value": "exclude"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
162
332
|
"styleDeclaration": [
|
|
163
333
|
"mask-composite",
|
|
164
334
|
"maskComposite"
|
|
165
335
|
]
|
|
166
336
|
},
|
|
167
|
-
|
|
337
|
+
{
|
|
168
338
|
"name": "mask",
|
|
169
339
|
"value": "<mask-layer>#",
|
|
170
340
|
"initial": "see individual properties",
|
|
@@ -179,7 +349,7 @@
|
|
|
179
349
|
"mask"
|
|
180
350
|
]
|
|
181
351
|
},
|
|
182
|
-
|
|
352
|
+
{
|
|
183
353
|
"name": "mask-border-source",
|
|
184
354
|
"value": "none | <image>",
|
|
185
355
|
"initial": "none",
|
|
@@ -195,7 +365,7 @@
|
|
|
195
365
|
"maskBorderSource"
|
|
196
366
|
]
|
|
197
367
|
},
|
|
198
|
-
|
|
368
|
+
{
|
|
199
369
|
"name": "mask-border-mode",
|
|
200
370
|
"value": "luminance | alpha",
|
|
201
371
|
"initial": "alpha",
|
|
@@ -206,12 +376,26 @@
|
|
|
206
376
|
"canonicalOrder": "per grammar",
|
|
207
377
|
"animationType": "discrete",
|
|
208
378
|
"media": "visual",
|
|
379
|
+
"values": [
|
|
380
|
+
{
|
|
381
|
+
"name": "alpha",
|
|
382
|
+
"prose": "A value of alpha indicates that the alpha values of the mask border image should be used as the mask values. See Calculating mask values.",
|
|
383
|
+
"type": "value",
|
|
384
|
+
"value": "alpha"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "luminance",
|
|
388
|
+
"prose": "A value of luminance indicates that the luminance values of the mask border image should be used as the mask values. See Calculating mask values.",
|
|
389
|
+
"type": "value",
|
|
390
|
+
"value": "luminance"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
209
393
|
"styleDeclaration": [
|
|
210
394
|
"mask-border-mode",
|
|
211
395
|
"maskBorderMode"
|
|
212
396
|
]
|
|
213
397
|
},
|
|
214
|
-
|
|
398
|
+
{
|
|
215
399
|
"name": "mask-border-slice",
|
|
216
400
|
"value": "[ <number> | <percentage> ]{1,4} fill?",
|
|
217
401
|
"initial": "0",
|
|
@@ -222,12 +406,20 @@
|
|
|
222
406
|
"canonicalOrder": "per grammar",
|
|
223
407
|
"animationType": "discrete",
|
|
224
408
|
"media": "visual",
|
|
409
|
+
"values": [
|
|
410
|
+
{
|
|
411
|
+
"name": "fill",
|
|
412
|
+
"prose": "This property specifies inward offsets from the top, right, bottom, and left edges of the mask border image, dividing it into nine regions: four corners, four edges and a middle. The middle image part is discarded and treated as fully opaque white (the content covered by the middle part is not masked and shines through) unless the fill keyword is present.",
|
|
413
|
+
"type": "value",
|
|
414
|
+
"value": "fill"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
225
417
|
"styleDeclaration": [
|
|
226
418
|
"mask-border-slice",
|
|
227
419
|
"maskBorderSlice"
|
|
228
420
|
]
|
|
229
421
|
},
|
|
230
|
-
|
|
422
|
+
{
|
|
231
423
|
"name": "mask-border-width",
|
|
232
424
|
"value": "[ <length-percentage> | <number> | auto ]{1,4}",
|
|
233
425
|
"initial": "auto",
|
|
@@ -243,7 +435,7 @@
|
|
|
243
435
|
"maskBorderWidth"
|
|
244
436
|
]
|
|
245
437
|
},
|
|
246
|
-
|
|
438
|
+
{
|
|
247
439
|
"name": "mask-border-outset",
|
|
248
440
|
"value": "[ <length> | <number> ]{1,4}",
|
|
249
441
|
"initial": "0",
|
|
@@ -259,7 +451,7 @@
|
|
|
259
451
|
"maskBorderOutset"
|
|
260
452
|
]
|
|
261
453
|
},
|
|
262
|
-
|
|
454
|
+
{
|
|
263
455
|
"name": "mask-border-repeat",
|
|
264
456
|
"value": "[ stretch | repeat | round | space ]{1,2}",
|
|
265
457
|
"initial": "stretch",
|
|
@@ -275,7 +467,7 @@
|
|
|
275
467
|
"maskBorderRepeat"
|
|
276
468
|
]
|
|
277
469
|
},
|
|
278
|
-
|
|
470
|
+
{
|
|
279
471
|
"name": "mask-border",
|
|
280
472
|
"value": "<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",
|
|
281
473
|
"initial": "See individual properties",
|
|
@@ -291,7 +483,7 @@
|
|
|
291
483
|
"maskBorder"
|
|
292
484
|
]
|
|
293
485
|
},
|
|
294
|
-
|
|
486
|
+
{
|
|
295
487
|
"name": "mask-type",
|
|
296
488
|
"value": "luminance | alpha",
|
|
297
489
|
"initial": "luminance",
|
|
@@ -302,12 +494,26 @@
|
|
|
302
494
|
"canonicalOrder": "per grammar",
|
|
303
495
|
"animationType": "discrete",
|
|
304
496
|
"media": "visual",
|
|
497
|
+
"values": [
|
|
498
|
+
{
|
|
499
|
+
"name": "luminance",
|
|
500
|
+
"prose": "Indicates that the luminance values of the mask should be used.",
|
|
501
|
+
"type": "value",
|
|
502
|
+
"value": "luminance"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "alpha",
|
|
506
|
+
"prose": "Indicates that the alpha values of the mask should be used.",
|
|
507
|
+
"type": "value",
|
|
508
|
+
"value": "alpha"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
305
511
|
"styleDeclaration": [
|
|
306
512
|
"mask-type",
|
|
307
513
|
"maskType"
|
|
308
514
|
]
|
|
309
515
|
},
|
|
310
|
-
|
|
516
|
+
{
|
|
311
517
|
"name": "clip",
|
|
312
518
|
"value": "<rect()> | auto",
|
|
313
519
|
"initial": "auto",
|
|
@@ -318,48 +524,125 @@
|
|
|
318
524
|
"canonicalOrder": "per grammar",
|
|
319
525
|
"animationType": "by computed value",
|
|
320
526
|
"media": "visual",
|
|
527
|
+
"values": [
|
|
528
|
+
{
|
|
529
|
+
"name": "rect()",
|
|
530
|
+
"value": "rect( <top>, <right>, <bottom>, <left> )",
|
|
531
|
+
"type": "function"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "<top>",
|
|
535
|
+
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
|
|
536
|
+
"type": "type"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "<right>",
|
|
540
|
+
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
|
|
541
|
+
"type": "type"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "<bottom>",
|
|
545
|
+
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
|
|
546
|
+
"type": "type"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "<left>",
|
|
550
|
+
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box).",
|
|
551
|
+
"type": "type"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
321
554
|
"styleDeclaration": [
|
|
322
555
|
"clip"
|
|
323
556
|
]
|
|
324
557
|
}
|
|
325
|
-
|
|
326
|
-
"atrules":
|
|
327
|
-
"
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
|
|
333
|
-
},
|
|
334
|
-
"<right>": {
|
|
335
|
-
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
|
|
336
|
-
},
|
|
337
|
-
"<bottom>": {
|
|
338
|
-
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
|
|
339
|
-
},
|
|
340
|
-
"<left>": {
|
|
341
|
-
"prose": "<top>, <right>, <bottom>, and <left> may either have a <length> value or auto. Negative lengths are permitted. The value auto means that a given edge of the clipping region will be the same as the edge of the element’s generated border box (i.e., auto means the same as 0 for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four auto values result in the clipping region being the same as the element’s border box)."
|
|
342
|
-
},
|
|
343
|
-
"<clip-source>": {
|
|
558
|
+
],
|
|
559
|
+
"atrules": [],
|
|
560
|
+
"selectors": [],
|
|
561
|
+
"values": [
|
|
562
|
+
{
|
|
563
|
+
"name": "<clip-source>",
|
|
564
|
+
"type": "type",
|
|
344
565
|
"value": "<url>"
|
|
345
566
|
},
|
|
346
|
-
|
|
567
|
+
{
|
|
568
|
+
"name": "<geometry-box>",
|
|
569
|
+
"type": "type",
|
|
347
570
|
"value": "<shape-box> | fill-box | stroke-box | view-box"
|
|
348
571
|
},
|
|
349
|
-
|
|
572
|
+
{
|
|
573
|
+
"name": "<mask-reference>",
|
|
574
|
+
"type": "type",
|
|
350
575
|
"value": "none | <image> | <mask-source>"
|
|
351
576
|
},
|
|
352
|
-
|
|
577
|
+
{
|
|
578
|
+
"name": "<mask-source>",
|
|
579
|
+
"type": "type",
|
|
353
580
|
"value": "<url>"
|
|
354
581
|
},
|
|
355
|
-
|
|
582
|
+
{
|
|
583
|
+
"name": "<masking-mode>",
|
|
584
|
+
"type": "type",
|
|
356
585
|
"value": "alpha | luminance | match-source"
|
|
357
586
|
},
|
|
358
|
-
|
|
587
|
+
{
|
|
588
|
+
"name": "<compositing-operator>",
|
|
589
|
+
"type": "type",
|
|
359
590
|
"value": "add | subtract | intersect | exclude"
|
|
360
591
|
},
|
|
361
|
-
|
|
592
|
+
{
|
|
593
|
+
"name": "<mask-layer>",
|
|
594
|
+
"type": "type",
|
|
362
595
|
"value": "<mask-reference> || <position> [ / <bg-size> ]? ||<repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
|
|
363
596
|
}
|
|
364
|
-
|
|
597
|
+
],
|
|
598
|
+
"warnings": [
|
|
599
|
+
{
|
|
600
|
+
"msg": "Dangling value",
|
|
601
|
+
"name": "userSpaceOnUse",
|
|
602
|
+
"prose": "The contents of the clipPath represent values in the current user coordinate system in place at the time when the clipPath element is referenced (i.e., the user coordinate system for the element referencing the clipPath element via the clip-path property).",
|
|
603
|
+
"type": "value",
|
|
604
|
+
"value": "userSpaceOnUse",
|
|
605
|
+
"for": "clipPathUnits"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"msg": "Dangling value",
|
|
609
|
+
"name": "objectBoundingBox",
|
|
610
|
+
"prose": "The coordinate system has its origin at the top left corner of the bounding box of the element to which the clipping path applies to and the same width and height of this bounding box. User coordinates are sized equivalently to the CSS px unit.",
|
|
611
|
+
"type": "value",
|
|
612
|
+
"value": "objectBoundingBox",
|
|
613
|
+
"for": "clipPathUnits"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"msg": "Dangling value",
|
|
617
|
+
"name": "userSpaceOnUse",
|
|
618
|
+
"prose": "x, y, width and height represent values in the current user coordinate system [CSS3-TRANSFORMS] in place at the time when the mask element is referenced (i.e., the user coordinate system for the element referencing the mask element via the mask property).",
|
|
619
|
+
"type": "value",
|
|
620
|
+
"value": "userSpaceOnUse",
|
|
621
|
+
"for": "maskUnits"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"msg": "Dangling value",
|
|
625
|
+
"name": "objectBoundingBox",
|
|
626
|
+
"prose": "x, y, width and height represent fractions or percentages of the object bounding box of the element to which the mask is applied. User coordinates are sized equivalently to the CSS px unit.",
|
|
627
|
+
"type": "value",
|
|
628
|
+
"value": "objectBoundingBox",
|
|
629
|
+
"for": "maskUnits"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"msg": "Dangling value",
|
|
633
|
+
"name": "userSpaceOnUse",
|
|
634
|
+
"prose": "The user coordinate system for the contents of the mask element is the current user coordinate system in place at the time when the mask element is referenced (i.e., the user coordinate system for the element referencing the mask element via the mask property).",
|
|
635
|
+
"type": "value",
|
|
636
|
+
"value": "userSpaceOnUse",
|
|
637
|
+
"for": "maskContentUnits"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"msg": "Dangling value",
|
|
641
|
+
"name": "objectBoundingBox",
|
|
642
|
+
"prose": "The coordinate system has its origin at the top left corner of the bounding box of the element to which the clipping path applies to and the same width and height of this bounding box. User coordinates are sized equivalently to the CSS px unit.",
|
|
643
|
+
"type": "value",
|
|
644
|
+
"value": "objectBoundingBox",
|
|
645
|
+
"for": "maskContentUnits"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
365
648
|
}
|
package/css-multicol-2.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Multi-column Layout Module Level 2",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-multicol-2/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "column-span",
|
|
9
9
|
"value": "none | <integer [1,∞]> | all | auto",
|
|
10
10
|
"initial": "none",
|
|
@@ -14,12 +14,39 @@
|
|
|
14
14
|
"computedValue": "specified value",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "none",
|
|
20
|
+
"prose": "Add final content from previous level",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "none"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "all",
|
|
26
|
+
"prose": "Add final content from previous level",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "all"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "<integer [1,∞]>",
|
|
32
|
+
"prose": "The element spans the specified number of columns. Values must be greater than 0. If the specified integer value is equal to, or larger than the number of columns in the multicol element, the number of columns spanned will be the same as if column-span: all had been specified. This definition is insufficient. Does column-span: 1 count as column-span: none, or does it create a spanner (which is a BFC)? Which columns does it span? How does that affect height calculations, and interact with column-fill",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "<integer [1,∞]>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "auto",
|
|
38
|
+
"prose": "The number of columns spanned by the element depends on its min-content outer size in the inline direction of the multi-column container. If it is smaller than the used value of column-width, this is the same as if column-span: none had been specified. Otherwise, the number of columns spanned is the smallest positive integer n for which n × column-width + (n - 1) × column-gap is larger than the min-content outer size. If this would be larger than the number of columns, the number of columns spanned will be the same as if column-span: all had been specified. If column-span: 1 does not do the same as column-span: none, should this behave as column-span: 1 or as column-span: none when the element is small enough?",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "auto"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
17
43
|
"styleDeclaration": [
|
|
18
44
|
"column-span",
|
|
19
45
|
"columnSpan"
|
|
20
46
|
]
|
|
21
47
|
}
|
|
22
|
-
|
|
23
|
-
"atrules":
|
|
24
|
-
"
|
|
48
|
+
],
|
|
49
|
+
"atrules": [],
|
|
50
|
+
"selectors": [],
|
|
51
|
+
"values": []
|
|
25
52
|
}
|