@webref/css 5.4.1 → 5.4.3

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.
@@ -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",
@@ -306,9 +306,6 @@
306
306
  },
307
307
  "atrules": {},
308
308
  "valuespaces": {
309
- "<position>": {
310
- "value": "[ [ left | center | right | top | bottom | start | end | <length-percentage> ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ center | [ left | right | x-start | x-end ] <length-percentage>? ] && [ center | [ top | bottom | y-start | y-end ] <length-percentage>? ] | [ center | [ start | end ] <length-percentage>? ] [ center | [ start | end ] <length-percentage>? ] ]"
311
- },
312
309
  "<bg-clip>": {
313
310
  "value": "<box> | border | text"
314
311
  }
package/css-fonts.json CHANGED
@@ -516,9 +516,6 @@
516
516
  "<palette-identifier>": {
517
517
  "prose": "This value identifies an CSS-defined palette to use. Users can define a palette by using the @font-palette-values rule. If no applicable @font-palette-values rule is present, this value behaves as normal. <palette-identifier> is parsed as a <dashed-ident>."
518
518
  },
519
- "<integer>": {
520
- "prose": "Identifies a (zero-based) numerical palette index within the font."
521
- },
522
519
  "<font-weight-absolute>": {
523
520
  "value": "[normal | bold | <number [1,1000]>]"
524
521
  },
package/css-images-4.json CHANGED
@@ -136,6 +136,15 @@
136
136
  },
137
137
  "<color-stop>": {
138
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> ]?"
139
148
  }
140
149
  }
141
150
  }
package/css-inline.json CHANGED
@@ -71,8 +71,9 @@
71
71
  "appliesTo": "inline-level boxes and SVG text content elements",
72
72
  "inherited": "no",
73
73
  "percentages": "refer to the used value of line-height",
74
- "computedValue": "the specified keyword and/or a computed <length-percentage> value",
74
+ "computedValue": "the specified keyword or a computed <length-percentage> value",
75
75
  "canonicalOrder": "per grammar",
76
+ "animationType": "by computed value type",
76
77
  "styleDeclaration": [
77
78
  "baseline-shift",
78
79
  "baselineShift"
@@ -87,6 +88,7 @@
87
88
  "percentages": "computed relative to 1em",
88
89
  "computedValue": "the specified keyword, a number, or a computed <length> value",
89
90
  "canonicalOrder": "per grammar",
91
+ "animationType": "by computed value type",
90
92
  "styleDeclaration": [
91
93
  "line-height",
92
94
  "lineHeight"
@@ -101,6 +103,7 @@
101
103
  "percentages": "N/A",
102
104
  "computedValue": "the specified keyword",
103
105
  "canonicalOrder": "per grammar",
106
+ "animationType": "discrete",
104
107
  "styleDeclaration": [
105
108
  "text-edge",
106
109
  "textEdge"
@@ -115,6 +118,7 @@
115
118
  "percentages": "N/A",
116
119
  "computedValue": "the specified keyword",
117
120
  "canonicalOrder": "per grammar",
121
+ "animationType": "discrete",
118
122
  "styleDeclaration": [
119
123
  "leading-trim",
120
124
  "leadingTrim"
@@ -125,7 +129,7 @@
125
129
  "value": "normal | stretch",
126
130
  "initial": "normal",
127
131
  "appliesTo": "inline boxes, but not ruby container boxes nor internal ruby boxes",
128
- "inherited": "no",
132
+ "inherited": "yes",
129
133
  "percentages": "n/a",
130
134
  "computedValue": "specified keyword",
131
135
  "canonicalOrder": "per grammar",
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
@@ -24,6 +24,9 @@
24
24
  "<dashed-ident>": {
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
+ "<string>": {
28
+ "prose": "Strings are denoted by <string>. When written literally, they consist of a sequence of characters delimited by double quotes or single quotes, corresponding to the <string-token> production in the CSS Syntax Module [CSS-SYNTAX-3]."
29
+ },
27
30
  "<url()>": {
28
31
  "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource."
29
32
  },
@@ -33,12 +36,21 @@
33
36
  "<url-modifier>": {
34
37
  "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
38
  },
39
+ "<integer>": {
40
+ "prose": "Integer values are denoted by <integer>."
41
+ },
42
+ "<number>": {
43
+ "prose": "Number values are denoted by <number>, and represent real numbers, possibly with a fractional component."
44
+ },
36
45
  "<zero>": {
37
46
  "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."
38
47
  },
39
48
  "<dimension>": {
40
49
  "prose": "The general term dimension refers to a number with a unit attached to it; and is denoted by <dimension>."
41
50
  },
51
+ "<percentage>": {
52
+ "prose": "Percentage values are denoted by <percentage>, and indicates a value that is some fraction of another reference value."
53
+ },
42
54
  "<length-percentage>": {
43
55
  "value": "[ <length> | <percentage> ]"
44
56
  },
@@ -55,6 +67,9 @@
55
67
  "prose": "Ratio values are denoted by <ratio>, and represent the ratio of two numeric values. It most often represents an aspect ratio, relating a width (first) to a height (second).",
56
68
  "value": "<number [0,∞]> [ / <number [0,∞]> ]?"
57
69
  },
70
+ "<length>": {
71
+ "prose": "Lengths refer to distance measurements and are denoted by <length> in the property definitions. A length is a dimension."
72
+ },
58
73
  "<angle>": {
59
74
  "prose": "Angle values are <dimension>s denoted by <angle>. The angle unit identifiers are:"
60
75
  },
@@ -67,6 +82,10 @@
67
82
  "<resolution>": {
68
83
  "prose": "Resolution units are dimensions denoted by <resolution>. The resolution unit identifiers are:"
69
84
  },
85
+ "<position>": {
86
+ "prose": "The <position> value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is interpreted as specified for background-position. [CSS3-BACKGROUND]",
87
+ "value": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
88
+ },
70
89
  "<calc()>": {
71
90
  "prose": "The calc() function is a math function that allows basic arithmetic to be performed on numerical values, using addition (+), subtraction (-), multiplication (*), division (/), and parentheses.",
72
91
  "value": "calc( <calc-sum> )"
@@ -141,6 +160,9 @@
141
160
  "<quirky-length>": {
142
161
  "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:"
143
162
  },
163
+ "<url>": {
164
+ "value": "url( <string> <url-modifier>* ) | src( <string> <url-modifier>* )"
165
+ },
144
166
  "<calc-sum>": {
145
167
  "value": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
146
168
  },
@@ -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
  }
@@ -86,9 +86,6 @@
86
86
  },
87
87
  "atrules": {},
88
88
  "valuespaces": {
89
- "<url>": {
90
- "prose": "A filter reference to a filter element. For example url(commonfilters.svg#filter). If the filter references a non-existent object or the referenced object is not a filter element, then the whole filter chain is ignored. No filter is applied to the object."
91
- },
92
89
  "<number-optional-number>": {
93
90
  "value": "<number> <number>?"
94
91
  },
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.1",
4
+ "version": "5.4.3",
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
  },