@webref/css 6.24.2 → 6.25.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/compat.json +7 -0
- package/css-animations.json +4 -0
- package/css-backgrounds-4.json +3 -0
- package/css-backgrounds.json +3 -0
- package/css-borders.json +3 -0
- package/css-cascade-6.json +26 -1
- package/css-color-5.json +14 -2
- package/css-conditional-5.json +15 -1
- package/css-env.json +6 -0
- package/css-fonts.json +8 -0
- package/css-image-animation.json +10 -3
- package/css-masking.json +3 -0
- package/css-overflow-5.json +16 -2
- package/mediaqueries-5.json +2 -2
- package/package.json +1 -1
- package/scroll-animations.json +3 -3
package/compat.json
CHANGED
|
@@ -238,6 +238,10 @@
|
|
|
238
238
|
"animation-fill-mode",
|
|
239
239
|
"animation-play-state",
|
|
240
240
|
"animation-timeline"
|
|
241
|
+
],
|
|
242
|
+
"resetLonghands": [
|
|
243
|
+
"animation-range",
|
|
244
|
+
"animation-trigger"
|
|
241
245
|
]
|
|
242
246
|
},
|
|
243
247
|
{
|
|
@@ -501,6 +505,9 @@
|
|
|
501
505
|
"mask-clip",
|
|
502
506
|
"mask-composite",
|
|
503
507
|
"mask-mode"
|
|
508
|
+
],
|
|
509
|
+
"resetLonghands": [
|
|
510
|
+
"mask-border"
|
|
504
511
|
]
|
|
505
512
|
},
|
|
506
513
|
{
|
package/css-animations.json
CHANGED
package/css-backgrounds-4.json
CHANGED
package/css-backgrounds.json
CHANGED
package/css-borders.json
CHANGED
package/css-cascade-6.json
CHANGED
|
@@ -5,16 +5,41 @@
|
|
|
5
5
|
},
|
|
6
6
|
"properties": [],
|
|
7
7
|
"atrules": [
|
|
8
|
+
{
|
|
9
|
+
"name": "@import",
|
|
10
|
+
"prose": "The @import rule allows users to import style rules from other style sheets. If an @import rule refers to a valid stylesheet, user agents must treat the contents of the stylesheet as if they were written in place of the @import rule, with two exceptions:",
|
|
11
|
+
"href": "https://drafts.csswg.org/css-cascade-6/#at-ruledef-import",
|
|
12
|
+
"descriptors": [],
|
|
13
|
+
"value": "@import [ <url> | <string> ] [[ layer | layer( <layer-name> ) ] || [ scope | scope( <scope-start> | <scope-boundaries> ) ] || <supports-import-condition>]? <media-import-condition> ;"
|
|
14
|
+
},
|
|
8
15
|
{
|
|
9
16
|
"name": "@scope",
|
|
10
17
|
"prose": "Scoped styles are described in CSS using the @scope block at-rule, which declares a scoping root and optional scoping limits associated with a set of style rules.",
|
|
11
18
|
"href": "https://drafts.csswg.org/css-cascade-6/#at-ruledef-scope",
|
|
12
19
|
"descriptors": [],
|
|
13
|
-
"value": "@scope
|
|
20
|
+
"value": "@scope <scope-boundaries> { <block-contents> }"
|
|
14
21
|
}
|
|
15
22
|
],
|
|
16
23
|
"selectors": [],
|
|
17
24
|
"values": [
|
|
25
|
+
{
|
|
26
|
+
"name": "<supports-import-condition>",
|
|
27
|
+
"href": "https://drafts.csswg.org/css-cascade-6/#typedef-supports-import-condition",
|
|
28
|
+
"type": "type",
|
|
29
|
+
"value": "supports( [ <supports-condition> | <declaration> ] )"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "<media-import-condition>",
|
|
33
|
+
"href": "https://drafts.csswg.org/css-cascade-6/#typedef-media-import-condition",
|
|
34
|
+
"type": "type",
|
|
35
|
+
"value": "<media-query-list>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "<scope-boundaries>",
|
|
39
|
+
"href": "https://drafts.csswg.org/css-cascade-6/#typedef-scope-boundaries",
|
|
40
|
+
"type": "type",
|
|
41
|
+
"value": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?"
|
|
42
|
+
},
|
|
18
43
|
{
|
|
19
44
|
"name": "<scope-start>",
|
|
20
45
|
"prose": "<scope-start> is a <selector-list> selector used to identify the scoping root(s).",
|
package/css-color-5.json
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"prose": "Colors in CSS are represented by the <color> type:",
|
|
73
73
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-color",
|
|
74
74
|
"type": "type",
|
|
75
|
-
"value": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark
|
|
75
|
+
"value": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color>"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"name": "<color-base>",
|
|
@@ -412,10 +412,22 @@
|
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
"name": "light-dark()",
|
|
415
|
-
"value": "light-dark
|
|
415
|
+
"value": "<light-dark-color> | <light-dark-image>",
|
|
416
416
|
"href": "https://drafts.csswg.org/css-color-5/#funcdef-light-dark",
|
|
417
417
|
"type": "function"
|
|
418
418
|
},
|
|
419
|
+
{
|
|
420
|
+
"name": "<light-dark-color>",
|
|
421
|
+
"href": "https://drafts.csswg.org/css-color-5/#typedef-light-dark-color",
|
|
422
|
+
"type": "type",
|
|
423
|
+
"value": "light-dark(<color>, <color>)"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "<light-dark-image>",
|
|
427
|
+
"href": "https://drafts.csswg.org/css-color-5/#typedef-light-dark-image",
|
|
428
|
+
"type": "type",
|
|
429
|
+
"value": "light-dark(<image> | none, <image> | none)"
|
|
430
|
+
},
|
|
419
431
|
{
|
|
420
432
|
"name": "contrast-color()",
|
|
421
433
|
"value": "contrast-color( <color> )",
|
package/css-conditional-5.json
CHANGED
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"name": "<supports-feature>",
|
|
521
521
|
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-feature",
|
|
522
522
|
"type": "type",
|
|
523
|
-
"value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>"
|
|
523
|
+
"value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"name": "<supports-decl>",
|
|
@@ -678,5 +678,19 @@
|
|
|
678
678
|
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-condition-name",
|
|
679
679
|
"type": "type"
|
|
680
680
|
}
|
|
681
|
+
],
|
|
682
|
+
"warnings": [
|
|
683
|
+
{
|
|
684
|
+
"msg": "Missing definition",
|
|
685
|
+
"name": "<supports-env-fn>",
|
|
686
|
+
"value": "env( <ident> )"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"msg": "Dangling value",
|
|
690
|
+
"name": "env()",
|
|
691
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports-env",
|
|
692
|
+
"type": "function",
|
|
693
|
+
"for": "@supports"
|
|
694
|
+
}
|
|
681
695
|
]
|
|
682
696
|
}
|
package/css-env.json
CHANGED
|
@@ -104,6 +104,12 @@
|
|
|
104
104
|
"value": "preferred-text-scale"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "<env-args>",
|
|
110
|
+
"href": "https://drafts.csswg.org/css-env-1/#typedef-env-args",
|
|
111
|
+
"type": "type",
|
|
112
|
+
"value": "env( <declaration-value>, <declaration-value>? )"
|
|
107
113
|
}
|
|
108
114
|
]
|
|
109
115
|
}
|
package/css-fonts.json
CHANGED
|
@@ -335,6 +335,14 @@
|
|
|
335
335
|
"font-size",
|
|
336
336
|
"line-height",
|
|
337
337
|
"font-family"
|
|
338
|
+
],
|
|
339
|
+
"resetLonghands": [
|
|
340
|
+
"font-feature-settings",
|
|
341
|
+
"font-kerning",
|
|
342
|
+
"font-language-override",
|
|
343
|
+
"font-optical-sizing",
|
|
344
|
+
"font-size-adjust",
|
|
345
|
+
"font-variation-settings"
|
|
338
346
|
]
|
|
339
347
|
},
|
|
340
348
|
{
|
package/css-image-animation.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "image-animation",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-image-animation-1/#propdef-image-animation",
|
|
10
|
-
"value": "normal | paused | running",
|
|
10
|
+
"value": "normal | paused | stopped | running",
|
|
11
11
|
"initial": "normal",
|
|
12
12
|
"appliesTo": "content images and elements with decorative images",
|
|
13
13
|
"inherited": "yes",
|
|
@@ -23,16 +23,23 @@
|
|
|
23
23
|
"type": "value",
|
|
24
24
|
"value": "normal"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"name": "stopped",
|
|
28
|
+
"prose": "Animated images are rendered as if they were static images: the user agent must not run any animation it contains. If the image contains a cover frame, that is what the user agent must use; otherwise, it must display the image as it would be in the initial state of the animation.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-image-animation-1/#valdef-image-animation-stopped",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "stopped"
|
|
32
|
+
},
|
|
26
33
|
{
|
|
27
34
|
"name": "paused",
|
|
28
|
-
"prose": "Animated images
|
|
35
|
+
"prose": "The user agent must not run the animation contained in the Animated images, and must continue to display the image as it was when this value started to apply, effectively pausing the animation. If the animation had not been playing prior to this value being applied, the behavior is the same as stopped.",
|
|
29
36
|
"href": "https://drafts.csswg.org/css-image-animation-1/#valdef-image-animation-paused",
|
|
30
37
|
"type": "value",
|
|
31
38
|
"value": "paused"
|
|
32
39
|
},
|
|
33
40
|
{
|
|
34
41
|
"name": "running",
|
|
35
|
-
"prose": "Like normal, the animation of animated images is run normally, as determined by the image format and the host language
|
|
42
|
+
"prose": "Like normal, the animation of animated images is run normally, as determined by the image format and the host language. However, animation timelines are scoped per element: among the content image and decorative images of a single element, any animated images with the same absolute URL, the same image data, and with an image-animation computed value of running must be rendered synchronized to the same timeline as a group, distinct from the timeline of images in other elements. If images are added to the element while the computed value is running, the timeline starts at the time of the least recent addition to the group. If the element is created or made visible after having previously been set to display: none, with images already added and with image-animation already set to running, the timeline starts when the element is included in the layout. If this property is switched to running from another value, the beginnig of this timeline is set so that the animation continues from the state that was displayed at the timem of the switch.",
|
|
36
43
|
"href": "https://drafts.csswg.org/css-image-animation-1/#valdef-image-animation-running",
|
|
37
44
|
"type": "value",
|
|
38
45
|
"value": "running"
|
package/css-masking.json
CHANGED
package/css-overflow-5.json
CHANGED
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
{
|
|
40
40
|
"name": "scroll-marker-group",
|
|
41
41
|
"href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-marker-group",
|
|
42
|
-
"value": "none | before | after",
|
|
42
|
+
"value": "none | [ [ before | after ] || [ links | tabs ] ]",
|
|
43
43
|
"initial": "none",
|
|
44
44
|
"appliesTo": "scroll containers",
|
|
45
45
|
"inherited": "no",
|
|
46
46
|
"percentages": "n/a",
|
|
47
|
-
"computedValue": "specified
|
|
47
|
+
"computedValue": "specified keyword(s)",
|
|
48
48
|
"canonicalOrder": "per grammar",
|
|
49
49
|
"animationType": "discrete",
|
|
50
50
|
"values": [
|
|
@@ -68,6 +68,20 @@
|
|
|
68
68
|
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-after",
|
|
69
69
|
"type": "value",
|
|
70
70
|
"value": "after"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "links",
|
|
74
|
+
"prose": "The generated ::scroll-marker-group operates in \"links\" mode, functioning like a navigation list. This is the default mode if omitted.",
|
|
75
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-links",
|
|
76
|
+
"type": "value",
|
|
77
|
+
"value": "links"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "tabs",
|
|
81
|
+
"prose": "The generated ::scroll-marker-group operates in \"tabs\" mode, functioning like a tablist.",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-tabs",
|
|
83
|
+
"type": "value",
|
|
84
|
+
"value": "tabs"
|
|
71
85
|
}
|
|
72
86
|
],
|
|
73
87
|
"styleDeclaration": [
|
package/mediaqueries-5.json
CHANGED
|
@@ -837,13 +837,13 @@
|
|
|
837
837
|
"name": "<media-in-parens>",
|
|
838
838
|
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-in-parens",
|
|
839
839
|
"type": "type",
|
|
840
|
-
"value": "( <media-condition> ) | <media-feature> | <general-enclosed>"
|
|
840
|
+
"value": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
"name": "<media-feature>",
|
|
844
844
|
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-feature",
|
|
845
845
|
"type": "type",
|
|
846
|
-
"value": "
|
|
846
|
+
"value": "[ <mf-plain> | <mf-boolean> | <mf-range> ]"
|
|
847
847
|
},
|
|
848
848
|
{
|
|
849
849
|
"name": "<mf-plain>",
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
"appliesTo": "all elements",
|
|
349
349
|
"inherited": "no",
|
|
350
350
|
"percentages": "n/a",
|
|
351
|
-
"computedValue": "the keyword none or a list of CSS identifiers",
|
|
351
|
+
"computedValue": "the keyword none, the keyword all, or a list of CSS identifiers",
|
|
352
352
|
"canonicalOrder": "per grammar",
|
|
353
353
|
"animationType": "not animatable",
|
|
354
354
|
"values": [
|
|
@@ -361,14 +361,14 @@
|
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
"name": "all",
|
|
364
|
-
"prose": "
|
|
364
|
+
"prose": "Specifies that all timeline names defined by this element or its flat tree descendants—whose scope is not already limited by a descendant using timeline-scope—to be in scope only for this element’s flat tree descendants; and limits descendants to only match timeline names to elements within this subtree.",
|
|
365
365
|
"href": "https://drafts.csswg.org/scroll-animations-1/#valdef-timeline-scope-all",
|
|
366
366
|
"type": "value",
|
|
367
367
|
"value": "all"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
"name": "<dashed-ident>",
|
|
371
|
-
"prose": "
|
|
371
|
+
"prose": "Specifies that a matching timeline name defined by this element or its flat tree descendants—whose scope is not already limited by a descendant using timeline-scope—to be in scope only for this element’s flat tree descendants; and limits descendants to only match timeline names to elements within this subtree.",
|
|
372
372
|
"href": "https://drafts.csswg.org/scroll-animations-1/#valdef-timeline-scope-dashed-ident",
|
|
373
373
|
"type": "value",
|
|
374
374
|
"value": "<dashed-ident>"
|