@webref/css 6.9.0 → 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.
@@ -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>, exactly what is needed to position the given inset edge to the specified position on the anchor element.",
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.1.1 Automatic Anchor Positioning for more details.",
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.1.1 Automatic Anchor Positioning for more details.",
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
  },
@@ -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": "content-box | padding-box | border-box | margin-box"
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": "content-box | padding-box | border-box | fill-box | stroke-box"
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": "content-box | padding-box | border-box | fill-box | stroke-box | view-box"
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-content.json CHANGED
@@ -34,7 +34,7 @@
34
34
  },
35
35
  {
36
36
  "name": "<content-list>",
37
- "value": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+",
37
+ "value": "[ <string> | <image> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> ]+",
38
38
  "type": "type",
39
39
  "values": [
40
40
  {
package/css-images-4.json CHANGED
@@ -111,7 +111,7 @@
111
111
  {
112
112
  "name": "<image-set-option>",
113
113
  "type": "type",
114
- "value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]"
114
+ "value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]?"
115
115
  },
116
116
  {
117
117
  "name": "image()",
@@ -139,7 +139,7 @@
139
139
  },
140
140
  {
141
141
  "name": "clear",
142
- "value": "inline-start | inline-end | block-start | block-end | left | right | top | bottom | none",
142
+ "value": "inline-start | inline-end | block-start | block-end | left | right | top | bottom | both-inline | both-block | both | none",
143
143
  "initial": "none",
144
144
  "appliesTo": "block-level elements, floats, regions, pages",
145
145
  "inherited": "no",
package/css-position.json CHANGED
@@ -336,7 +336,7 @@
336
336
  },
337
337
  {
338
338
  "name": "inset-block",
339
- "value": "<top>{1,2}",
339
+ "value": "<'top'>{1,2}",
340
340
  "initial": "auto",
341
341
  "appliesTo": "positioned elements",
342
342
  "inherited": "no",
@@ -371,7 +371,7 @@
371
371
  },
372
372
  {
373
373
  "name": "inset-inline",
374
- "value": "<top>{1,2}",
374
+ "value": "<'top'>{1,2}",
375
375
  "initial": "auto",
376
376
  "appliesTo": "positioned elements",
377
377
  "inherited": "no",
@@ -406,7 +406,7 @@
406
406
  },
407
407
  {
408
408
  "name": "inset",
409
- "value": "<top>{1,4}",
409
+ "value": "<'top'>{1,4}",
410
410
  "initial": "auto",
411
411
  "appliesTo": "positioned elements",
412
412
  "inherited": "no",
package/css-shapes-2.json CHANGED
@@ -53,14 +53,22 @@
53
53
  },
54
54
  {
55
55
  "name": "shape-padding",
56
- "value": "<length>",
57
- "initial": "none",
56
+ "value": "<length-percentage [0,∞]>",
57
+ "initial": "0",
58
58
  "appliesTo": "block-level elements",
59
59
  "inherited": "no",
60
- "percentages": "n/a",
61
- "computedValue": "the absolute length",
60
+ "percentages": "refer to the inline size of the containing block",
61
+ "computedValue": "computed <length-percentage> value",
62
62
  "canonicalOrder": "per grammar",
63
63
  "animationType": "by computed value",
64
+ "values": [
65
+ {
66
+ "name": "<length-percentage [0,∞]>",
67
+ "prose": "Sets the padding of the shape to the specified value.",
68
+ "type": "value",
69
+ "value": "<length-percentage [0,∞]>"
70
+ }
71
+ ],
64
72
  "styleDeclaration": [
65
73
  "shape-padding",
66
74
  "shapePadding"
package/css-shapes.json CHANGED
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "name": "<shape-box>",
153
153
  "type": "type",
154
- "value": "<box> | margin-box",
154
+ "value": "<visual-box> | margin-box",
155
155
  "values": [
156
156
  {
157
157
  "name": "margin-box",
package/css-speech.json CHANGED
@@ -647,7 +647,7 @@
647
647
  },
648
648
  {
649
649
  "name": "voice-pitch",
650
- "value": "<frequency> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
650
+ "value": "<frequency [0Hz,∞]> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
651
651
  "initial": "medium",
652
652
  "appliesTo": "all elements",
653
653
  "inherited": "yes",
@@ -721,7 +721,7 @@
721
721
  },
722
722
  {
723
723
  "name": "voice-range",
724
- "value": "<frequency> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
724
+ "value": "<frequency [0Hz,∞]> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
725
725
  "initial": "medium",
726
726
  "appliesTo": "all elements",
727
727
  "inherited": "yes",
package/css-text-4.json CHANGED
@@ -1160,7 +1160,7 @@
1160
1160
  },
1161
1161
  {
1162
1162
  "name": "space-first",
1163
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container. Otherwise as trim-auto (unless allow-end is also specified).",
1163
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as trim-auto (unless allow-end is also specified).",
1164
1164
  "type": "value",
1165
1165
  "value": "space-first"
1166
1166
  },
package/css-values-5.json CHANGED
@@ -212,6 +212,11 @@
212
212
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
213
213
  "type": "function"
214
214
  },
215
+ {
216
+ "name": "<toggle()>",
217
+ "type": "type",
218
+ "value": "toggle( <whole-value> [ ';' <whole-value> ]+ )"
219
+ },
215
220
  {
216
221
  "name": "attr()",
217
222
  "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
@@ -311,7 +316,7 @@
311
316
  "name": "random()",
312
317
  "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
313
318
  "type": "function",
314
- "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? );"
319
+ "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
315
320
  },
316
321
  {
317
322
  "name": "<random-caching-options>",
@@ -322,7 +327,7 @@
322
327
  "name": "random-item()",
323
328
  "prose": "The random-item() function resolves to a random item from among its list of items.",
324
329
  "type": "function",
325
- "value": "random-item( <random-caching-options> ';' <any-value> [ ';' <any-value> ]* )"
330
+ "value": "random-item( <random-caching-options> ';' <declaration-value>? [ ';' <declaration-value>? ]* )"
326
331
  },
327
332
  {
328
333
  "name": "sibling-count()",
@@ -31,8 +31,8 @@
31
31
  {
32
32
  "name": "type",
33
33
  "for": "@view-transition",
34
- "value": "<custom-ident>*",
35
- "initial": "an empty list"
34
+ "value": "none | <custom-ident>*",
35
+ "initial": "none"
36
36
  }
37
37
  ],
38
38
  "value": "@view-transition { <declaration-rule-list> }"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.9.0",
4
+ "version": "6.9.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"