@webref/css 5.4.0 → 5.4.2

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 CHANGED
@@ -13,7 +13,7 @@
13
13
  "percentages": "N/A",
14
14
  "computedValue": "an RGBA color",
15
15
  "canonicalOrder": "per grammar",
16
- "animationType": "as color",
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": "as color",
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",
@@ -96,12 +96,12 @@
96
96
  },
97
97
  "border-top-color": {
98
98
  "name": "border-top-color",
99
- "value": "<color>#",
99
+ "value": "<color> | <1d-image>",
100
100
  "initial": "currentcolor",
101
101
  "appliesTo": "all elements",
102
102
  "inherited": "no",
103
103
  "percentages": "n/a",
104
- "computedValue": "the computed color",
104
+ "computedValue": "the computed color and/or a one-dimensional image function",
105
105
  "canonicalOrder": "per grammar",
106
106
  "animationType": "see prose",
107
107
  "styleDeclaration": [
@@ -111,12 +111,12 @@
111
111
  },
112
112
  "border-right-color": {
113
113
  "name": "border-right-color",
114
- "value": "<color>#",
114
+ "value": "<color> | <1d-image>",
115
115
  "initial": "currentcolor",
116
116
  "appliesTo": "all elements",
117
117
  "inherited": "no",
118
118
  "percentages": "n/a",
119
- "computedValue": "the computed color",
119
+ "computedValue": "the computed color and/or a one-dimensional image function",
120
120
  "canonicalOrder": "per grammar",
121
121
  "animationType": "see prose",
122
122
  "styleDeclaration": [
@@ -126,12 +126,12 @@
126
126
  },
127
127
  "border-bottom-color": {
128
128
  "name": "border-bottom-color",
129
- "value": "<color>#",
129
+ "value": "<color> | <1d-image>",
130
130
  "initial": "currentcolor",
131
131
  "appliesTo": "all elements",
132
132
  "inherited": "no",
133
133
  "percentages": "n/a",
134
- "computedValue": "the computed color",
134
+ "computedValue": "the computed color and/or a one-dimensional image function",
135
135
  "canonicalOrder": "per grammar",
136
136
  "animationType": "see prose",
137
137
  "styleDeclaration": [
@@ -141,12 +141,12 @@
141
141
  },
142
142
  "border-left-color": {
143
143
  "name": "border-left-color",
144
- "value": "<color>#",
144
+ "value": "<color> | <1d-image>",
145
145
  "initial": "currentcolor",
146
146
  "appliesTo": "all elements",
147
147
  "inherited": "no",
148
148
  "percentages": "n/a",
149
- "computedValue": "the computed color",
149
+ "computedValue": "the computed color and/or a one-dimensional image function",
150
150
  "canonicalOrder": "per grammar",
151
151
  "animationType": "see prose",
152
152
  "styleDeclaration": [
@@ -156,7 +156,7 @@
156
156
  },
157
157
  "border-color": {
158
158
  "name": "border-color",
159
- "value": "<color>#{1,4}",
159
+ "value": "[ <color> | <1d-image> ]{1,4}",
160
160
  "initial": "see individual properties",
161
161
  "appliesTo": "see individual properties",
162
162
  "inherited": "see individual properties",
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 | specified ] hue"
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 layout containment can apply",
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
  },
@@ -135,6 +136,15 @@
135
136
  },
136
137
  "<color-stop>": {
137
138
  "value": "<color-stop-length> | <color-stop-angle>"
139
+ },
140
+ "<1d-image>": {
141
+ "value": "<stripes()>"
142
+ },
143
+ "<stripes()>": {
144
+ "value": "stripes( <color-stripe># )"
145
+ },
146
+ "<color-stripe>": {
147
+ "value": "<color> && [ <length-percentage> | <flex> ]?"
138
148
  }
139
149
  }
140
150
  }
package/css-ui.json CHANGED
@@ -50,12 +50,12 @@
50
50
  },
51
51
  "outline-color": {
52
52
  "name": "outline-color",
53
- "value": "<color> | invert",
53
+ "value": "[ <color> | <1d-image> ] | invert",
54
54
  "initial": "invert",
55
55
  "appliesTo": "all elements",
56
56
  "inherited": "no",
57
57
  "percentages": "N/A",
58
- "computedValue": "The computed value for invert is invert. For <color> values, see [[!CSS-COLOR-4#resolving-color-values]] in [CSS-COLOR-4].",
58
+ "computedValue": "The computed value for invert is invert. For <color> values, see CSS Color 4 § 14 Resolving <color> Values in [CSS-COLOR-4]. For <1d-image> values, see CSS Images 4 § 4 1D Image Values: the stripes() notation in [CSS-IMAGES-4].",
59
59
  "canonicalOrder": "per grammar",
60
60
  "animationType": "by computed value",
61
61
  "styleDeclaration": [
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": "Typically, a <url> is written with the url() or src() functional notations:"
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": "Typically, a <url> is written with the url() or src() functional notations:"
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": "The url() function supports 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."
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."
@@ -4,8 +4,8 @@
4
4
  "url": "https://drafts.csswg.org/css-view-transitions-1/"
5
5
  },
6
6
  "properties": {
7
- "page-transition-tag": {
8
- "name": "page-transition-tag",
7
+ "view-transition-name": {
8
+ "name": "view-transition-name",
9
9
  "value": "none | <custom-ident>",
10
10
  "initial": "none",
11
11
  "appliesTo": "all elements",
@@ -15,14 +15,14 @@
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "discrete",
17
17
  "styleDeclaration": [
18
- "page-transition-tag",
19
- "pageTransitionTag"
18
+ "view-transition-name",
19
+ "viewTransitionName"
20
20
  ]
21
21
  }
22
22
  },
23
23
  "atrules": {},
24
24
  "valuespaces": {
25
- "<pt-tag-selector>": {
25
+ "<pt-name-selector>": {
26
26
  "value": "'*' | <custom-ident>"
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "5.4.0",
4
+ "version": "5.4.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -141,7 +141,7 @@
141
141
  },
142
142
  "animation-delay-start": {
143
143
  "name": "animation-delay-start",
144
- "value": "[ <time> | <timeline-range-name> <percentage> ]",
144
+ "value": "[ <time> | <timeline-range-name> <percentage> ]#",
145
145
  "initial": "0s",
146
146
  "appliesTo": "all elements",
147
147
  "inherited": "no",
@@ -172,12 +172,13 @@
172
172
  },
173
173
  "atrules": {},
174
174
  "valuespaces": {
175
+ "<scroll()>": {
176
+ "prose": "The scroll() functional notation can be used as a value of animation-timeline and specifies a scroll progress timeline. Its syntax is",
177
+ "value": "scroll( [ <scroller> || <axis> ]? )"
178
+ },
175
179
  "<timeline-range-name>": {
176
180
  "prose": "A named timeline range is a named segment of an animation timeline. The start of the segment is represented as 0% progress through the range; the end of the segment is represented as 100% progress through the range. Multiple named timeline ranges can be attached to a given timeline, and multiple such ranges can overlap. For example, the contain range of a view progress timeline overlaps with its cover range. Named timeline ranges are represented by the <timeline-range-name> value type, which indicates a CSS identifier representing one of the predefined named timeline ranges."
177
181
  },
178
- "<scroll()>": {
179
- "value": "scroll( <axis>? <scroller>? )"
180
- },
181
182
  "<axis>": {
182
183
  "value": "block | inline | vertical | horizontal"
183
184
  },
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
- }