@webref/css 6.16.1 → 6.17.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-color-hdr.json +4 -4
- package/css-mixins.json +0 -36
- package/css-overflow-4.json +2 -1
- package/css-overflow-5.json +1 -1
- package/css-page-floats.json +1 -1
- package/css-pseudo.json +12 -8
- package/css-text-4.json +1 -1
- package/css-ui.json +2 -2
- package/css-values-5.json +101 -96
- package/css-values.json +0 -48
- package/css-view-transitions-2.json +10 -10
- package/motion.json +1 -1
- package/package.json +1 -1
- package/selectors.json +2 -2
- package/css-highlight-api.json +0 -23
package/css-color-hdr.json
CHANGED
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "dynamic-range-limit",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
|
|
10
|
-
"value": "standard | high | constrained-high",
|
|
10
|
+
"value": "standard | high | constrained-high | <dynamic-range-limit-mix()>",
|
|
11
11
|
"initial": "high",
|
|
12
12
|
"appliesTo": "all elements",
|
|
13
13
|
"inherited": "no",
|
|
14
14
|
"percentages": "n/a",
|
|
15
|
-
"computedValue": "
|
|
15
|
+
"computedValue": "see Computed Value for dynamic-range-limit",
|
|
16
16
|
"canonicalOrder": "per grammar",
|
|
17
17
|
"animationType": "by dynamic-range-limit-mix()",
|
|
18
18
|
"values": [
|
|
19
19
|
{
|
|
20
20
|
"name": "standard",
|
|
21
|
-
"prose": "The highest luminance color that is displayed is the same as
|
|
21
|
+
"prose": "The highest luminance color that is displayed is the same as media white, i.e. the CSS color white.",
|
|
22
22
|
"href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
|
|
23
23
|
"type": "value",
|
|
24
24
|
"value": "standard"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"name": "dynamic-range-limit-mix()",
|
|
52
52
|
"href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
|
|
53
53
|
"type": "function",
|
|
54
|
-
"value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]
|
|
54
|
+
"value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]+)"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "color()",
|
package/css-mixins.json
CHANGED
|
@@ -63,42 +63,6 @@
|
|
|
63
63
|
"prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its syntax is:",
|
|
64
64
|
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-dashed-function",
|
|
65
65
|
"type": "type"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "<syntax-type>",
|
|
69
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-type",
|
|
70
|
-
"type": "type",
|
|
71
|
-
"value": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "<syntax-combinator>",
|
|
75
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-combinator",
|
|
76
|
-
"type": "type",
|
|
77
|
-
"value": "'|'"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "<syntax-multiplier>",
|
|
81
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-multiplier",
|
|
82
|
-
"type": "type",
|
|
83
|
-
"value": "[ '#' | '+' ]"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "<syntax-component-name>",
|
|
87
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-component-name",
|
|
88
|
-
"type": "type",
|
|
89
|
-
"value": "'<' <syntax-type> '>' | <custom-ident>"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "<syntax-component>",
|
|
93
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-component",
|
|
94
|
-
"type": "type",
|
|
95
|
-
"value": "<syntax-component-name> <syntax-multiplier>? | '<' transform-list '>'"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "<syntax>",
|
|
99
|
-
"href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax",
|
|
100
|
-
"type": "type",
|
|
101
|
-
"value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
|
|
102
66
|
}
|
|
103
67
|
]
|
|
104
68
|
}
|
package/css-overflow-4.json
CHANGED
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"name": "fade()",
|
|
235
|
-
"value": "fade( [ <length
|
|
235
|
+
"value": "fade( [ <length-percentage> ] )",
|
|
236
236
|
"href": "https://drafts.csswg.org/css-overflow-4/#funcdef-text-overflow-fade",
|
|
237
237
|
"type": "function"
|
|
238
238
|
},
|
|
@@ -316,6 +316,7 @@
|
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"name": "<block-ellipsis>",
|
|
319
|
+
"prose": "Sets continue to discard if either or both values ares specified. Sets max-lines to the specified <integer> or to none if omitted, and block-ellipsis to other component of the value if specified or to auto if omitted.",
|
|
319
320
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
|
|
320
321
|
"type": "value",
|
|
321
322
|
"value": "<block-ellipsis>"
|
package/css-overflow-5.json
CHANGED
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"selectors": [
|
|
85
85
|
{
|
|
86
86
|
"name": "::scroll-marker-group",
|
|
87
|
-
"prose": "The ::scroll-marker-group pseudo-element
|
|
87
|
+
"prose": "The ::scroll-marker-group fully stylable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none, adjacent to the scroll container.",
|
|
88
88
|
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
|
|
89
89
|
},
|
|
90
90
|
{
|
package/css-page-floats.json
CHANGED
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
{
|
|
277
277
|
"name": "float-offset",
|
|
278
278
|
"href": "https://drafts.csswg.org/css-page-floats-3/#propdef-float-offset",
|
|
279
|
-
"value": "<length
|
|
279
|
+
"value": "<length-percentage>",
|
|
280
280
|
"initial": "0",
|
|
281
281
|
"appliesTo": "floats",
|
|
282
282
|
"inherited": "no",
|
package/css-pseudo.json
CHANGED
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
"prose": "The ::selection pseudo-element represents the portion of a document that has been selected as the target or object of some possible future user-agent operation(s). It applies, for example, to selected text within an editable text field, which would be copied by a copy operation or replaced by a paste operation.",
|
|
36
36
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-selection"
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"name": "::search-text",
|
|
40
|
+
"prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. How to identify the current match? [Issue #10527]",
|
|
41
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text"
|
|
42
|
+
},
|
|
38
43
|
{
|
|
39
44
|
"name": "::target-text",
|
|
40
45
|
"prose": "The ::target-text pseudo-element represents text directly targeted by the document URL’s fragment, if any.",
|
|
@@ -50,6 +55,11 @@
|
|
|
50
55
|
"prose": "The ::grammar-error pseudo-element represents a portion of text that has been flagged by the user agent as grammatically incorrect.",
|
|
51
56
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-grammar-error"
|
|
52
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"name": "::highlight()",
|
|
60
|
+
"value": "::highlight(<custom-ident>)",
|
|
61
|
+
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-highlight-custom-ident"
|
|
62
|
+
},
|
|
53
63
|
{
|
|
54
64
|
"name": "::before",
|
|
55
65
|
"prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content.",
|
|
@@ -72,19 +82,13 @@
|
|
|
72
82
|
},
|
|
73
83
|
{
|
|
74
84
|
"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. It is
|
|
85
|
+
"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 an element-backed pseudo-element.",
|
|
76
86
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-file-selector-button"
|
|
77
87
|
},
|
|
78
88
|
{
|
|
79
89
|
"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
|
|
90
|
+
"prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
|
|
81
91
|
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "::picker()",
|
|
85
|
-
"prose": "The ::picker() pseudo-element targets the popup picker of form control elements which have popup pickers, such as the select element. It is a part-like pseudo-element.",
|
|
86
|
-
"href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-picker",
|
|
87
|
-
"value": "::picker( <ident>+ )"
|
|
88
92
|
}
|
|
89
93
|
],
|
|
90
94
|
"values": []
|
package/css-text-4.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
|
|
124
124
|
"initial": "normal",
|
|
125
125
|
"appliesTo": "text",
|
|
126
|
-
"inherited": "individual properties",
|
|
126
|
+
"inherited": "see individual properties",
|
|
127
127
|
"percentages": "n/a",
|
|
128
128
|
"computedValue": "specified keyword",
|
|
129
129
|
"canonicalOrder": "n/a",
|
package/css-ui.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "outline",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-ui-4/#propdef-outline",
|
|
10
|
-
"value": "
|
|
10
|
+
"value": "<'outline-width'> || <'outline-style'> || <'outline-color'>",
|
|
11
11
|
"initial": "see individual properties",
|
|
12
12
|
"appliesTo": "all elements",
|
|
13
13
|
"inherited": "no",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"name": "outline-color",
|
|
56
56
|
"href": "https://drafts.csswg.org/css-ui-4/#propdef-outline-color",
|
|
57
|
-
"value": "auto |
|
|
57
|
+
"value": "auto | <color> | <image-1D>",
|
|
58
58
|
"initial": "auto",
|
|
59
59
|
"appliesTo": "all elements",
|
|
60
60
|
"inherited": "no",
|
package/css-values-5.json
CHANGED
|
@@ -40,6 +40,48 @@
|
|
|
40
40
|
"atrules": [],
|
|
41
41
|
"selectors": [],
|
|
42
42
|
"values": [
|
|
43
|
+
{
|
|
44
|
+
"name": "<syntax>",
|
|
45
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
|
|
46
|
+
"type": "type",
|
|
47
|
+
"value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "<syntax-component>",
|
|
51
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-component",
|
|
52
|
+
"type": "type",
|
|
53
|
+
"value": "<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "<syntax-single-component>",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-single-component",
|
|
58
|
+
"type": "type",
|
|
59
|
+
"value": "'<' <syntax-type-name> '>' | <ident>"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "<syntax-type-name>",
|
|
63
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-type-name",
|
|
64
|
+
"type": "type",
|
|
65
|
+
"value": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "<syntax-combinator>",
|
|
69
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-combinator",
|
|
70
|
+
"type": "type",
|
|
71
|
+
"value": "'|'"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "<syntax-multiplier>",
|
|
75
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-multiplier",
|
|
76
|
+
"type": "type",
|
|
77
|
+
"value": "[ '#' | '+' ]"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "<syntax-string>",
|
|
81
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-string",
|
|
82
|
+
"type": "type",
|
|
83
|
+
"value": "<string>"
|
|
84
|
+
},
|
|
43
85
|
{
|
|
44
86
|
"name": "<request-url-modifier>",
|
|
45
87
|
"prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
|
|
@@ -290,7 +332,7 @@
|
|
|
290
332
|
"name": "<progress()>",
|
|
291
333
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
|
|
292
334
|
"type": "type",
|
|
293
|
-
"value": "progress(<calc-sum
|
|
335
|
+
"value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
|
|
294
336
|
},
|
|
295
337
|
{
|
|
296
338
|
"name": "media-progress()",
|
|
@@ -302,7 +344,7 @@
|
|
|
302
344
|
"name": "<media-progress()>",
|
|
303
345
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
|
|
304
346
|
"type": "type",
|
|
305
|
-
"value": "media-progress(<
|
|
347
|
+
"value": "media-progress(<mf-name>, <calc-sum>, <calc-sum>)"
|
|
306
348
|
},
|
|
307
349
|
{
|
|
308
350
|
"name": "container-progress()",
|
|
@@ -314,7 +356,7 @@
|
|
|
314
356
|
"name": "<container-progress()>",
|
|
315
357
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
|
|
316
358
|
"type": "type",
|
|
317
|
-
"value": "container-progress(<
|
|
359
|
+
"value": "container-progress(<mf-name> [ of <container-name> ]?, <calc-sum>, <calc-sum>)"
|
|
318
360
|
},
|
|
319
361
|
{
|
|
320
362
|
"name": "<progress>",
|
|
@@ -387,7 +429,7 @@
|
|
|
387
429
|
"name": "<mix()>",
|
|
388
430
|
"href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
|
|
389
431
|
"type": "type",
|
|
390
|
-
"value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <
|
|
432
|
+
"value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
|
|
391
433
|
},
|
|
392
434
|
{
|
|
393
435
|
"name": "first-valid()",
|
|
@@ -401,6 +443,38 @@
|
|
|
401
443
|
"type": "type",
|
|
402
444
|
"value": "first-valid( <declaration-value># )"
|
|
403
445
|
},
|
|
446
|
+
{
|
|
447
|
+
"name": "if()",
|
|
448
|
+
"prose": "The if() notation is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() notation represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() notation represents an empty token stream.",
|
|
449
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
|
|
450
|
+
"type": "function",
|
|
451
|
+
"values": [
|
|
452
|
+
{
|
|
453
|
+
"name": "else",
|
|
454
|
+
"prose": "The else keyword represents a condition that is always true.",
|
|
455
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-if-else",
|
|
456
|
+
"type": "value",
|
|
457
|
+
"value": "else"
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "<if()>",
|
|
463
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if",
|
|
464
|
+
"type": "type",
|
|
465
|
+
"value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "<if-condition>",
|
|
469
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
|
|
470
|
+
"type": "type"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "<if-test>",
|
|
474
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
|
|
475
|
+
"type": "type",
|
|
476
|
+
"value": "supports( [ <supports-condition> | <ident> : <declaration-value> ] ) | media( <media-query> ) | style( <style-query> )"
|
|
477
|
+
},
|
|
404
478
|
{
|
|
405
479
|
"name": "toggle()",
|
|
406
480
|
"prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
|
|
@@ -413,91 +487,24 @@
|
|
|
413
487
|
"type": "type",
|
|
414
488
|
"value": "toggle( <whole-value># )"
|
|
415
489
|
},
|
|
490
|
+
{
|
|
491
|
+
"name": "inherit()",
|
|
492
|
+
"prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to the tokenized computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
|
|
493
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
|
|
494
|
+
"type": "function"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "<inherit()>",
|
|
498
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-inherit",
|
|
499
|
+
"type": "type",
|
|
500
|
+
"value": "inherit( <custom-property-name>, <declaration-value>? )"
|
|
501
|
+
},
|
|
416
502
|
{
|
|
417
503
|
"name": "attr()",
|
|
418
504
|
"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.",
|
|
419
505
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
|
|
420
506
|
"type": "function",
|
|
421
|
-
"value": "attr( <attr-name> <
|
|
422
|
-
"values": [
|
|
423
|
-
{
|
|
424
|
-
"name": "string",
|
|
425
|
-
"prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
|
|
426
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-string",
|
|
427
|
-
"type": "value",
|
|
428
|
-
"value": "string"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"name": "ident",
|
|
432
|
-
"prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
|
|
433
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-ident",
|
|
434
|
-
"type": "value",
|
|
435
|
-
"value": "ident"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"name": "color",
|
|
439
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
|
|
440
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-color",
|
|
441
|
-
"type": "value",
|
|
442
|
-
"value": "color"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "number",
|
|
446
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
447
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-number",
|
|
448
|
-
"type": "value",
|
|
449
|
-
"value": "number"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "percentage",
|
|
453
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
454
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-percentage",
|
|
455
|
-
"type": "value",
|
|
456
|
-
"value": "percentage"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"name": "length",
|
|
460
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
461
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-length",
|
|
462
|
-
"type": "value",
|
|
463
|
-
"value": "length"
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"name": "angle",
|
|
467
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
468
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-angle",
|
|
469
|
-
"type": "value",
|
|
470
|
-
"value": "angle"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "time",
|
|
474
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
475
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-time",
|
|
476
|
-
"type": "value",
|
|
477
|
-
"value": "time"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"name": "frequency",
|
|
481
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
482
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-frequency",
|
|
483
|
-
"type": "value",
|
|
484
|
-
"value": "frequency"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"name": "flex",
|
|
488
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
|
|
489
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-flex",
|
|
490
|
-
"type": "value",
|
|
491
|
-
"value": "flex"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"name": "<dimension-unit>",
|
|
495
|
-
"prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
|
|
496
|
-
"href": "https://drafts.csswg.org/css-values-5/#valdef-attr-dimension-unit",
|
|
497
|
-
"type": "value",
|
|
498
|
-
"value": "<dimension-unit>"
|
|
499
|
-
}
|
|
500
|
-
]
|
|
507
|
+
"value": "attr( <attr-name> <syntax>? , <declaration-value>?)"
|
|
501
508
|
},
|
|
502
509
|
{
|
|
503
510
|
"name": "<attr-name>",
|
|
@@ -505,18 +512,6 @@
|
|
|
505
512
|
"type": "type",
|
|
506
513
|
"value": "[ <ident-token> '|' ]? <ident-token>"
|
|
507
514
|
},
|
|
508
|
-
{
|
|
509
|
-
"name": "<attr-type>",
|
|
510
|
-
"href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
|
|
511
|
-
"type": "type",
|
|
512
|
-
"value": "string | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"name": "<dimension-unit>",
|
|
516
|
-
"prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
|
|
517
|
-
"href": "https://drafts.csswg.org/css-values-5/#typedef-dimension-unit",
|
|
518
|
-
"type": "type"
|
|
519
|
-
},
|
|
520
515
|
{
|
|
521
516
|
"name": "random()",
|
|
522
517
|
"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:",
|
|
@@ -585,6 +580,16 @@
|
|
|
585
580
|
}
|
|
586
581
|
],
|
|
587
582
|
"warnings": [
|
|
583
|
+
{
|
|
584
|
+
"msg": "Missing definition",
|
|
585
|
+
"name": "]>",
|
|
586
|
+
"value": "not <boolean-group> | <boolean-group> [ [ and <boolean-group> ]* | [ or <boolean-group> ]* ]"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"msg": "Missing definition",
|
|
590
|
+
"name": "<boolean-group>",
|
|
591
|
+
"value": "<test> | ( <boolean[ <test> ]> ) | <general-enclosed>"
|
|
592
|
+
},
|
|
588
593
|
{
|
|
589
594
|
"msg": "Missing definition",
|
|
590
595
|
"name": "progress-function()",
|
package/css-values.json
CHANGED
|
@@ -780,54 +780,6 @@
|
|
|
780
780
|
"type": "type",
|
|
781
781
|
"value": "e | pi | infinity | -infinity | NaN"
|
|
782
782
|
},
|
|
783
|
-
{
|
|
784
|
-
"name": "<boolean>",
|
|
785
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
|
|
786
|
-
"type": "type",
|
|
787
|
-
"value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"name": "<boolean-without-or>",
|
|
791
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
|
|
792
|
-
"type": "type",
|
|
793
|
-
"value": "<bool-not> | <bool-in-parens> <bool-and>*"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"name": "<bool-not>",
|
|
797
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
|
|
798
|
-
"type": "type",
|
|
799
|
-
"value": "not <bool-in-parens>"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"name": "<bool-and>",
|
|
803
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
|
|
804
|
-
"type": "type",
|
|
805
|
-
"value": "and <bool-in-parens>"
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"name": "<bool-or>",
|
|
809
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
|
|
810
|
-
"type": "type",
|
|
811
|
-
"value": "or <bool-in-parens>"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"name": "<bool-in-parens>",
|
|
815
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
|
|
816
|
-
"type": "type",
|
|
817
|
-
"value": "( <boolean> ) | <bool-test> | <general-enclosed>"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "<general-enclosed>",
|
|
821
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
|
|
822
|
-
"type": "type",
|
|
823
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "<bool-test>",
|
|
827
|
-
"prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
|
|
828
|
-
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
|
|
829
|
-
"type": "type"
|
|
830
|
-
},
|
|
831
783
|
{
|
|
832
784
|
"name": "<quirky-length>",
|
|
833
785
|
"prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
|
|
@@ -50,28 +50,28 @@
|
|
|
50
50
|
"values": [
|
|
51
51
|
{
|
|
52
52
|
"name": "normal",
|
|
53
|
-
"prose": "
|
|
53
|
+
"prose": "containingGroupName.",
|
|
54
54
|
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-normal",
|
|
55
55
|
"type": "value",
|
|
56
56
|
"value": "normal"
|
|
57
57
|
},
|
|
58
|
-
{
|
|
59
|
-
"name": "nearest",
|
|
60
|
-
"prose": "The used value is the view-transition-name computed value of the nearest ancestor whose view-transition-name computed value is not none.",
|
|
61
|
-
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-nearest",
|
|
62
|
-
"type": "value",
|
|
63
|
-
"value": "nearest"
|
|
64
|
-
},
|
|
65
58
|
{
|
|
66
59
|
"name": "contain",
|
|
67
|
-
"prose": "
|
|
60
|
+
"prose": "containingGroupName.",
|
|
68
61
|
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-contain",
|
|
69
62
|
"type": "value",
|
|
70
63
|
"value": "contain"
|
|
71
64
|
},
|
|
65
|
+
{
|
|
66
|
+
"name": "nearest",
|
|
67
|
+
"prose": "The document-scoped view transition name of the element’s nearest flat tree ancestor which participates in the transition.",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-nearest",
|
|
69
|
+
"type": "value",
|
|
70
|
+
"value": "nearest"
|
|
71
|
+
},
|
|
72
72
|
{
|
|
73
73
|
"name": "<custom-ident>",
|
|
74
|
-
"prose": "
|
|
74
|
+
"prose": "group if the element has a flat tree ancestor whose document-scoped view transition name is group and participates in transition; Otherwise containingGroupName.",
|
|
75
75
|
"href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-custom-ident",
|
|
76
76
|
"type": "value",
|
|
77
77
|
"value": "<custom-ident>"
|
package/motion.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "<offset-path> || <coord-box>",
|
|
29
|
-
"prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 §
|
|
29
|
+
"prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 3 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
|
|
30
30
|
"href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-offset-path--coord-box",
|
|
31
31
|
"type": "value",
|
|
32
32
|
"value": "<offset-path> || <coord-box>"
|
package/package.json
CHANGED
package/selectors.json
CHANGED
|
@@ -268,12 +268,12 @@
|
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
"name": ":user-invalid",
|
|
271
|
-
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
|
|
271
|
+
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
|
|
272
272
|
"href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"name": ":user-valid",
|
|
276
|
-
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
|
|
276
|
+
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
|
|
277
277
|
"href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo"
|
|
278
278
|
},
|
|
279
279
|
{
|
package/css-highlight-api.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Custom Highlight API Module Level 1",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-highlight-api-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [],
|
|
7
|
-
"atrules": [],
|
|
8
|
-
"selectors": [
|
|
9
|
-
{
|
|
10
|
-
"name": "::highlight()",
|
|
11
|
-
"value": "::highlight(<custom-highlight-name>)",
|
|
12
|
-
"href": "https://drafts.csswg.org/css-highlight-api-1/#selectordef-highlight-custom-highlight-name"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"values": [
|
|
16
|
-
{
|
|
17
|
-
"name": "<custom-highlight-name>",
|
|
18
|
-
"prose": "The ::highlight(<custom-highlight-name>) pseudo-element (also known as the custom highlight pseudo-element) represents the portion of a document that is being contained or partially contained in all the ranges of the registered custom highlight with the custom highlight name <custom-highlight-name>, if any. <custom-highlight-name> must be a valid CSS <ident-token>.",
|
|
19
|
-
"href": "https://drafts.csswg.org/css-highlight-api-1/#typedef-custom-highlight-name",
|
|
20
|
-
"type": "type"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
}
|