@webref/css 5.1.1 → 5.2.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-align.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Box Alignment Module Level 3",
4
- "url": "https://drafts.csswg.org/css-align/"
4
+ "url": "https://drafts.csswg.org/css-align-3/"
5
5
  },
6
6
  "properties": {
7
7
  "align-content": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Animations Level 1",
4
- "url": "https://drafts.csswg.org/css-animations/"
4
+ "url": "https://drafts.csswg.org/css-animations-1/"
5
5
  },
6
6
  "properties": {
7
7
  "animation-name": {
@@ -94,21 +94,6 @@
94
94
  "animationPlayState"
95
95
  ]
96
96
  },
97
- "animation-delay": {
98
- "name": "animation-delay",
99
- "value": "<time>#",
100
- "initial": "0s",
101
- "appliesTo": "all elements",
102
- "inherited": "no",
103
- "percentages": "N/A",
104
- "computedValue": "list, each item a duration",
105
- "canonicalOrder": "per grammar",
106
- "animationType": "not animatable",
107
- "styleDeclaration": [
108
- "animation-delay",
109
- "animationDelay"
110
- ]
111
- },
112
97
  "animation-fill-mode": {
113
98
  "name": "animation-fill-mode",
114
99
  "value": "<single-animation-fill-mode>#",
@@ -166,9 +151,6 @@
166
151
  },
167
152
  "<keyframe-block>": {
168
153
  "value": "<keyframe-selector># { <declaration-list> }"
169
- },
170
- "<keyframe-selector>": {
171
- "value": "from | to | <percentage [0,100]>"
172
154
  }
173
155
  }
174
156
  }
