@webref/css 5.4.0 → 5.4.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 +2 -2
- package/css-anchor.json +16 -1
- package/css-color.json +1 -1
- package/css-contain.json +1 -1
- package/css-images-4.json +4 -3
- package/css-values.json +3 -3
- package/package.json +1 -1
- package/css-nesting.json +0 -14
package/compat.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"percentages": "N/A",
|
|
14
14
|
"computedValue": "an RGBA color",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
|
-
"animationType": "
|
|
16
|
+
"animationType": "by computed value type",
|
|
17
17
|
"media": "visual",
|
|
18
18
|
"styleDeclaration": [
|
|
19
19
|
"-webkit-text-fill-color",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"percentages": "N/A",
|
|
31
31
|
"computedValue": "an RGBA color",
|
|
32
32
|
"canonicalOrder": "per grammar",
|
|
33
|
-
"animationType": "
|
|
33
|
+
"animationType": "by computed value type",
|
|
34
34
|
"media": "visual",
|
|
35
35
|
"styleDeclaration": [
|
|
36
36
|
"-webkit-text-stroke-color",
|
package/css-anchor.json
CHANGED
|
@@ -4,11 +4,26 @@
|
|
|
4
4
|
"url": "https://drafts.csswg.org/css-anchor-1/"
|
|
5
5
|
},
|
|
6
6
|
"properties": {
|
|
7
|
+
"anchor-scroll": {
|
|
8
|
+
"name": "anchor-scroll",
|
|
9
|
+
"value": "none | <dashed-ident>",
|
|
10
|
+
"initial": "none",
|
|
11
|
+
"appliesTo": "absolutely-positioned elements",
|
|
12
|
+
"inherited": "no",
|
|
13
|
+
"percentages": "n/a",
|
|
14
|
+
"computedValue": "as specified",
|
|
15
|
+
"canonicalOrder": "per grammar",
|
|
16
|
+
"animationType": "discrete",
|
|
17
|
+
"styleDeclaration": [
|
|
18
|
+
"anchor-scroll",
|
|
19
|
+
"anchorScroll"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
7
22
|
"anchor-name": {
|
|
8
23
|
"name": "anchor-name",
|
|
9
24
|
"value": "none | <dashed-ident>",
|
|
10
25
|
"initial": "none",
|
|
11
|
-
"appliesTo": "all elements",
|
|
26
|
+
"appliesTo": "all elements that generate a principal box",
|
|
12
27
|
"inherited": "no",
|
|
13
28
|
"percentages": "n/a",
|
|
14
29
|
"computedValue": "as specified",
|
package/css-color.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"value": "hsl | hwb | lch | oklch"
|
|
124
124
|
},
|
|
125
125
|
"<hue-interpolation-method>": {
|
|
126
|
-
"value": "[ shorter | longer | increasing | decreasing
|
|
126
|
+
"value": "[ shorter | longer | increasing | decreasing ] hue"
|
|
127
127
|
},
|
|
128
128
|
"<color-interpolation-method>": {
|
|
129
129
|
"value": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
|
package/css-contain.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"name": "content-visibility",
|
|
23
23
|
"value": "visible | auto | hidden",
|
|
24
24
|
"initial": "visible",
|
|
25
|
-
"appliesTo": "elements for which
|
|
25
|
+
"appliesTo": "elements for which size containment can apply",
|
|
26
26
|
"inherited": "no",
|
|
27
27
|
"percentages": "n/a",
|
|
28
28
|
"computedValue": "as specified",
|
package/css-images-4.json
CHANGED
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"atrules": {},
|
|
54
54
|
"valuespaces": {
|
|
55
|
+
"<image-set()>": {
|
|
56
|
+
"prose": "Delivering the most appropriate image resolution for a user’s device can be a difficult task. Ideally, images should be in the same resolution as the device they’re being viewed in, which can vary between users. However, other factors can factor into the decision of which image to send; for example, if the user is on a slow mobile connection, they may prefer to receive lower-res images rather than waiting for a large proper-res image to load. The image-set() function allows an author to ignore most of these issues, simply providing multiple resolutions of an image and letting the UA decide which is most appropriate in a given situation.",
|
|
57
|
+
"value": "image-set( <image-set-option># )"
|
|
58
|
+
},
|
|
55
59
|
"<type()>": {
|
|
56
60
|
"value": "type( <string> )"
|
|
57
61
|
},
|
|
@@ -70,9 +74,6 @@
|
|
|
70
74
|
"<image>": {
|
|
71
75
|
"value": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>"
|
|
72
76
|
},
|
|
73
|
-
"<image-set()>": {
|
|
74
|
-
"value": "image-set( <image-set-option># )"
|
|
75
|
-
},
|
|
76
77
|
"<image-set-option>": {
|
|
77
78
|
"value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]"
|
|
78
79
|
},
|
package/css-values.json
CHANGED
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"prose": "The <dashed-ident> production is a <custom-ident>, with all the case-sensitivity that implies, with the additional restriction that it must start with two dashes (U+002D HYPHEN-MINUS)."
|
|
26
26
|
},
|
|
27
27
|
"<url()>": {
|
|
28
|
-
"prose": "
|
|
28
|
+
"prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
|
|
29
29
|
},
|
|
30
30
|
"<src()>": {
|
|
31
|
-
"prose": "
|
|
31
|
+
"prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
|
|
32
32
|
},
|
|
33
33
|
"<url-modifier>": {
|
|
34
|
-
"prose": "
|
|
34
|
+
"prose": "<url>s support specifying additional <url-modifier>s, which change the meaning or the interpretation of the URL somehow. A <url-modifier> is either an <ident> or a functional notation."
|
|
35
35
|
},
|
|
36
36
|
"<zero>": {
|
|
37
37
|
"prose": "The value <zero> represents a literal number with the value 0. Expressions that merely evaluate to a <number> with the value 0 (for example, calc(0)) do not match <zero>; only literal <number-token>s do."
|
package/package.json
CHANGED
package/css-nesting.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Nesting Module",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-nesting-1/"
|
|
5
|
-
},
|
|
6
|
-
"properties": {},
|
|
7
|
-
"atrules": {
|
|
8
|
-
"@nest": {
|
|
9
|
-
"value": "@nest <selector-list> { <style-block> }",
|
|
10
|
-
"descriptors": []
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"valuespaces": {}
|
|
14
|
-
}
|