@webref/css 6.12.12 → 6.12.14
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 +9 -8
- package/css-box.json +1 -1
- package/css-overflow-4.json +2 -29
- package/css-pseudo.json +7 -2
- package/css-text-4.json +12 -5
- package/css-values-5.json +8 -1
- package/css-viewport.json +4 -4
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"name": "<inset-area>",
|
|
115
|
-
"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 property selects a region of the inset-area grid, and makes that the element’s containing block.
|
|
115
|
+
"prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, it has the following effects: The property selects a region of the inset-area grid, and makes that the element’s containing block. See § 3.1.1 Resolving <inset-area>s for details. Note: This means that the inset properties specify offsets from the inset-area, and some property values, like max-height: 100%, will be relative to the inset-area as well. 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. Again, see § 3.1.1 Resolving <inset-area>s for details. Any auto inset properties resolve to 0. The element is not considered to be in a legacy alignment mode in either axis.",
|
|
116
116
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area",
|
|
117
117
|
"type": "value",
|
|
118
118
|
"value": "<inset-area>"
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
{
|
|
241
241
|
"name": "position-try-options",
|
|
242
242
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-options",
|
|
243
|
-
"value": "none | [ [<dashed-ident> || <try-tactic>] |
|
|
243
|
+
"value": "none | [ [<dashed-ident> || <try-tactic>] | <'inset-area'> ]#",
|
|
244
244
|
"initial": "none",
|
|
245
245
|
"appliesTo": "absolutely-positioned elements",
|
|
246
246
|
"inherited": "no",
|
|
@@ -304,10 +304,11 @@
|
|
|
304
304
|
"value": "<dashed-ident> || <try-tactic>"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
|
-
"name": "inset-area
|
|
308
|
-
"
|
|
309
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-inset-area
|
|
310
|
-
"type": "value"
|
|
307
|
+
"name": "<'inset-area'>",
|
|
308
|
+
"prose": "Automatically creates a position option composed solely of an inset-area property with the given value.",
|
|
309
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-inset-area",
|
|
310
|
+
"type": "value",
|
|
311
|
+
"value": "<'inset-area'>"
|
|
311
312
|
}
|
|
312
313
|
],
|
|
313
314
|
"styleDeclaration": [
|
|
@@ -675,7 +676,7 @@
|
|
|
675
676
|
"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>. It is only valid to be used in the inset properties.",
|
|
676
677
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor",
|
|
677
678
|
"type": "function",
|
|
678
|
-
"value": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
|
|
679
|
+
"value": "anchor( <anchor-element>? && <anchor-side>, <length-percentage>? )",
|
|
679
680
|
"values": [
|
|
680
681
|
{
|
|
681
682
|
"name": "<dashed-ident>",
|
|
@@ -787,7 +788,7 @@
|
|
|
787
788
|
"prose": "An absolutely-positioned element can use the anchor-size() function in its sizing properties to refer to the size of one or more anchor elements. The anchor-size() function resolves to a <length>. It is only valid to be used in the sizing properties.",
|
|
788
789
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor-size",
|
|
789
790
|
"type": "function",
|
|
790
|
-
"value": "anchor-size( <anchor-element
|
|
791
|
+
"value": "anchor-size( [ <anchor-element> || <anchor-size> ]? , <length-percentage>? )",
|
|
791
792
|
"values": [
|
|
792
793
|
{
|
|
793
794
|
"name": "width",
|
package/css-box.json
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
{
|
|
91
91
|
"name": "margin-trim",
|
|
92
92
|
"href": "https://drafts.csswg.org/css-box-4/#propdef-margin-trim",
|
|
93
|
-
"value": "none | block
|
|
93
|
+
"value": "none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",
|
|
94
94
|
"initial": "none",
|
|
95
95
|
"appliesTo": "block containers, multi-column containers, flex containers, grid containers",
|
|
96
96
|
"inherited": "no",
|
package/css-overflow-4.json
CHANGED
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
{
|
|
347
347
|
"name": "continue",
|
|
348
348
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-continue",
|
|
349
|
-
"value": "auto | discard | -webkit-discard
|
|
349
|
+
"value": "auto | discard | -webkit-discard",
|
|
350
350
|
"initial": "auto",
|
|
351
351
|
"appliesTo": "block containers and multicol containers",
|
|
352
352
|
"inherited": "no",
|
|
@@ -375,27 +375,6 @@
|
|
|
375
375
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-discard",
|
|
376
376
|
"type": "value",
|
|
377
377
|
"value": "discard"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"name": "overflow",
|
|
381
|
-
"prose": "Content that doesn’t fit overflows, according to the overflow property",
|
|
382
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-overflow",
|
|
383
|
-
"type": "value",
|
|
384
|
-
"value": "overflow"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"name": "paginate",
|
|
388
|
-
"prose": "Content that doesn’t fit paginates. This creates a paginated view inside the element similar to the way that 'overflow: scroll' creates a scrollable view. See paginated overflow",
|
|
389
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-paginate",
|
|
390
|
-
"type": "value",
|
|
391
|
-
"value": "paginate"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"name": "fragments",
|
|
395
|
-
"prose": "content that doesn’t fit causes the element to copy itself and continue laying out. See fragment overflow.",
|
|
396
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-fragments",
|
|
397
|
-
"type": "value",
|
|
398
|
-
"value": "fragments"
|
|
399
378
|
}
|
|
400
379
|
],
|
|
401
380
|
"styleDeclaration": [
|
|
@@ -429,12 +408,6 @@
|
|
|
429
408
|
}
|
|
430
409
|
],
|
|
431
410
|
"atrules": [],
|
|
432
|
-
"selectors": [
|
|
433
|
-
{
|
|
434
|
-
"name": "::nth-fragment()",
|
|
435
|
-
"prose": "The ::nth-fragment() pseudo-element is a pseudo-element that describes some of the fragment boxes generated by an element. The argument to the pseudo-element takes the same syntax as the argument to the :nth-child() pseudo-class defined in [SELECT], and has the same meaning except that the number is relative to fragment boxes generated by the element instead of siblings of the element.",
|
|
436
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#selectordef-nth-fragment"
|
|
437
|
-
}
|
|
438
|
-
],
|
|
411
|
+
"selectors": [],
|
|
439
412
|
"values": []
|
|
440
413
|
}
|
package/css-pseudo.json
CHANGED
|
@@ -67,13 +67,18 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"name": "::placeholder",
|
|
70
|
-
"prose": "The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text “YYYY/MM/DD” to clarify that numeric dates are to be entered in year-month-day order.",
|
|
70
|
+
"prose": "The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text “YYYY/MM/DD” to clarify that numeric dates are to be entered in year-month-day order. It is a tree-abiding pseudo-element.",
|
|
71
71
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-placeholder"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"name": "::file-selector-button",
|
|
75
|
-
"prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button.",
|
|
75
|
+
"prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button. It is a part-like pseudo-element.",
|
|
76
76
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-file-selector-button"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "::details-content",
|
|
80
|
+
"prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is a part-like pseudo-element.",
|
|
81
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content"
|
|
77
82
|
}
|
|
78
83
|
],
|
|
79
84
|
"values": []
|
package/css-text-4.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "text-transform",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-transform",
|
|
10
|
-
"value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana",
|
|
10
|
+
"value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana | math-auto",
|
|
11
11
|
"initial": "none",
|
|
12
12
|
"appliesTo": "text",
|
|
13
13
|
"inherited": "yes",
|
|
@@ -57,6 +57,13 @@
|
|
|
57
57
|
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-full-size-kana",
|
|
58
58
|
"type": "value",
|
|
59
59
|
"value": "full-size-kana"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "math-auto",
|
|
63
|
+
"prose": "See MathML Core § 4.2 New text-transform value.",
|
|
64
|
+
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-math-auto",
|
|
65
|
+
"type": "value",
|
|
66
|
+
"value": "math-auto"
|
|
60
67
|
}
|
|
61
68
|
],
|
|
62
69
|
"styleDeclaration": [
|
|
@@ -472,7 +479,7 @@
|
|
|
472
479
|
},
|
|
473
480
|
{
|
|
474
481
|
"name": "balance",
|
|
475
|
-
"prose": "Line breaks are chosen to balance the remaining (empty) space in each line box, if better balance than auto is possible. This should avoid changing—and in the case of 5 or fewer lines must not change—the number of line boxes the block would contain if text-wrap were set to auto. The remaining space to consider is that which remains after placing floats and inline content, but before any adjustments due to text justification. Line boxes are balanced when the standard deviation from the average inline-size of the remaining space in each line box is reduced over the block (including lines that end in a forced break). Groups of lines separated by a forced line break are processed separately. The exact algorithm is UA-defined. UAs may treat this value as auto if there are more than ten lines to balance.",
|
|
482
|
+
"prose": "Line breaks are chosen to balance the remaining (empty) space in each line box, if better balance than auto is possible. This should avoid changing—and in the case of 5 or fewer lines must not change—the number of line boxes the block would contain if text-wrap were set to auto. The remaining space to consider is that which remains after placing floats and inline content, but before any adjustments due to text justification. Line boxes are balanced when the standard deviation from the average inline-size of the remaining space in each line box is reduced over the block (including lines that end in a forced break). Groups of lines separated by a forced line break are processed separately. If the element is affected by line-clamp, the clamping effect is applied first, then the remaining lines are balanced. The exact algorithm is UA-defined. UAs may treat this value as auto if there are more than ten lines to balance.",
|
|
476
483
|
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-balance",
|
|
477
484
|
"type": "value",
|
|
478
485
|
"value": "balance"
|
|
@@ -1168,11 +1175,11 @@
|
|
|
1168
1175
|
"value": "normal"
|
|
1169
1176
|
},
|
|
1170
1177
|
{
|
|
1171
|
-
"name": "<length>",
|
|
1178
|
+
"name": "<length-percentage>",
|
|
1172
1179
|
"prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits.",
|
|
1173
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-letter-spacing-length",
|
|
1180
|
+
"href": "https://drafts.csswg.org/css-text-4/#valdef-letter-spacing-length-percentage",
|
|
1174
1181
|
"type": "value",
|
|
1175
|
-
"value": "<length>"
|
|
1182
|
+
"value": "<length-percentage>"
|
|
1176
1183
|
}
|
|
1177
1184
|
],
|
|
1178
1185
|
"styleDeclaration": [
|
package/css-values-5.json
CHANGED
|
@@ -397,6 +397,13 @@
|
|
|
397
397
|
"type": "function",
|
|
398
398
|
"value": "calc-size( <calc-size-basis>, <calc-sum>? )",
|
|
399
399
|
"values": [
|
|
400
|
+
{
|
|
401
|
+
"name": "percentage",
|
|
402
|
+
"prose": "The percentage basis keyword indicates a basis size of 100%.",
|
|
403
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-percentage",
|
|
404
|
+
"type": "value",
|
|
405
|
+
"value": "percentage"
|
|
406
|
+
},
|
|
400
407
|
{
|
|
401
408
|
"name": "size",
|
|
402
409
|
"prose": "Within the calc-size calculation, if the calc-size basis is not any, the keyword size is allowed. This keyword is a <length>, and resolves at used value time.",
|
|
@@ -417,7 +424,7 @@
|
|
|
417
424
|
"name": "<calc-size-basis>",
|
|
418
425
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
|
|
419
426
|
"type": "type",
|
|
420
|
-
"value": "[ <intrinsic-size-keyword> | <calc-size()> | any | <calc-sum> ]"
|
|
427
|
+
"value": "[ <intrinsic-size-keyword> | percentage | <calc-size()> | any | <calc-sum> ]"
|
|
421
428
|
},
|
|
422
429
|
{
|
|
423
430
|
"name": "<intrinsic-size-keyword>",
|
package/css-viewport.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"spec": {
|
|
3
3
|
"title": "CSS Viewport Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-viewport
|
|
4
|
+
"url": "https://drafts.csswg.org/css-viewport/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "zoom",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-viewport
|
|
9
|
+
"href": "https://drafts.csswg.org/css-viewport/#propdef-zoom",
|
|
10
10
|
"value": "<number [0,∞]> || <percentage [0,∞]>",
|
|
11
11
|
"initial": "1",
|
|
12
12
|
"appliesTo": "all <length> property values of all elements",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "<number>",
|
|
22
22
|
"prose": "Positive floating point number indicating a zoom factor. Numbers smaller than 1.0 indicate a \"zoom out\" or minification effect, while numbers greater than 1.0 indicate a \"zoom in\" or magnification effect. A 0 value is treated as if it was 1.",
|
|
23
|
-
"href": "https://drafts.csswg.org/css-viewport
|
|
23
|
+
"href": "https://drafts.csswg.org/css-viewport/#valdef-zoom-number",
|
|
24
24
|
"type": "value",
|
|
25
25
|
"value": "<number>"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "<percentage>",
|
|
29
29
|
"prose": "Positive floating point number, followed by a percentage character (\"%\") which indicates a zoom factor multiplied by 100. A 0 percentage is treated as if it was 100%.",
|
|
30
|
-
"href": "https://drafts.csswg.org/css-viewport
|
|
30
|
+
"href": "https://drafts.csswg.org/css-viewport/#valdef-zoom-percentage",
|
|
31
31
|
"type": "value",
|
|
32
32
|
"value": "<percentage>"
|
|
33
33
|
}
|