@@ -52,7 +52,7 @@
52
52
  "background-position-inline": {
53
53
  "name": "background-position-inline",
54
54
  "value": "[ center | [ start | end ]? <length-percentage>? ]#",
55
- "initial": "not applicable (initial value comes from physical property)",
55
+ "initial": "0%",
56
56
  "appliesTo": "all elements",
57
57
  "inherited": "no",
58
58
  "percentages": "refer to inline-size of background positioning area minus inline-size of background image",
@@ -67,7 +67,7 @@
67
67
  "background-position-block": {
68
68
  "name": "background-position-block",
69
69
  "value": "[ center | [ start | end ]? <length-percentage>? ]#",
70
- "initial": "not applicable (initial value comes from physical property)",
70
+ "initial": "0%",
71
71
  "appliesTo": "all elements",
72
72
  "inherited": "no",
73
73
  "percentages": "refer to size of background positioning area minus size of background image",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Backgrounds and Borders Module Level 3",
4
- "url": "https://drafts.csswg.org/css-backgrounds/"
4
+ "url": "https://drafts.csswg.org/css-backgrounds-3/"
5
5
  },
6
6
  "properties": {
7
7
  "background-color": {
@@ -15,7 +15,7 @@
15
15
  "prose": "The <scope-start> is a <forgiving-selector-list>. Each element matched by <scope-start> is a scoping element, creating a scope with itself as the scoping root."
16
16
  },
17
17
  "<scope-end>": {
18
- "prose": "The <scope-end> is a <forgiving-selector-list> that is scoped by the <scope-start> selector, with the scoping roots as :scope elements. Each element matched by <scope-end> is a scoping limit. The scoping limit elements define the lower bounds of a scope, so that scoped selectors are not able to match any elements nested within them."
18
+ "prose": "The <scope-end> is a <forgiving-selector-list> that is scoped by the <scope-start> selector, with the scoping roots as :scope elements. Each element matched by <scope-end> is a scoping limit. The scoping limit elements define the lower bounds of a scope, so that scoped selectors are not able to match any scoping limit elements, or any elements nested within them."
19
19
  },
20
20
  "<selector-scope>": {
21
21
  "value": "( <scope-start> [/ <scope-end>]? )"
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "atrules": {
60
60
  "@container": {
61
- "value": "@container [ <container-name> ]? <container-condition> { <stylesheet> }",
61
+ "value": "@container <container-condition> { <stylesheet> }",
62
62
  "descriptors": [
63
63
  {
64
64
  "name": "width",
@@ -106,23 +106,23 @@
106
106
  "<style-feature>": {
107
107
  "prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
108
108
  },
109
+ "<container-condition>": {
110
+ "value": "[ <container-name> ]? <container-query>"
111
+ },
109
112
  "<container-name>": {
110
113
  "value": "<custom-ident>"
111
114
  },
112
- "<container-condition>": {
115
+ "<container-query>": {
113
116
  "value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
114
117
  },
115
118
  "<query-in-parens>": {
116
- "value": "( <container-condition> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
119
+ "value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
117
120
  },
118
121
  "<style-query>": {
119
- "value": "<style-condition> | <style-feature>"
120
- },
121
- "<style-condition>": {
122
- "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ]"
122
+ "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
123
123
  },
124
124
  "<style-in-parens>": {
125
- "value": "( <style-condition> ) | ( <style-feature> ) | <general-enclosed>"
125
+ "value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
126
126
  }
127
127
  }
128
128
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Counter Styles Level 3",
4
- "url": "https://drafts.csswg.org/css-counter-styles/"
4
+ "url": "https://drafts.csswg.org/css-counter-styles-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Device Adaptation Module Level 1",
4
- "url": "https://drafts.csswg.org/css-device-adapt/"
4
+ "url": "https://drafts.csswg.org/css-device-adapt-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
package/css-display.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Display Module Level 3",
4
- "url": "https://drafts.csswg.org/css-display/"
4
+ "url": "https://drafts.csswg.org/css-display-3/"
5
5
  },
6
6
  "properties": {
7
7
  "display": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Exclusions Module Level 1",
4
- "url": "https://drafts.csswg.org/css-exclusions/"
4
+ "url": "https://drafts.csswg.org/css-exclusions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "wrap-flow": {
package/css-fonts.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "percentages": "n/a",
59
59
  "computedValue": "the keyword specified, plus angle in degrees if specified",
60
60
  "canonicalOrder": "per grammar",
61
- "animationType": "by computed value type; normal animates as 'oblique 0deg'",
61
+ "animationType": "by computed value type; normal animates as oblique 0deg",
62
62
  "styleDeclaration": [
63
63
  "font-style",
64
64
  "fontStyle"
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "font-variant": {
279
279
  "name": "font-variant",
280
- "value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] || [ text | emoji | unicode ] ]",
280
+ "value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
281
281
  "initial": "normal",
282
282
  "appliesTo": "all elements and text",
283
283
  "inherited": "yes",
@@ -488,7 +488,7 @@
488
488
  {
489
489
  "name": "font-family",
490
490
  "for": "@font-palette-values",
491
- "value": "<'font-family'>",
491
+ "value": "<family-name>#",
492
492
  "initial": "N/A"
493
493
  },
494
494
  {
package/css-gcpm.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Generated Content for Paged Media Module",
4
- "url": "https://drafts.csswg.org/css-gcpm/"
4
+ "url": "https://drafts.csswg.org/css-gcpm-3/"
5
5
  },
6
6
  "properties": {
7
7
  "position": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Line Grid Module Level 1",
4
- "url": "https://drafts.csswg.org/css-line-grid/"
4
+ "url": "https://drafts.csswg.org/css-line-grid-1/"
5
5
  },
6
6
  "properties": {
7
7
  "line-grid": {
package/css-multicol.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Multi-column Layout Module Level 1",
4
- "url": "https://drafts.csswg.org/css-multicol/"
4
+ "url": "https://drafts.csswg.org/css-multicol-1/"
5
5
  },
6
6
  "properties": {
7
7
  "column-width": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Namespaces Module Level 3",
4
- "url": "https://drafts.csswg.org/css-namespaces/"
4
+ "url": "https://drafts.csswg.org/css-namespaces-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
package/css-nesting.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Nesting Module",
4
- "url": "https://drafts.csswg.org/css-nesting/"
4
+ "url": "https://drafts.csswg.org/css-nesting-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Page Floats",
4
- "url": "https://drafts.csswg.org/css-page-floats/"
4
+ "url": "https://drafts.csswg.org/css-page-floats-3/"
5
5
  },
6
6
  "properties": {
7
7
  "float-reference": {
package/css-regions.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Regions Module Level 1",
4
- "url": "https://drafts.csswg.org/css-regions/"
4
+ "url": "https://drafts.csswg.org/css-regions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "flow-into": {
package/css-rhythm.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Rhythmic Sizing",
4
- "url": "https://drafts.csswg.org/css-rhythm/"
4
+ "url": "https://drafts.csswg.org/css-rhythm-1/"
5
5
  },
6
6
  "properties": {
7
7
  "block-step-size": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Round Display Level 1",
4
- "url": "https://drafts.csswg.org/css-round-display/"
4
+ "url": "https://drafts.csswg.org/css-round-display-1/"
5
5
  },
6
6
  "properties": {
7
7
  "border-boundary": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Scroll Anchoring Module Level 1",
4
- "url": "https://drafts.csswg.org/css-scroll-anchoring/"
4
+ "url": "https://drafts.csswg.org/css-scroll-anchoring-1/"
5
5
  },
6
6
  "properties": {
7
7
  "overflow-anchor": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Scrollbars Styling Module Level 1",
4
- "url": "https://drafts.csswg.org/css-scrollbars/"
4
+ "url": "https://drafts.csswg.org/css-scrollbars-1/"
5
5
  },
6
6
  "properties": {
7
7
  "scrollbar-color": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Shadow Parts",
4
- "url": "https://drafts.csswg.org/css-shadow-parts/"
4
+ "url": "https://drafts.csswg.org/css-shadow-parts-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},
package/css-shapes.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Shapes Module Level 1",
4
- "url": "https://drafts.csswg.org/css-shapes/"
4
+ "url": "https://drafts.csswg.org/css-shapes-1/"
5
5
  },
6
6
  "properties": {
7
7
  "shape-outside": {
@@ -0,0 +1,29 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Shared Element Transitions Module Level 1",
4
+ "url": "https://drafts.csswg.org/css-shared-element-transitions-1/"
5
+ },
6
+ "properties": {
7
+ "page-transition-tag": {
8
+ "name": "page-transition-tag",
9
+ "value": "none | <custom-ident>",
10
+ "initial": "none",
11
+ "appliesTo": "all elements",
12
+ "inherited": "no",
13
+ "percentages": "n/a",
14
+ "computedValue": "as specified",
15
+ "canonicalOrder": "per grammar",
16
+ "animationType": "discrete",
17
+ "styleDeclaration": [
18
+ "page-transition-tag",
19
+ "pageTransitionTag"
20
+ ]
21
+ }
22
+ },
23
+ "atrules": {},
24
+ "valuespaces": {
25
+ "<pt-tag-selector>": {
26
+ "value": "'*' | <custom-ident>"
27
+ }
28
+ }
29
+ }
package/css-syntax.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Syntax Module Level 3",
4
- "url": "https://drafts.csswg.org/css-syntax/"
4
+ "url": "https://drafts.csswg.org/css-syntax-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Transforms Module Level 1",
4
- "url": "https://drafts.csswg.org/css-transforms/"
4
+ "url": "https://drafts.csswg.org/css-transforms-1/"
5
5
  },
6
6
  "properties": {
7
7
  "transform": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Transitions",
4
- "url": "https://drafts.csswg.org/css-transitions/"
4
+ "url": "https://drafts.csswg.org/css-transitions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "transition-property": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Will Change Module Level 1",
4
- "url": "https://drafts.csswg.org/css-will-change/"
4
+ "url": "https://drafts.csswg.org/css-will-change-1/"
5
5
  },
6
6
  "properties": {
7
7
  "will-change": {
package/fill-stroke.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Fill and Stroke Module Level 3",
4
- "url": "https://drafts.fxtf.org/fill-stroke/"
4
+ "url": "https://drafts.fxtf.org/fill-stroke-3/"
5
5
  },
6
6
  "properties": {
7
7
  "fill-rule": {
@@ -102,31 +102,31 @@
102
102
  "value": "blur( <length>? )"
103
103
  },
104
104
  "<brightness()>": {
105
- "value": "brightness( <number-percentage>? )"
105
+ "value": "brightness( [ <number> | <percentage> ]? )"
106
106
  },
107
107
  "<contrast()>": {
108
- "value": "contrast( <number-percentage>? )"
108
+ "value": "contrast( [ <number> | <percentage> ]? )"
109
109
  },
110
110
  "<drop-shadow()>": {
111
111
  "value": "drop-shadow( [ <color>? && <length>{2,3} ] )"
112
112
  },
113
113
  "<grayscale()>": {
114
- "value": "grayscale( <number-percentage>? )"
114
+ "value": "grayscale( [ <number> | <percentage> ]? )"
115
115
  },
116
116
  "<hue-rotate()>": {
117
117
  "value": "hue-rotate( [ <angle> | <zero> ]? )"
118
118
  },
119
119
  "<invert()>": {
120
- "value": "invert( <number-percentage>? )"
120
+ "value": "invert( [ <number> | <percentage> ]? )"
121
121
  },
122
122
  "<opacity()>": {
123
- "value": "opacity( <number-percentage>? )"
123
+ "value": "opacity( [ <number> | <percentage> ]? )"
124
124
  },
125
125
  "<saturate()>": {
126
- "value": "saturate( <number-percentage>? )"
126
+ "value": "saturate( [ <number> | <percentage> ]? )"
127
127
  },
128
128
  "<sepia()>": {
129
- "value": "sepia( <number-percentage>? )"
129
+ "value": "sepia( [ <number> | <percentage> ]? )"
130
130
  },
131
131
  "<filter()>": {
132
132
  "value": "filter( [ <image> | <string> ], <filter-value-list> )"
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.1.1",
4
+ "version": "5.2.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -108,10 +108,73 @@
108
108
  "view-timeline",
109
109
  "viewTimeline"
110
110
  ]
111
+ },
112
+ "animation-delay": {
113
+ "name": "animation-delay",
114
+ "value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
115
+ "initial": "see individual properties",
116
+ "appliesTo": "see individual properties",
117
+ "inherited": "see individual properties",
118
+ "percentages": "see individual properties",
119
+ "computedValue": "see individual properties",
120
+ "animationType": "see individual properties",
121
+ "canonicalOrder": "per grammar",
122
+ "styleDeclaration": [
123
+ "animation-delay",
124
+ "animationDelay"
125
+ ]
126
+ },
127
+ "animation-range": {
128
+ "name": "animation-range",
129
+ "value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
130
+ "initial": "see individual properties",
131
+ "appliesTo": "see individual properties",
132
+ "inherited": "see individual properties",
133
+ "percentages": "see individual properties",
134
+ "computedValue": "see individual properties",
135
+ "animationType": "see individual properties",
136
+ "canonicalOrder": "per grammar",
137
+ "styleDeclaration": [
138
+ "animation-range",
139
+ "animationRange"
140
+ ]
141
+ },
142
+ "animation-delay-start": {
143
+ "name": "animation-delay-start",
144
+ "value": "[ <time> | <timeline-range-name> <percentage> ]",
145
+ "initial": "0s",
146
+ "appliesTo": "all elements",
147
+ "inherited": "no",
148
+ "percentages": "relative to the specified named timeline range",
149
+ "computedValue": "list, each item either a duration or a timeline range and progress percentage",
150
+ "canonicalOrder": "per grammar",
151
+ "animatable": "no",
152
+ "styleDeclaration": [
153
+ "animation-delay-start",
154
+ "animationDelayStart"
155
+ ]
156
+ },
157
+ "animation-delay-end": {
158
+ "name": "animation-delay-end",
159
+ "value": "[ <time> | <timeline-range-name> <percentage> ]",
160
+ "initial": "0s",
161
+ "appliesTo": "all elements",
162
+ "inherited": "no",
163
+ "percentages": "relative to the specified named timeline range",
164
+ "computedValue": "list, each item either a duration or a timeline range and progress percentage",
165
+ "canonicalOrder": "per grammar",
166
+ "animatable": "no",
167
+ "styleDeclaration": [
168
+ "animation-delay-end",
169
+ "animationDelayEnd"
170
+ ]
111
171
  }
112
172
  },
113
173
  "atrules": {},
114
174
  "valuespaces": {
175
+ "<timeline-range-name>": {
176
+ "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
+ },
115
178
  "<scroll()>": {
116
179
  "value": "scroll( <axis>? <scroller>? )"
117
180
  },
@@ -120,6 +183,9 @@
120
183
  },
121
184
  "<scroller>": {
122
185
  "value": "root | nearest"
186
+ },
187
+ "<keyframe-selector>": {
188
+ "value": "from | to | <percentage> | <timeline-range-name> <percentage>"
123
189
  }
124
190
  }
125
191
  }
package/selectors.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "Selectors Level 4",
4
- "url": "https://drafts.csswg.org/selectors/"
4
+ "url": "https://drafts.csswg.org/selectors-4/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},