@webref/css 6.25.0 → 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/css-cascade-6.json +26 -1
- package/css-color-5.json +14 -2
- package/css-conditional-5.json +15 -1
- package/mediaqueries-5.json +2 -2
- package/package.json +1 -1
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/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>",
|