@webref/css 6.8.3 → 6.9.1
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-anchor-position.json +153 -3
- package/css-backgrounds-4.json +18 -3
- package/css-borders.json +30 -0
- package/css-box.json +103 -84
- package/css-color-5.json +15 -5
- package/css-color.json +1 -1
- package/css-content.json +1 -1
- package/css-counter-styles.json +1 -1
- package/css-fonts.json +0 -6
- package/css-grid-3.json +0 -30
- package/css-grid.json +2 -2
- package/css-images-4.json +1 -1
- package/css-inline.json +7 -7
- package/css-page-floats.json +1 -1
- package/css-page.json +3 -3
- package/css-position.json +3 -3
- package/css-shapes-2.json +12 -4
- package/css-shapes.json +1 -1
- package/css-speech.json +2 -2
- package/css-text-4.json +5 -5
- package/css-text-decor-4.json +2 -2
- package/css-text.json +1 -1
- package/css-ui.json +29 -0
- package/css-values-5.json +145 -6
- package/css-values.json +7 -27
- package/css-view-transitions-2.json +12 -6
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -48,6 +48,41 @@
|
|
|
48
48
|
"anchorDefault"
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
"name": "inset-area",
|
|
53
|
+
"value": "none | <inset-area-span> [ / <inset-area-span> ]?",
|
|
54
|
+
"initial": "none",
|
|
55
|
+
"appliesTo": "positioned elements with a default anchor element",
|
|
56
|
+
"inherited": "no",
|
|
57
|
+
"percentages": "n/a",
|
|
58
|
+
"computedValue": "as specified",
|
|
59
|
+
"canonicalOrder": "per grammar",
|
|
60
|
+
"animationType": "TBD",
|
|
61
|
+
"values": [
|
|
62
|
+
{
|
|
63
|
+
"name": "none",
|
|
64
|
+
"prose": "The property has no effect.",
|
|
65
|
+
"type": "value",
|
|
66
|
+
"value": "none"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "<inset-area-span>",
|
|
70
|
+
"prose": "Behaves as <inset-area-span> / all, filling the entire row/column of the grid indicated by the specified value.",
|
|
71
|
+
"type": "value",
|
|
72
|
+
"value": "<inset-area-span>"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "<inset-area-span> [ / <inset-area-span> ]?",
|
|
76
|
+
"prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the two spans define a rectangular region of the inset-area grid, and have the following effects: Any auto inset properties compute to the appropriate value to match the rectangular region. The normal value for the self-alignment properties behaves as either start, end, or anchor-center, depending on the positioning of the region, to give a good default alignment for the positioned element. See § 3.1.1 Resolving <inset-area-span>s for details on both of these effects. If the two <inset-area-span>s do not define a valid region, this property is invalid.",
|
|
77
|
+
"type": "value",
|
|
78
|
+
"value": "<inset-area-span> [ / <inset-area-span> ]?"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"styleDeclaration": [
|
|
82
|
+
"inset-area",
|
|
83
|
+
"insetArea"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
51
86
|
{
|
|
52
87
|
"name": "justify-self",
|
|
53
88
|
"newValues": "anchor-center",
|
|
@@ -180,9 +215,124 @@
|
|
|
180
215
|
],
|
|
181
216
|
"selectors": [],
|
|
182
217
|
"values": [
|
|
218
|
+
{
|
|
219
|
+
"name": "<inset-area-span>",
|
|
220
|
+
"type": "type",
|
|
221
|
+
"value": "[ start || end || center ] | [ self-start || self-end || center ] | [ top || bottom || center ] | [ left || right || center ] | [ x-start || x-end || center ] | [ y-start || y-end || center ] | [ x-self-start || x-self-end || center ] | [ y-self-start || y-self-end || center ] | all",
|
|
222
|
+
"values": [
|
|
223
|
+
{
|
|
224
|
+
"name": "all",
|
|
225
|
+
"prose": "All three regions of that axis, spanning the entire breadth of the containing block.",
|
|
226
|
+
"type": "value",
|
|
227
|
+
"value": "all"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "start",
|
|
231
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
232
|
+
"type": "value",
|
|
233
|
+
"value": "start"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "end",
|
|
237
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
238
|
+
"type": "value",
|
|
239
|
+
"value": "end"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "self-start",
|
|
243
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
244
|
+
"type": "value",
|
|
245
|
+
"value": "self-start"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "self-end",
|
|
249
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
250
|
+
"type": "value",
|
|
251
|
+
"value": "self-end"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "top",
|
|
255
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
256
|
+
"type": "value",
|
|
257
|
+
"value": "top"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "bottom",
|
|
261
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
262
|
+
"type": "value",
|
|
263
|
+
"value": "bottom"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "left",
|
|
267
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
268
|
+
"type": "value",
|
|
269
|
+
"value": "left"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "right",
|
|
273
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
274
|
+
"type": "value",
|
|
275
|
+
"value": "right"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "y-start",
|
|
279
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
280
|
+
"type": "value",
|
|
281
|
+
"value": "y-start"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "y-end",
|
|
285
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
286
|
+
"type": "value",
|
|
287
|
+
"value": "y-end"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "y-self-start",
|
|
291
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
292
|
+
"type": "value",
|
|
293
|
+
"value": "y-self-start"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "y-self-end",
|
|
297
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
298
|
+
"type": "value",
|
|
299
|
+
"value": "y-self-end"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "x-start",
|
|
303
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
304
|
+
"type": "value",
|
|
305
|
+
"value": "x-start"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "x-end",
|
|
309
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
310
|
+
"type": "value",
|
|
311
|
+
"value": "x-end"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "x-self-start",
|
|
315
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
316
|
+
"type": "value",
|
|
317
|
+
"value": "x-self-start"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "x-self-end",
|
|
321
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
322
|
+
"type": "value",
|
|
323
|
+
"value": "x-self-end"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "center",
|
|
327
|
+
"prose": "Any single keyword refers just to that region in the axis. Like in anchor(), the plain logical keywords (start, end, etc) refer to the writing mode of the element’s containing block. The x-start/etc determine their direction in the same way, but in the specified physical axis. The \"self\" logical keyword (self-start, x-self-end, etc) are identical, but refer to the element’s own writing mode.",
|
|
328
|
+
"type": "value",
|
|
329
|
+
"value": "center"
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
},
|
|
183
333
|
{
|
|
184
334
|
"name": "anchor()",
|
|
185
|
-
"prose": "An absolutely-positioned element can use the anchor() function in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length
|
|
335
|
+
"prose": "An absolutely-positioned element can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length>.",
|
|
186
336
|
"type": "function",
|
|
187
337
|
"value": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
|
|
188
338
|
"values": [
|
|
@@ -200,13 +350,13 @@
|
|
|
200
350
|
},
|
|
201
351
|
{
|
|
202
352
|
"name": "auto",
|
|
203
|
-
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.
|
|
353
|
+
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.2.1 Automatic Anchor Positioning for more details.",
|
|
204
354
|
"type": "value",
|
|
205
355
|
"value": "auto"
|
|
206
356
|
},
|
|
207
357
|
{
|
|
208
358
|
"name": "auto-same",
|
|
209
|
-
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.
|
|
359
|
+
"prose": "Resolves to one of the anchor element’s sides, depending on which inset property it’s used in. Also triggers automatic fallback behavior. See § 3.2.1 Automatic Anchor Positioning for more details.",
|
|
210
360
|
"type": "value",
|
|
211
361
|
"value": "auto-same"
|
|
212
362
|
},
|
package/css-backgrounds-4.json
CHANGED
|
@@ -97,6 +97,21 @@
|
|
|
97
97
|
"background-clip",
|
|
98
98
|
"backgroundClip"
|
|
99
99
|
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "background-tbd",
|
|
103
|
+
"value": "<bg-layer>#",
|
|
104
|
+
"initial": "see individual properties",
|
|
105
|
+
"appliesTo": "all elements",
|
|
106
|
+
"inherited": "no",
|
|
107
|
+
"percentages": "see individual properties",
|
|
108
|
+
"computedValue": "see individual properties",
|
|
109
|
+
"canonicalOrder": "per grammar",
|
|
110
|
+
"animationType": "see individual properties",
|
|
111
|
+
"styleDeclaration": [
|
|
112
|
+
"background-tbd",
|
|
113
|
+
"backgroundTbd"
|
|
114
|
+
]
|
|
100
115
|
}
|
|
101
116
|
],
|
|
102
117
|
"atrules": [],
|
|
@@ -110,13 +125,13 @@
|
|
|
110
125
|
{
|
|
111
126
|
"name": "<bg-clip>",
|
|
112
127
|
"type": "type",
|
|
113
|
-
"value": "<box> | border | text",
|
|
128
|
+
"value": "<visual-box> | border | text",
|
|
114
129
|
"values": [
|
|
115
130
|
{
|
|
116
|
-
"name": "<box>",
|
|
131
|
+
"name": "<visual-box>",
|
|
117
132
|
"prose": "The background is painted within (clipped to) the specified box of the element.",
|
|
118
133
|
"type": "value",
|
|
119
|
-
"value": "<box>"
|
|
134
|
+
"value": "<visual-box>"
|
|
120
135
|
},
|
|
121
136
|
{
|
|
122
137
|
"name": "text",
|
package/css-borders.json
CHANGED
|
@@ -420,6 +420,36 @@
|
|
|
420
420
|
"computedValue": "list, each item either none or a pair of offsets (horizontal and vertical) from the element‘s box",
|
|
421
421
|
"canonicalOrder": "per grammar",
|
|
422
422
|
"animationType": "by computed value, treating none as 0 0 when interpolated with non-none values.",
|
|
423
|
+
"values": [
|
|
424
|
+
{
|
|
425
|
+
"name": "none",
|
|
426
|
+
"prose": "The shadow will not be rendered. The values of other box shadow properties corresponding to this shadow have no effect.",
|
|
427
|
+
"type": "value",
|
|
428
|
+
"value": "none"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "1st <length>",
|
|
432
|
+
"prose": "Specifies the horizontal offset of the shadow. A positive value draws a shadow that is offset to the right of the box, a negative length to the left.",
|
|
433
|
+
"type": "value",
|
|
434
|
+
"value": "1st <length>"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "horizontal offset",
|
|
438
|
+
"type": "value",
|
|
439
|
+
"value": "horizontal offset"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "2nd <length>",
|
|
443
|
+
"prose": "Specifies the vertical offset of the shadow. A positive value offsets the shadow down, a negative one up.",
|
|
444
|
+
"type": "value",
|
|
445
|
+
"value": "2nd <length>"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "vertical offset",
|
|
449
|
+
"type": "value",
|
|
450
|
+
"value": "vertical offset"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
423
453
|
"styleDeclaration": [
|
|
424
454
|
"box-shadow-offset",
|
|
425
455
|
"boxShadowOffset"
|
package/css-box.json
CHANGED
|
@@ -223,36 +223,127 @@
|
|
|
223
223
|
"atrules": [],
|
|
224
224
|
"selectors": [],
|
|
225
225
|
"values": [
|
|
226
|
+
{
|
|
227
|
+
"name": "<box>",
|
|
228
|
+
"prose": "The following <box> CSS keywords are defined for use in properties (such as transform-box and background-clip) that need to refer to various box edges:",
|
|
229
|
+
"type": "type",
|
|
230
|
+
"values": [
|
|
231
|
+
{
|
|
232
|
+
"name": "content-box",
|
|
233
|
+
"prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
|
|
234
|
+
"type": "value",
|
|
235
|
+
"value": "content-box"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "padding-box",
|
|
239
|
+
"prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
|
|
240
|
+
"type": "value",
|
|
241
|
+
"value": "padding-box"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "border-box",
|
|
245
|
+
"prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
|
|
246
|
+
"type": "value",
|
|
247
|
+
"value": "border-box"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "margin-box",
|
|
251
|
+
"prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
|
|
252
|
+
"type": "value",
|
|
253
|
+
"value": "margin-box"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "fill-box",
|
|
257
|
+
"prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
|
|
258
|
+
"type": "value",
|
|
259
|
+
"value": "fill-box"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "stroke-box",
|
|
263
|
+
"prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
|
|
264
|
+
"type": "value",
|
|
265
|
+
"value": "stroke-box"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "view-box",
|
|
269
|
+
"prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
|
|
270
|
+
"type": "value",
|
|
271
|
+
"value": "view-box"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
226
275
|
{
|
|
227
276
|
"name": "<visual-box>",
|
|
228
277
|
"type": "type",
|
|
229
|
-
"value": "content-box | padding-box | border-box"
|
|
278
|
+
"value": "content-box | padding-box | border-box",
|
|
279
|
+
"values": [
|
|
280
|
+
{
|
|
281
|
+
"name": "content-box",
|
|
282
|
+
"prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
|
|
283
|
+
"type": "value",
|
|
284
|
+
"value": "content-box"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "padding-box",
|
|
288
|
+
"prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
|
|
289
|
+
"type": "value",
|
|
290
|
+
"value": "padding-box"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "border-box",
|
|
294
|
+
"prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
|
|
295
|
+
"type": "value",
|
|
296
|
+
"value": "border-box"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
230
299
|
},
|
|
231
300
|
{
|
|
232
301
|
"name": "<layout-box>",
|
|
233
302
|
"type": "type",
|
|
234
|
-
"value": "
|
|
303
|
+
"value": "<visual-box> | margin-box",
|
|
304
|
+
"values": [
|
|
305
|
+
{
|
|
306
|
+
"name": "margin-box",
|
|
307
|
+
"prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
|
|
308
|
+
"type": "value",
|
|
309
|
+
"value": "margin-box"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
235
312
|
},
|
|
236
313
|
{
|
|
237
314
|
"name": "<paint-box>",
|
|
238
315
|
"type": "type",
|
|
239
|
-
"value": "
|
|
316
|
+
"value": "<visual-box> | fill-box | stroke-box",
|
|
317
|
+
"values": [
|
|
318
|
+
{
|
|
319
|
+
"name": "fill-box",
|
|
320
|
+
"prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
|
|
321
|
+
"type": "value",
|
|
322
|
+
"value": "fill-box"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "stroke-box",
|
|
326
|
+
"prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
|
|
327
|
+
"type": "value",
|
|
328
|
+
"value": "stroke-box"
|
|
329
|
+
}
|
|
330
|
+
]
|
|
240
331
|
},
|
|
241
332
|
{
|
|
242
333
|
"name": "<coord-box>",
|
|
243
334
|
"type": "type",
|
|
244
|
-
"value": "
|
|
335
|
+
"value": "<paint-box> | view-box",
|
|
336
|
+
"values": [
|
|
337
|
+
{
|
|
338
|
+
"name": "view-box",
|
|
339
|
+
"prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
|
|
340
|
+
"type": "value",
|
|
341
|
+
"value": "view-box"
|
|
342
|
+
}
|
|
343
|
+
]
|
|
245
344
|
}
|
|
246
345
|
],
|
|
247
346
|
"warnings": [
|
|
248
|
-
{
|
|
249
|
-
"msg": "Dangling value",
|
|
250
|
-
"name": "content-box",
|
|
251
|
-
"prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
|
|
252
|
-
"type": "value",
|
|
253
|
-
"value": "content-box",
|
|
254
|
-
"for": "<box>"
|
|
255
|
-
},
|
|
256
347
|
{
|
|
257
348
|
"msg": "Dangling value",
|
|
258
349
|
"name": "content-box",
|
|
@@ -269,14 +360,6 @@
|
|
|
269
360
|
"value": "content-box",
|
|
270
361
|
"for": "<geometry-box>"
|
|
271
362
|
},
|
|
272
|
-
{
|
|
273
|
-
"msg": "Dangling value",
|
|
274
|
-
"name": "padding-box",
|
|
275
|
-
"prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
|
|
276
|
-
"type": "value",
|
|
277
|
-
"value": "padding-box",
|
|
278
|
-
"for": "<box>"
|
|
279
|
-
},
|
|
280
363
|
{
|
|
281
364
|
"msg": "Dangling value",
|
|
282
365
|
"name": "padding-box",
|
|
@@ -293,14 +376,6 @@
|
|
|
293
376
|
"value": "padding-box",
|
|
294
377
|
"for": "<geometry-box>"
|
|
295
378
|
},
|
|
296
|
-
{
|
|
297
|
-
"msg": "Dangling value",
|
|
298
|
-
"name": "border-box",
|
|
299
|
-
"prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
|
|
300
|
-
"type": "value",
|
|
301
|
-
"value": "border-box",
|
|
302
|
-
"for": "<box>"
|
|
303
|
-
},
|
|
304
379
|
{
|
|
305
380
|
"msg": "Dangling value",
|
|
306
381
|
"name": "border-box",
|
|
@@ -317,14 +392,6 @@
|
|
|
317
392
|
"value": "border-box",
|
|
318
393
|
"for": "<geometry-box>"
|
|
319
394
|
},
|
|
320
|
-
{
|
|
321
|
-
"msg": "Dangling value",
|
|
322
|
-
"name": "margin-box",
|
|
323
|
-
"prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
|
|
324
|
-
"type": "value",
|
|
325
|
-
"value": "margin-box",
|
|
326
|
-
"for": "<box>"
|
|
327
|
-
},
|
|
328
395
|
{
|
|
329
396
|
"msg": "Dangling value",
|
|
330
397
|
"name": "margin-box",
|
|
@@ -341,22 +408,6 @@
|
|
|
341
408
|
"value": "margin-box",
|
|
342
409
|
"for": "<geometry-box>"
|
|
343
410
|
},
|
|
344
|
-
{
|
|
345
|
-
"msg": "Dangling value",
|
|
346
|
-
"name": "fill-box",
|
|
347
|
-
"prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
|
|
348
|
-
"type": "value",
|
|
349
|
-
"value": "fill-box",
|
|
350
|
-
"for": "<box>"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"msg": "Dangling value",
|
|
354
|
-
"name": "fill-box",
|
|
355
|
-
"prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
|
|
356
|
-
"type": "value",
|
|
357
|
-
"value": "fill-box",
|
|
358
|
-
"for": "<shape-box>"
|
|
359
|
-
},
|
|
360
411
|
{
|
|
361
412
|
"msg": "Dangling value",
|
|
362
413
|
"name": "fill-box",
|
|
@@ -365,22 +416,6 @@
|
|
|
365
416
|
"value": "fill-box",
|
|
366
417
|
"for": "<geometry-box>"
|
|
367
418
|
},
|
|
368
|
-
{
|
|
369
|
-
"msg": "Dangling value",
|
|
370
|
-
"name": "stroke-box",
|
|
371
|
-
"prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
|
|
372
|
-
"type": "value",
|
|
373
|
-
"value": "stroke-box",
|
|
374
|
-
"for": "<box>"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"msg": "Dangling value",
|
|
378
|
-
"name": "stroke-box",
|
|
379
|
-
"prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
|
|
380
|
-
"type": "value",
|
|
381
|
-
"value": "stroke-box",
|
|
382
|
-
"for": "<shape-box>"
|
|
383
|
-
},
|
|
384
419
|
{
|
|
385
420
|
"msg": "Dangling value",
|
|
386
421
|
"name": "stroke-box",
|
|
@@ -389,22 +424,6 @@
|
|
|
389
424
|
"value": "stroke-box",
|
|
390
425
|
"for": "<geometry-box>"
|
|
391
426
|
},
|
|
392
|
-
{
|
|
393
|
-
"msg": "Dangling value",
|
|
394
|
-
"name": "view-box",
|
|
395
|
-
"prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
|
|
396
|
-
"type": "value",
|
|
397
|
-
"value": "view-box",
|
|
398
|
-
"for": "<box>"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"msg": "Dangling value",
|
|
402
|
-
"name": "view-box",
|
|
403
|
-
"prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
|
|
404
|
-
"type": "value",
|
|
405
|
-
"value": "view-box",
|
|
406
|
-
"for": "<shape-box>"
|
|
407
|
-
},
|
|
408
427
|
{
|
|
409
428
|
"msg": "Dangling value",
|
|
410
429
|
"name": "view-box",
|
package/css-color-5.json
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"name": "<color>",
|
|
64
64
|
"prose": "Colors in CSS are represented by the <color> type:",
|
|
65
65
|
"type": "type",
|
|
66
|
-
"value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()> | <light-dark()>"
|
|
66
|
+
"value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()> | <color-mix()> | <light-dark()>"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "<absolute-color-base>",
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
{
|
|
313
313
|
"name": "<custom-params>",
|
|
314
314
|
"type": "type",
|
|
315
|
-
"value": "<dashed-ident> [ <number> | <percentage> | none ]
|
|
315
|
+
"value": "<dashed-ident> [ <number> | <percentage> | none ]+"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"name": "<predefined-rgb-params>",
|
|
@@ -337,12 +337,22 @@
|
|
|
337
337
|
{
|
|
338
338
|
"name": "device-cmyk()",
|
|
339
339
|
"type": "function",
|
|
340
|
-
"value": "device-cmyk
|
|
340
|
+
"value": "<legacy-device-cmyk-syntax> | <modern-device-cmyk-syntax>"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "<legacy-device-cmyk-syntax>",
|
|
344
|
+
"type": "type",
|
|
345
|
+
"value": "device-cmyk( <number>#{4} )"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "<modern-device-cmyk-syntax>",
|
|
349
|
+
"type": "type",
|
|
350
|
+
"value": "device-cmyk( <cmyk-component>{4} [ / [ <alpha-value> | none ] ]? )"
|
|
341
351
|
},
|
|
342
352
|
{
|
|
343
353
|
"name": "<cmyk-component>",
|
|
344
354
|
"type": "type",
|
|
345
|
-
"value": "<number> | <percentage>"
|
|
355
|
+
"value": "<number> | <percentage> | none"
|
|
346
356
|
},
|
|
347
357
|
{
|
|
348
358
|
"name": "light-dark()",
|
|
@@ -357,7 +367,7 @@
|
|
|
357
367
|
{
|
|
358
368
|
"name": "<rectangular-color-space>",
|
|
359
369
|
"type": "type",
|
|
360
|
-
"value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
370
|
+
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
361
371
|
},
|
|
362
372
|
{
|
|
363
373
|
"name": "<polar-color-space>",
|
package/css-color.json
CHANGED
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
"values": [
|
|
1094
1094
|
{
|
|
1095
1095
|
"name": "srgb",
|
|
1096
|
-
"prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs
|
|
1096
|
+
"prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
|
|
1097
1097
|
"type": "value",
|
|
1098
1098
|
"value": "srgb"
|
|
1099
1099
|
},
|
package/css-content.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "<content-list>",
|
|
37
|
-
"value": "[ <string> | contents | <
|
|
37
|
+
"value": "[ <string> | <image> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> ]+",
|
|
38
38
|
"type": "type",
|
|
39
39
|
"values": [
|
|
40
40
|
{
|
package/css-counter-styles.json
CHANGED
package/css-fonts.json
CHANGED
|
@@ -1319,12 +1319,6 @@
|
|
|
1319
1319
|
"type": "value",
|
|
1320
1320
|
"value": "system-ui"
|
|
1321
1321
|
},
|
|
1322
|
-
{
|
|
1323
|
-
"name": "emoji",
|
|
1324
|
-
"prose": "This font family is intended for use with emoji characters. Emoji are pictographs (pictorial symbols) that are typically presented in a colorful form and used inline in text. They represent things such as faces, weather, vehicles and buildings, food and drink, animals and plants, or icons that represent emotions, feelings, or activities.",
|
|
1325
|
-
"type": "value",
|
|
1326
|
-
"value": "emoji"
|
|
1327
|
-
},
|
|
1328
1322
|
{
|
|
1329
1323
|
"name": "math",
|
|
1330
1324
|
"prose": "This font family is intended for use with mathematical expressions. Such fonts may include additional data (for example, the OpenType MATH table) to help with the hierarchical process of equation layout. In particular, they may contain stylistic and stretching glyph variants useful in setting mathematical equations.",
|
package/css-grid-3.json
CHANGED
|
@@ -46,36 +46,6 @@
|
|
|
46
46
|
"masonry-auto-flow",
|
|
47
47
|
"masonryAutoFlow"
|
|
48
48
|
]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "align-tracks",
|
|
52
|
-
"value": "[normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>]#",
|
|
53
|
-
"initial": "normal",
|
|
54
|
-
"appliesTo": "grid containers with masonry layout in their block axis",
|
|
55
|
-
"inherited": "no",
|
|
56
|
-
"percentages": "n/a",
|
|
57
|
-
"computedValue": "specified keyword(s)",
|
|
58
|
-
"canonicalOrder": "per grammar",
|
|
59
|
-
"animationType": "discrete",
|
|
60
|
-
"styleDeclaration": [
|
|
61
|
-
"align-tracks",
|
|
62
|
-
"alignTracks"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "justify-tracks",
|
|
67
|
-
"value": "[normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#",
|
|
68
|
-
"initial": "normal",
|
|
69
|
-
"appliesTo": "grid containers with masonry layout in their inline axis",
|
|
70
|
-
"inherited": "no",
|
|
71
|
-
"percentages": "n/a",
|
|
72
|
-
"computedValue": "specified keyword(s)",
|
|
73
|
-
"canonicalOrder": "per grammar",
|
|
74
|
-
"animationType": "discrete",
|
|
75
|
-
"styleDeclaration": [
|
|
76
|
-
"justify-tracks",
|
|
77
|
-
"justifyTracks"
|
|
78
|
-
]
|
|
79
49
|
}
|
|
80
50
|
],
|
|
81
51
|
"atrules": [],
|