@webref/css 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSS.json +35 -1
- package/css-align.json +67 -5
- package/css-content.json +33 -5
- package/css-grid.json +2 -2
- package/css-images-4.json +30 -2
- package/css-images-5.json +40 -0
- package/css-images.json +127 -1
- package/css-lists.json +36 -2
- package/css-nav.json +3 -2
- package/css-ruby.json +3 -2
- package/css-ui.json +3 -2
- package/css-values.json +4 -3
- package/package.json +1 -1
package/CSS.json
CHANGED
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
],
|
|
286
286
|
"values": [
|
|
287
287
|
{
|
|
288
|
-
"name": "
|
|
288
|
+
"name": "identifiers",
|
|
289
289
|
"type": "type"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
@@ -480,5 +480,39 @@
|
|
|
480
480
|
"name": "<relative-size>",
|
|
481
481
|
"type": "type"
|
|
482
482
|
}
|
|
483
|
+
],
|
|
484
|
+
"warnings": [
|
|
485
|
+
{
|
|
486
|
+
"msg": "Dangling value",
|
|
487
|
+
"name": "thin",
|
|
488
|
+
"prose": "A thin border.",
|
|
489
|
+
"type": "value",
|
|
490
|
+
"value": "thin",
|
|
491
|
+
"for": "border-bottom-right"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"msg": "Dangling value",
|
|
495
|
+
"name": "medium",
|
|
496
|
+
"prose": "A medium border.",
|
|
497
|
+
"type": "value",
|
|
498
|
+
"value": "medium",
|
|
499
|
+
"for": "border-bottom-right"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"msg": "Dangling value",
|
|
503
|
+
"name": "thick",
|
|
504
|
+
"prose": "A thick border.",
|
|
505
|
+
"type": "value",
|
|
506
|
+
"value": "thick",
|
|
507
|
+
"for": "border-bottom-right"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"msg": "Dangling value",
|
|
511
|
+
"name": "<length>",
|
|
512
|
+
"prose": "The border’s thickness has an explicit value. Explicit border widths cannot be negative.",
|
|
513
|
+
"type": "value",
|
|
514
|
+
"value": "<length>",
|
|
515
|
+
"for": "border-bottom-right"
|
|
516
|
+
}
|
|
483
517
|
]
|
|
484
518
|
}
|
package/css-align.json
CHANGED
|
@@ -336,6 +336,24 @@
|
|
|
336
336
|
"type": "type",
|
|
337
337
|
"value": "center | start | end | self-start | self-end | flex-start | flex-end",
|
|
338
338
|
"values": [
|
|
339
|
+
{
|
|
340
|
+
"name": "center",
|
|
341
|
+
"prose": "Centers the alignment subject within its alignment container.",
|
|
342
|
+
"type": "value",
|
|
343
|
+
"value": "center"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "start",
|
|
347
|
+
"prose": "Aligns the alignment subject to be flush with the alignment container’s start edge in the appropriate axis.",
|
|
348
|
+
"type": "value",
|
|
349
|
+
"value": "start"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "end",
|
|
353
|
+
"prose": "Aligns the alignment subject to be flush with the alignment container’s end edge in the appropriate axis.",
|
|
354
|
+
"type": "value",
|
|
355
|
+
"value": "end"
|
|
356
|
+
},
|
|
339
357
|
{
|
|
340
358
|
"name": "self-start",
|
|
341
359
|
"prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the alignment subject’s start side in the appropriate axis.",
|
|
@@ -347,13 +365,57 @@
|
|
|
347
365
|
"prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the alignment subject’s end side in the appropriate axis.",
|
|
348
366
|
"type": "value",
|
|
349
367
|
"value": "self-end"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "flex-start",
|
|
371
|
+
"prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
|
|
372
|
+
"type": "value",
|
|
373
|
+
"value": "flex-start"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "flex-end",
|
|
377
|
+
"prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
|
|
378
|
+
"type": "value",
|
|
379
|
+
"value": "flex-end"
|
|
350
380
|
}
|
|
351
381
|
]
|
|
352
382
|
},
|
|
353
383
|
{
|
|
354
384
|
"name": "<content-position>",
|
|
355
385
|
"type": "type",
|
|
356
|
-
"value": "center | start | end | flex-start | flex-end"
|
|
386
|
+
"value": "center | start | end | flex-start | flex-end",
|
|
387
|
+
"values": [
|
|
388
|
+
{
|
|
389
|
+
"name": "center",
|
|
390
|
+
"prose": "Centers the alignment subject within its alignment container.",
|
|
391
|
+
"type": "value",
|
|
392
|
+
"value": "center"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "start",
|
|
396
|
+
"prose": "Aligns the alignment subject to be flush with the alignment container’s start edge in the appropriate axis.",
|
|
397
|
+
"type": "value",
|
|
398
|
+
"value": "start"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "end",
|
|
402
|
+
"prose": "Aligns the alignment subject to be flush with the alignment container’s end edge in the appropriate axis.",
|
|
403
|
+
"type": "value",
|
|
404
|
+
"value": "end"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "flex-start",
|
|
408
|
+
"prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
|
|
409
|
+
"type": "value",
|
|
410
|
+
"value": "flex-start"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "flex-end",
|
|
414
|
+
"prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
|
|
415
|
+
"type": "value",
|
|
416
|
+
"value": "flex-end"
|
|
417
|
+
}
|
|
418
|
+
]
|
|
357
419
|
},
|
|
358
420
|
{
|
|
359
421
|
"name": "<baseline-position>",
|
|
@@ -367,16 +429,16 @@
|
|
|
367
429
|
"value": "baseline"
|
|
368
430
|
},
|
|
369
431
|
{
|
|
370
|
-
"name": "first baseline
|
|
432
|
+
"name": "first baseline",
|
|
371
433
|
"prose": "Specifies participation in first-baseline alignment: aligns the alignment baseline of the box’s first baseline set with the corresponding baseline of its baseline-sharing group. See § 9.3 Aligning Boxes by Baseline for more details. The fallback alignment for first baseline is safe self-start (for self-alignment) or safe start (for content-distribution).",
|
|
372
434
|
"type": "value",
|
|
373
|
-
"value": "first baseline
|
|
435
|
+
"value": "first baseline"
|
|
374
436
|
},
|
|
375
437
|
{
|
|
376
|
-
"name": "last baseline
|
|
438
|
+
"name": "last baseline",
|
|
377
439
|
"prose": "Specifies participation in last-baseline alignment: aligns the alignment baseline of the box’s last baseline set with the corresponding baseline of its baseline-sharing group.̣ See § 9.3 Aligning Boxes by Baseline for more details. The fallback alignment for last baseline is safe self-end (for self-alignment) or safe end (for content-distribution).",
|
|
378
440
|
"type": "value",
|
|
379
|
-
"value": "last baseline
|
|
441
|
+
"value": "last baseline"
|
|
380
442
|
}
|
|
381
443
|
]
|
|
382
444
|
},
|
package/css-content.json
CHANGED
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
"values": [
|
|
40
40
|
{
|
|
41
41
|
"name": "<string>",
|
|
42
|
-
"
|
|
43
|
-
"type": "value"
|
|
42
|
+
"prose": "Represents an anonymous inline box filled with the specified text.",
|
|
43
|
+
"type": "value",
|
|
44
|
+
"value": "<string>"
|
|
44
45
|
},
|
|
45
46
|
{
|
|
46
47
|
"name": "<image>",
|
|
@@ -171,8 +172,9 @@
|
|
|
171
172
|
"values": [
|
|
172
173
|
{
|
|
173
174
|
"name": "<string>",
|
|
174
|
-
"
|
|
175
|
-
"type": "value"
|
|
175
|
+
"prose": "Represents an anonymous inline box filled with the specified text.",
|
|
176
|
+
"type": "value",
|
|
177
|
+
"value": "<string>"
|
|
176
178
|
},
|
|
177
179
|
{
|
|
178
180
|
"name": "<image>",
|
|
@@ -235,7 +237,33 @@
|
|
|
235
237
|
{
|
|
236
238
|
"name": "<quote>",
|
|
237
239
|
"type": "type",
|
|
238
|
-
"value": "open-quote | close-quote | no-open-quote | no-close-quote"
|
|
240
|
+
"value": "open-quote | close-quote | no-open-quote | no-close-quote",
|
|
241
|
+
"values": [
|
|
242
|
+
{
|
|
243
|
+
"name": "open-quote",
|
|
244
|
+
"prose": "These values are replaced by the appropriate string from the quotes property, and increments (decrements) the level of nesting for quotes. See § 2.4.1 Specifying quotes with the quotes property for more information.",
|
|
245
|
+
"type": "value",
|
|
246
|
+
"value": "open-quote"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "close-quote",
|
|
250
|
+
"prose": "These values are replaced by the appropriate string from the quotes property, and increments (decrements) the level of nesting for quotes. See § 2.4.1 Specifying quotes with the quotes property for more information.",
|
|
251
|
+
"type": "value",
|
|
252
|
+
"value": "close-quote"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "no-open-quote",
|
|
256
|
+
"prose": "Inserts nothing (as in none), but increments (decrements) the level of nesting for quotes. See § 2.4.1 Specifying quotes with the quotes property for more information.",
|
|
257
|
+
"type": "value",
|
|
258
|
+
"value": "no-open-quote"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "no-close-quote",
|
|
262
|
+
"prose": "Inserts nothing (as in none), but increments (decrements) the level of nesting for quotes. See § 2.4.1 Specifying quotes with the quotes property for more information.",
|
|
263
|
+
"type": "value",
|
|
264
|
+
"value": "no-close-quote"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
239
267
|
},
|
|
240
268
|
{
|
|
241
269
|
"name": "leader()",
|
package/css-grid.json
CHANGED
|
@@ -657,10 +657,10 @@
|
|
|
657
657
|
"type": "type",
|
|
658
658
|
"values": [
|
|
659
659
|
{
|
|
660
|
-
"name": "fr
|
|
660
|
+
"name": "fr",
|
|
661
661
|
"prose": "A flexible length or <flex> is a dimension with the fr unit, which represents a fraction of the leftover space in the grid container. Tracks sized with fr units are called flexible tracks as they flex in response to leftover space similar to how flex items with a zero base size fill space in a flex container.",
|
|
662
662
|
"type": "value",
|
|
663
|
-
"value": "fr
|
|
663
|
+
"value": "fr"
|
|
664
664
|
}
|
|
665
665
|
]
|
|
666
666
|
}
|
package/css-images-4.json
CHANGED
|
@@ -166,7 +166,21 @@
|
|
|
166
166
|
{
|
|
167
167
|
"name": "conic-gradient()",
|
|
168
168
|
"type": "function",
|
|
169
|
-
"value": "conic-gradient( [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method>, <angular-color-stop-list> )"
|
|
169
|
+
"value": "conic-gradient( [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method>, <angular-color-stop-list> )",
|
|
170
|
+
"values": [
|
|
171
|
+
{
|
|
172
|
+
"name": "<angle>",
|
|
173
|
+
"prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "<angle>"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "<position>",
|
|
179
|
+
"prose": "Determines the gradient center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"value": "<position>"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
170
184
|
},
|
|
171
185
|
{
|
|
172
186
|
"name": "repeating-linear-gradient()",
|
|
@@ -181,7 +195,21 @@
|
|
|
181
195
|
{
|
|
182
196
|
"name": "repeating-conic-gradient()",
|
|
183
197
|
"prose": "In addition to linear-gradient(), radial-gradient(), and conic-gradient(), this specification defines repeating-linear-gradient(), repeating-radial-gradient(), and repeating-conic-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously.",
|
|
184
|
-
"type": "function"
|
|
198
|
+
"type": "function",
|
|
199
|
+
"values": [
|
|
200
|
+
{
|
|
201
|
+
"name": "<angle>",
|
|
202
|
+
"prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
|
|
203
|
+
"type": "value",
|
|
204
|
+
"value": "<angle>"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "<position>",
|
|
208
|
+
"prose": "Determines the gradient center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
209
|
+
"type": "value",
|
|
210
|
+
"value": "<position>"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
185
213
|
},
|
|
186
214
|
{
|
|
187
215
|
"name": "<color-stop-list>",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Images Module Level 5",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-images-5/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "object-view-box",
|
|
9
|
+
"value": "none | <basic-shape-rect>",
|
|
10
|
+
"initial": "none",
|
|
11
|
+
"appliesTo": "replaced elements",
|
|
12
|
+
"inherited": "no",
|
|
13
|
+
"percentages": "n/a",
|
|
14
|
+
"computedValue": "specified keyword, or computed function",
|
|
15
|
+
"canonicalOrder": "per grammar",
|
|
16
|
+
"animationType": "as if possible, otherwise discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "none",
|
|
20
|
+
"prose": "The element does not have a view box.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "none"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "<basic-shape-rect>",
|
|
26
|
+
"prose": "If the element does not have both a natural width and a natural height, this value has no effect, similar to none. Otherwise, specifies a view box for the element. First, resolve the <basic-shape-rect> against a reference box formed by the element’s natural sizes to obtain the element’s view box. For all purposes, the element is now treated as having natural sizes equal to the view box’s width and height. If the element had a natural aspect ratio, it’s now treated as instead having the same ratio as the view box. Further adjustments to the size/position of the element’s contents, such as object-position or object-fit, are similarly performed on the view box instead. When the element is painted, its contents are scaled and translated such that the element’s contents retain the same position and size, relative to the view box’s final size and position, that they had when the view box was determined (above). Have not yet defined what happens if the view box is zero-area. It’s an error case, so precise behavior isn’t important; just need to see what impls want to do about it.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "<basic-shape-rect>"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"styleDeclaration": [
|
|
32
|
+
"object-view-box",
|
|
33
|
+
"objectViewBox"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"atrules": [],
|
|
38
|
+
"selectors": [],
|
|
39
|
+
"values": []
|
|
40
|
+
}
|
package/css-images.json
CHANGED
|
@@ -185,6 +185,68 @@
|
|
|
185
185
|
"type": "function",
|
|
186
186
|
"value": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
|
|
187
187
|
"values": [
|
|
188
|
+
{
|
|
189
|
+
"name": "<position>",
|
|
190
|
+
"prose": "Determines the center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
191
|
+
"type": "value",
|
|
192
|
+
"value": "<position>"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "<ending-shape>",
|
|
196
|
+
"prose": "Can be either circle or ellipse; determines whether the gradient’s ending shape is a circle or an ellipse, respectively. If <ending-shape> is omitted, the ending shape defaults to a circle if the <size> is a single <length>, and to an ellipse otherwise.",
|
|
197
|
+
"type": "value",
|
|
198
|
+
"value": "<ending-shape>",
|
|
199
|
+
"values": [
|
|
200
|
+
{
|
|
201
|
+
"name": "circle",
|
|
202
|
+
"type": "value",
|
|
203
|
+
"value": "circle"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "ellipse",
|
|
207
|
+
"type": "value",
|
|
208
|
+
"value": "ellipse"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "<size>",
|
|
214
|
+
"prose": "Determines the size of the gradient’s ending shape. If omitted it defaults to farthest-corner. It can be given explicitly or by keyword. For the purpose of the keyword definitions, consider the gradient box edges as extending infinitely in both directions, rather than being finite line segments. If the ending-shape is an ellipse, its axises are aligned with the horizontal and vertical axises. Both circle and ellipse gradients accept the following <extent-keyword> values: If <ending-shape> is specified as circle or is omitted, the <size> may be given explicitly as: If <ending-shape> is specified as ellipse or is omitted, <size> may instead be given explicitly as:",
|
|
215
|
+
"type": "value",
|
|
216
|
+
"value": "<extent-keyword> | <length [0,∞]> | <length-percentage [0,∞]>{2}",
|
|
217
|
+
"values": [
|
|
218
|
+
{
|
|
219
|
+
"name": "closest-side",
|
|
220
|
+
"prose": "The ending shape is sized so that it exactly meets the side of the gradient box closest to the gradient’s center. If the shape is an ellipse, it exactly meets the closest side in each dimension.",
|
|
221
|
+
"type": "value",
|
|
222
|
+
"value": "closest-side"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "farthest-side",
|
|
226
|
+
"prose": "Same as closest-side, except the ending shape is sized based on the farthest side(s).",
|
|
227
|
+
"type": "value",
|
|
228
|
+
"value": "farthest-side"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "closest-corner",
|
|
232
|
+
"prose": "The ending shape is sized so that it passes through the corner of the gradient box closest to the gradient’s center. If the shape is an ellipse, the ending shape is given the same aspect-ratio it would have if closest-side were specified.",
|
|
233
|
+
"type": "value",
|
|
234
|
+
"value": "closest-corner"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "farthest-corner",
|
|
238
|
+
"prose": "Same as closest-corner, except the ending shape is sized based on the farthest corner. If the shape is an ellipse, the ending shape is given the same aspect ratio it would have if farthest-side were specified.",
|
|
239
|
+
"type": "value",
|
|
240
|
+
"value": "farthest-corner"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "<extent-keyword>",
|
|
246
|
+
"prose": "Both circle and ellipse gradients accept the following <extent-keyword> values:",
|
|
247
|
+
"type": "value",
|
|
248
|
+
"value": "closest-corner | closest-side | farthest-corner | farthest-side"
|
|
249
|
+
},
|
|
188
250
|
{
|
|
189
251
|
"name": "<length [0,∞]>",
|
|
190
252
|
"prose": "Gives the radius of the circle explicitly. Negative values are invalid.",
|
|
@@ -207,7 +269,71 @@
|
|
|
207
269
|
{
|
|
208
270
|
"name": "repeating-radial-gradient()",
|
|
209
271
|
"prose": "In addition to linear-gradient() and radial-gradient(), this specification defines repeating-linear-gradient() and repeating-radial-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously.",
|
|
210
|
-
"type": "function"
|
|
272
|
+
"type": "function",
|
|
273
|
+
"values": [
|
|
274
|
+
{
|
|
275
|
+
"name": "<position>",
|
|
276
|
+
"prose": "Determines the center of the gradient. The <position> value type (which is also used for background-position) is defined in [CSS-VALUES-3], and is resolved using the center-point as the object area and the gradient box as the positioning area. If this argument is omitted, it defaults to center.",
|
|
277
|
+
"type": "value",
|
|
278
|
+
"value": "<position>"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "<ending-shape>",
|
|
282
|
+
"prose": "Can be either circle or ellipse; determines whether the gradient’s ending shape is a circle or an ellipse, respectively. If <ending-shape> is omitted, the ending shape defaults to a circle if the <size> is a single <length>, and to an ellipse otherwise.",
|
|
283
|
+
"type": "value",
|
|
284
|
+
"value": "<ending-shape>",
|
|
285
|
+
"values": [
|
|
286
|
+
{
|
|
287
|
+
"name": "circle",
|
|
288
|
+
"type": "value",
|
|
289
|
+
"value": "circle"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "ellipse",
|
|
293
|
+
"type": "value",
|
|
294
|
+
"value": "ellipse"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "<size>",
|
|
300
|
+
"prose": "Determines the size of the gradient’s ending shape. If omitted it defaults to farthest-corner. It can be given explicitly or by keyword. For the purpose of the keyword definitions, consider the gradient box edges as extending infinitely in both directions, rather than being finite line segments. If the ending-shape is an ellipse, its axises are aligned with the horizontal and vertical axises. Both circle and ellipse gradients accept the following <extent-keyword> values: If <ending-shape> is specified as circle or is omitted, the <size> may be given explicitly as: If <ending-shape> is specified as ellipse or is omitted, <size> may instead be given explicitly as:",
|
|
301
|
+
"type": "value",
|
|
302
|
+
"value": "<extent-keyword> | <length [0,∞]> | <length-percentage [0,∞]>{2}",
|
|
303
|
+
"values": [
|
|
304
|
+
{
|
|
305
|
+
"name": "closest-side",
|
|
306
|
+
"prose": "The ending shape is sized so that it exactly meets the side of the gradient box closest to the gradient’s center. If the shape is an ellipse, it exactly meets the closest side in each dimension.",
|
|
307
|
+
"type": "value",
|
|
308
|
+
"value": "closest-side"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "farthest-side",
|
|
312
|
+
"prose": "Same as closest-side, except the ending shape is sized based on the farthest side(s).",
|
|
313
|
+
"type": "value",
|
|
314
|
+
"value": "farthest-side"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "closest-corner",
|
|
318
|
+
"prose": "The ending shape is sized so that it passes through the corner of the gradient box closest to the gradient’s center. If the shape is an ellipse, the ending shape is given the same aspect-ratio it would have if closest-side were specified.",
|
|
319
|
+
"type": "value",
|
|
320
|
+
"value": "closest-corner"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "farthest-corner",
|
|
324
|
+
"prose": "Same as closest-corner, except the ending shape is sized based on the farthest corner. If the shape is an ellipse, the ending shape is given the same aspect ratio it would have if farthest-side were specified.",
|
|
325
|
+
"type": "value",
|
|
326
|
+
"value": "farthest-corner"
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "<extent-keyword>",
|
|
332
|
+
"prose": "Both circle and ellipse gradients accept the following <extent-keyword> values:",
|
|
333
|
+
"type": "value",
|
|
334
|
+
"value": "closest-corner | closest-side | farthest-corner | farthest-side"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
211
337
|
},
|
|
212
338
|
{
|
|
213
339
|
"name": "<color-stop-list>",
|
package/css-lists.json
CHANGED
|
@@ -169,6 +169,12 @@
|
|
|
169
169
|
"prose": "Instantiates a reversed counter of the given <counter-name> with a starting value of the given <integer>, or no starting value if not given.",
|
|
170
170
|
"type": "value",
|
|
171
171
|
"value": "<reversed-counter-name> <integer>?"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "list-item",
|
|
175
|
+
"prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
|
|
176
|
+
"type": "value",
|
|
177
|
+
"value": "list-item"
|
|
172
178
|
}
|
|
173
179
|
],
|
|
174
180
|
"styleDeclaration": [
|
|
@@ -198,6 +204,12 @@
|
|
|
198
204
|
"prose": "Sets (for counter-set) or increments (for counter-increment) the value of the named counter on the element to/by the specified <integer>. If the <integer> is omitted, it defaults to 1 (for counter-increment) or 0 (for counter-set). If there is not currently a counter of the given name on the element, the element instantiates a new counter of the given name with a starting value of 0 before setting or incrementing its value.",
|
|
199
205
|
"type": "value",
|
|
200
206
|
"value": "<counter-name> <integer>?"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "list-item",
|
|
210
|
+
"prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
|
|
211
|
+
"type": "value",
|
|
212
|
+
"value": "list-item"
|
|
201
213
|
}
|
|
202
214
|
],
|
|
203
215
|
"styleDeclaration": [
|
|
@@ -227,6 +239,12 @@
|
|
|
227
239
|
"prose": "Sets (for counter-set) or increments (for counter-increment) the value of the named counter on the element to/by the specified <integer>. If the <integer> is omitted, it defaults to 1 (for counter-increment) or 0 (for counter-set). If there is not currently a counter of the given name on the element, the element instantiates a new counter of the given name with a starting value of 0 before setting or incrementing its value.",
|
|
228
240
|
"type": "value",
|
|
229
241
|
"value": "<counter-name> <integer>?"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "list-item",
|
|
245
|
+
"prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
|
|
246
|
+
"type": "value",
|
|
247
|
+
"value": "list-item"
|
|
230
248
|
}
|
|
231
249
|
],
|
|
232
250
|
"styleDeclaration": [
|
|
@@ -256,12 +274,28 @@
|
|
|
256
274
|
{
|
|
257
275
|
"name": "counter()",
|
|
258
276
|
"type": "function",
|
|
259
|
-
"value": "counter( <counter-name>, <counter-style>? )"
|
|
277
|
+
"value": "counter( <counter-name>, <counter-style>? )",
|
|
278
|
+
"values": [
|
|
279
|
+
{
|
|
280
|
+
"name": "list-item",
|
|
281
|
+
"prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
|
|
282
|
+
"type": "value",
|
|
283
|
+
"value": "list-item"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
260
286
|
},
|
|
261
287
|
{
|
|
262
288
|
"name": "counters()",
|
|
263
289
|
"type": "function",
|
|
264
|
-
"value": "counters( <counter-name>, <string>, <counter-style>? )"
|
|
290
|
+
"value": "counters( <counter-name>, <string>, <counter-style>? )",
|
|
291
|
+
"values": [
|
|
292
|
+
{
|
|
293
|
+
"name": "list-item",
|
|
294
|
+
"prose": "In addition to any explicitly defined counters that authors write in their styles, list items automatically increment a special list-item counter, which is used when generating the default marker string on list items (see list-style-type).",
|
|
295
|
+
"type": "value",
|
|
296
|
+
"value": "list-item"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
265
299
|
}
|
|
266
300
|
]
|
|
267
301
|
}
|
package/css-nav.json
CHANGED
|
@@ -56,8 +56,9 @@
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "scroll",
|
|
59
|
-
"
|
|
60
|
-
"type": "value"
|
|
59
|
+
"prose": "If the currently focused element is not itself a scroll container, this value on an ancestor scroll container has the same effect as auto. If the currently focused element is a scroll container, it is scrolled in the direction requested without changing which element is in focus, regardless of the presence of focusable descendants.",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "scroll"
|
|
61
62
|
}
|
|
62
63
|
],
|
|
63
64
|
"styleDeclaration": [
|
package/css-ruby.json
CHANGED
|
@@ -35,8 +35,9 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "inter-character",
|
|
38
|
-
"
|
|
39
|
-
"type": "value"
|
|
38
|
+
"prose": "If the writing mode of the enclosing ruby container is vertical, this value has the same effect as over. Otherwise, the ruby annotation becomes an inter-character annotation. The annotation appears on the right of the base in horizontal text. This forces the computed value of writing-mode of the ruby annotation children of this ruby annotation container to be vertical-rl. This value is provided for the special case of traditional Chinese as used especially in Taiwan: ruby (made of bopomofo glyphs) in that context appears vertically along the right side of the base glyph, even when the layout of the base characters is horizontal: “Bopomofo” ruby in traditional Chinese (ruby annotation shown in blue for clarity) in horizontal layout",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "inter-character"
|
|
40
41
|
}
|
|
41
42
|
],
|
|
42
43
|
"styleDeclaration": [
|
package/css-ui.json
CHANGED
|
@@ -484,8 +484,9 @@
|
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
486
|
"name": "contain",
|
|
487
|
-
"
|
|
488
|
-
"type": "value"
|
|
487
|
+
"prose": "UAs must not allow a selection which is started in this element to be extended outside of this element. A selection started outside of this element must not end in this element. If the user attempts to create such a selection, the UA must instead end the selection range at the element boundary. The UA must allow selections to extend across this element, and such selections must include the content of the element.",
|
|
488
|
+
"type": "value",
|
|
489
|
+
"value": "contain"
|
|
489
490
|
},
|
|
490
491
|
{
|
|
491
492
|
"name": "all",
|
package/css-values.json
CHANGED
|
@@ -127,9 +127,10 @@
|
|
|
127
127
|
"type": "type",
|
|
128
128
|
"values": [
|
|
129
129
|
{
|
|
130
|
-
"name": "em
|
|
131
|
-
"
|
|
132
|
-
"type": "value"
|
|
130
|
+
"name": "em",
|
|
131
|
+
"prose": "Equal to the computed value of the font-size property of the element on which it is used. The rule: h1 { line-height: 1.2em } means that the line height of h1 elements will be 20% greater than the font size of h1 element. On the other hand: h1 { font-size: 1.2em } means that the font size of h1 elements will be 20% greater than the computed font size inherited by h1 elements.",
|
|
132
|
+
"type": "value",
|
|
133
|
+
"value": "em"
|
|
133
134
|
},
|
|
134
135
|
{
|
|
135
136
|
"name": "rem",
|