@webref/css 6.3.3 → 6.4.0

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Anchor Positioning",
4
- "url": "https://drafts.csswg.org/css-anchor-1/"
4
+ "url": "https://drafts.csswg.org/css-anchor-position-1/"
5
5
  },
6
6
  "properties": [
7
7
  {
8
8
  "name": "anchor-scroll",
9
- "value": "none | <dashed-ident>",
9
+ "value": "none | default | <anchor-element>",
10
10
  "initial": "none",
11
11
  "appliesTo": "absolutely-positioned elements",
12
12
  "inherited": "no",
@@ -22,16 +22,16 @@
22
22
  "value": "none"
23
23
  },
24
24
  {
25
- "name": "<dashed-ident>",
26
- "prose": "The scroll offsets of the target anchor element with the name given by the <dashed-ident> will be compensated for in positioning and fallback.",
25
+ "name": "default",
26
+ "prose": "Behaves identically to <anchor-element>, but draws its value from anchor-default on the element.",
27
27
  "type": "value",
28
- "value": "<dashed-ident>"
28
+ "value": "default"
29
29
  },
30
30
  {
31
- "name": "implicit",
32
- "prose": "The scroll offsets of the implicit anchor element will be compensated for in positioning and fallback.",
31
+ "name": "<anchor-element>",
32
+ "prose": "Selects a target anchor element the same as anchor(), which will be compensated for in positioning and fallback.",
33
33
  "type": "value",
34
- "value": "implicit"
34
+ "value": "<anchor-element>"
35
35
  }
36
36
  ],
37
37
  "styleDeclaration": [
@@ -142,21 +142,21 @@
142
142
  },
143
143
  {
144
144
  "name": "implicit",
145
- "prose": "Selects one of the implicit anchor elements defined for the element, if possible.",
145
+ "prose": "Selects the implicit anchor element defined for the element, if possible.",
146
146
  "type": "value",
147
147
  "value": "implicit"
148
148
  },
149
149
  {
150
- "name": "popover",
151
- "prose": "If the element has an implicit anchor element defined by the Popover API, uses that if possible.",
150
+ "name": "auto",
151
+ "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
152
152
  "type": "value",
153
- "value": "popover"
153
+ "value": "auto"
154
154
  },
155
155
  {
156
- "name": "auto",
157
- "prose": "The auto keyword indicates automatic anchor positioning. See for details.",
156
+ "name": "auto-same",
157
+ "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
158
158
  "type": "value",
159
- "value": "auto"
159
+ "value": "auto-same"
160
160
  },
161
161
  {
162
162
  "name": "left",
@@ -217,12 +217,12 @@
217
217
  {
218
218
  "name": "<anchor-element>",
219
219
  "type": "type",
220
- "value": "<dashed-ident> | implicit | popover"
220
+ "value": "<dashed-ident> | implicit"
221
221
  },
222
222
  {
223
223
  "name": "<anchor-side>",
224
224
  "type": "type",
225
- "value": "auto | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
225
+ "value": "auto | auto-same | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
226
226
  },
227
227
  {
228
228
  "name": "anchor-size()",
@@ -28,7 +28,7 @@
28
28
  "percentages": "N/A",
29
29
  "computedValue": "list, each item either a case-sensitive css identifier or the keywords none, auto.",
30
30
  "canonicalOrder": "per grammar",
31
- "animatable": "no",
31
+ "animationType": "not animatable",
32
32
  "styleDeclaration": [
33
33
  "animation-timeline",
34
34
  "animationTimeline"
@@ -170,6 +170,29 @@
170
170
  "animationPlayState"
171
171
  ]
172
172
  },
173
+ {
174
+ "name": "animation-delay",
175
+ "value": "<time>#",
176
+ "initial": "0s",
177
+ "appliesTo": "all elements",
178
+ "inherited": "no",
179
+ "percentages": "N/A",
180
+ "computedValue": "list, each item a duration",
181
+ "canonicalOrder": "per grammar",
182
+ "animationType": "not animatable",
183
+ "values": [
184
+ {
185
+ "name": "<time>",
186
+ "prose": "The <time> defines how long of a delay there is between the start of the animation (when the animation is applied to the element via these properties) and when it begins executing. A delay of 0s (the initial value) means that the animation will execute as soon as it is applied. A negative delay is valid. Similar to a delay of 0s, it means that the animation executes immediately, but is automatically progressed by the absolute value of the delay, as if the animation had started the specified time in the past, and so it appears to start partway through its active duration. If an animation’s keyframes have an implied starting value, the values are taken from the time the animation starts, not some time in the past.",
187
+ "type": "value",
188
+ "value": "<time>"
189
+ }
190
+ ],
191
+ "styleDeclaration": [
192
+ "animation-delay",
193
+ "animationDelay"
194
+ ]
195
+ },
173
196
  {
174
197
  "name": "animation-fill-mode",
175
198
  "value": "<single-animation-fill-mode>#",
@@ -169,6 +169,126 @@
169
169
  "borderColor"
170
170
  ]
171
171
  },
172
+ {
173
+ "name": "border-top-radius",
174
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
175
+ "initial": "0",
176
+ "appliesTo": "all elements (but see prose)",
177
+ "inherited": "no",
178
+ "percentages": "Refer to corresponding dimension of the border box.",
179
+ "computedValue": "see individual properties",
180
+ "canonicalOrder": "per grammar",
181
+ "animatable": "see individual properties",
182
+ "styleDeclaration": [
183
+ "border-top-radius",
184
+ "borderTopRadius"
185
+ ]
186
+ },
187
+ {
188
+ "name": "border-right-radius",
189
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
190
+ "initial": "0",
191
+ "appliesTo": "all elements (but see prose)",
192
+ "inherited": "no",
193
+ "percentages": "Refer to corresponding dimension of the border box.",
194
+ "computedValue": "see individual properties",
195
+ "canonicalOrder": "per grammar",
196
+ "animatable": "see individual properties",
197
+ "styleDeclaration": [
198
+ "border-right-radius",
199
+ "borderRightRadius"
200
+ ]
201
+ },
202
+ {
203
+ "name": "border-bottom-radius",
204
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
205
+ "initial": "0",
206
+ "appliesTo": "all elements (but see prose)",
207
+ "inherited": "no",
208
+ "percentages": "Refer to corresponding dimension of the border box.",
209
+ "computedValue": "see individual properties",
210
+ "canonicalOrder": "per grammar",
211
+ "animatable": "see individual properties",
212
+ "styleDeclaration": [
213
+ "border-bottom-radius",
214
+ "borderBottomRadius"
215
+ ]
216
+ },
217
+ {
218
+ "name": "border-left-radius",
219
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
220
+ "initial": "0",
221
+ "appliesTo": "all elements (but see prose)",
222
+ "inherited": "no",
223
+ "percentages": "Refer to corresponding dimension of the border box.",
224
+ "computedValue": "see individual properties",
225
+ "canonicalOrder": "per grammar",
226
+ "animatable": "see individual properties",
227
+ "styleDeclaration": [
228
+ "border-left-radius",
229
+ "borderLeftRadius"
230
+ ]
231
+ },
232
+ {
233
+ "name": "border-block-start-radius",
234
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
235
+ "initial": "0",
236
+ "appliesTo": "all elements (but see prose)",
237
+ "inherited": "no",
238
+ "percentages": "Refer to corresponding dimension of the border box.",
239
+ "computedValue": "see individual properties",
240
+ "canonicalOrder": "per grammar",
241
+ "animatable": "see individual properties",
242
+ "styleDeclaration": [
243
+ "border-block-start-radius",
244
+ "borderBlockStartRadius"
245
+ ]
246
+ },
247
+ {
248
+ "name": "border-block-end-radius",
249
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
250
+ "initial": "0",
251
+ "appliesTo": "all elements (but see prose)",
252
+ "inherited": "no",
253
+ "percentages": "Refer to corresponding dimension of the border box.",
254
+ "computedValue": "see individual properties",
255
+ "canonicalOrder": "per grammar",
256
+ "animatable": "see individual properties",
257
+ "styleDeclaration": [
258
+ "border-block-end-radius",
259
+ "borderBlockEndRadius"
260
+ ]
261
+ },
262
+ {
263
+ "name": "border-inline-start-radius",
264
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
265
+ "initial": "0",
266
+ "appliesTo": "all elements (but see prose)",
267
+ "inherited": "no",
268
+ "percentages": "Refer to corresponding dimension of the border box.",
269
+ "computedValue": "see individual properties",
270
+ "canonicalOrder": "per grammar",
271
+ "animatable": "see individual properties",
272
+ "styleDeclaration": [
273
+ "border-inline-start-radius",
274
+ "borderInlineStartRadius"
275
+ ]
276
+ },
277
+ {
278
+ "name": "border-inline-end-radius",
279
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
280
+ "initial": "0",
281
+ "appliesTo": "all elements (but see prose)",
282
+ "inherited": "no",
283
+ "percentages": "Refer to corresponding dimension of the border box.",
284
+ "computedValue": "see individual properties",
285
+ "canonicalOrder": "per grammar",
286
+ "animatable": "see individual properties",
287
+ "styleDeclaration": [
288
+ "border-inline-end-radius",
289
+ "borderInlineEndRadius"
290
+ ]
291
+ },
172
292
  {
173
293
  "name": "border-radius",
174
294
  "value": "<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?",
package/css-box.json CHANGED
@@ -97,25 +97,25 @@
97
97
  },
98
98
  {
99
99
  "name": "block-start",
100
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
100
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
101
101
  "type": "value",
102
102
  "value": "block-start"
103
103
  },
104
104
  {
105
105
  "name": "inline-start",
106
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
106
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
107
107
  "type": "value",
108
108
  "value": "inline-start"
109
109
  },
110
110
  {
111
111
  "name": "inline-end",
112
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
112
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
113
113
  "type": "value",
114
114
  "value": "inline-end"
115
115
  },
116
116
  {
117
117
  "name": "block-end",
118
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
118
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
119
119
  "type": "value",
120
120
  "value": "block-end"
121
121
  },
@@ -9,25 +9,20 @@
9
9
  "name": "@scope",
10
10
  "prose": "The @scope block at-rule allows authors to scope style rules in CSS, with the application of weak scoping proximity between the scoping root and the subject of each style rule.",
11
11
  "descriptors": [],
12
- "value": "@scope (<scope-start>) [to (<scope-end>)]? { <stylesheet> }"
12
+ "value": "@scope [(<scope-start>)]? [to (<scope-end>)]? { <stylesheet> }"
13
13
  }
14
14
  ],
15
15
  "selectors": [],
16
16
  "values": [
17
17
  {
18
18
  "name": "<scope-start>",
19
- "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.",
20
- "type": "type"
19
+ "type": "type",
20
+ "value": "<forgiving-selector-list>"
21
21
  },
22
22
  {
23
23
  "name": "<scope-end>",
24
- "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.",
25
- "type": "type"
26
- },
27
- {
28
- "name": "<selector-scope>",
29
24
  "type": "type",
30
- "value": "( <scope-start> [/ <scope-end>]? )"
25
+ "value": "<forgiving-selector-list>"
31
26
  }
32
27
  ]
33
28
  }
package/css-color-5.json CHANGED
@@ -71,19 +71,19 @@
71
71
  "values": [
72
72
  {
73
73
  "name": "r",
74
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
74
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
75
75
  "type": "value",
76
76
  "value": "r"
77
77
  },
78
78
  {
79
79
  "name": "g",
80
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
80
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
81
81
  "type": "value",
82
82
  "value": "g"
83
83
  },
84
84
  {
85
85
  "name": "b",
86
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
86
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
87
87
  "type": "value",
88
88
  "value": "b"
89
89
  },
@@ -107,19 +107,19 @@
107
107
  "values": [
108
108
  {
109
109
  "name": "h",
110
- "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after its conversion to sRGB, normalized to a [0, 360] range",
110
+ "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after conversion, if required to sRGB, normalized to a [0, 360] range",
111
111
  "type": "value",
112
112
  "value": "h"
113
113
  },
114
114
  {
115
115
  "name": "s",
116
- "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
116
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
117
117
  "type": "value",
118
118
  "value": "s"
119
119
  },
120
120
  {
121
121
  "name": "l",
122
- "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
122
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
123
123
  "type": "value",
124
124
  "value": "l"
125
125
  },
@@ -138,19 +138,19 @@
138
138
  "values": [
139
139
  {
140
140
  "name": "h",
141
- "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after its conversion to sRGB, normalized to a [0, 360] range",
141
+ "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after conversion, if required to sRGB, normalized to a [0, 360] range",
142
142
  "type": "value",
143
143
  "value": "h"
144
144
  },
145
145
  {
146
146
  "name": "w",
147
- "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
147
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after conversion, if required to sRGB",
148
148
  "type": "value",
149
149
  "value": "w"
150
150
  },
151
151
  {
152
152
  "name": "b",
153
- "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
153
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after conversion, if required to sRGB",
154
154
  "type": "value",
155
155
  "value": "b"
156
156
  },
@@ -169,19 +169,19 @@
169
169
  "values": [
170
170
  {
171
171
  "name": "l",
172
- "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
172
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness after conversion, if required, to CIE Lab",
173
173
  "type": "value",
174
174
  "value": "l"
175
175
  },
176
176
  {
177
177
  "name": "a",
178
- "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
178
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes after conversion, if required, to CIE Lab",
179
179
  "type": "value",
180
180
  "value": "a"
181
181
  },
182
182
  {
183
183
  "name": "b",
184
- "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
184
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes after conversion, if required, to CIE Lab",
185
185
  "type": "value",
186
186
  "value": "b"
187
187
  },
@@ -200,19 +200,19 @@
200
200
  "values": [
201
201
  {
202
202
  "name": "l",
203
- "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
203
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to Oklab",
204
204
  "type": "value",
205
205
  "value": "l"
206
206
  },
207
207
  {
208
208
  "name": "a",
209
- "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
209
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes after conversion, if required, to Oklab",
210
210
  "type": "value",
211
211
  "value": "a"
212
212
  },
213
213
  {
214
214
  "name": "b",
215
- "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
215
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes after conversion, if required, to Oklab",
216
216
  "type": "value",
217
217
  "value": "b"
218
218
  },
@@ -231,19 +231,19 @@
231
231
  "values": [
232
232
  {
233
233
  "name": "l",
234
- "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
234
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness after conversion, if required, to CIE LCH",
235
235
  "type": "value",
236
236
  "value": "l"
237
237
  },
238
238
  {
239
239
  "name": "c",
240
- "prose": "c is a <number> that corresponds to the origin color’s LCH chroma",
240
+ "prose": "c is a <number> that corresponds to the origin color’s LCH chroma after conversion, if required, to CIE LCH",
241
241
  "type": "value",
242
242
  "value": "c"
243
243
  },
244
244
  {
245
245
  "name": "h",
246
- "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, normalized to a [0, 360] range.",
246
+ "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, after conversion, if required, to CIE LCH, normalized to a [0, 360] range.",
247
247
  "type": "value",
248
248
  "value": "h"
249
249
  },
@@ -262,19 +262,19 @@
262
262
  "values": [
263
263
  {
264
264
  "name": "l",
265
- "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
265
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to Oklch",
266
266
  "type": "value",
267
267
  "value": "l"
268
268
  },
269
269
  {
270
270
  "name": "c",
271
- "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma",
271
+ "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma after conversion, if required, to Oklch",
272
272
  "type": "value",
273
273
  "value": "c"
274
274
  },
275
275
  {
276
276
  "name": "h",
277
- "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, normalized to a [0, 360] range.",
277
+ "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, after conversion, if required, to Oklch, normalized to a [0, 360] range.",
278
278
  "type": "value",
279
279
  "value": "h"
280
280
  },
@@ -293,37 +293,37 @@
293
293
  "values": [
294
294
  {
295
295
  "name": "r",
296
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
296
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
297
297
  "type": "value",
298
298
  "value": "r"
299
299
  },
300
300
  {
301
301
  "name": "g",
302
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
302
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
303
303
  "type": "value",
304
304
  "value": "g"
305
305
  },
306
306
  {
307
307
  "name": "b",
308
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
308
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
309
309
  "type": "value",
310
310
  "value": "b"
311
311
  },
312
312
  {
313
313
  "name": "x",
314
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
314
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
315
315
  "type": "value",
316
316
  "value": "x"
317
317
  },
318
318
  {
319
319
  "name": "y",
320
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
320
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
321
321
  "type": "value",
322
322
  "value": "y"
323
323
  },
324
324
  {
325
325
  "name": "z",
326
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
326
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
327
327
  "type": "value",
328
328
  "value": "z"
329
329
  }
package/css-color.json CHANGED
@@ -1053,31 +1053,31 @@
1053
1053
  "values": [
1054
1054
  {
1055
1055
  "name": "srgb",
1056
- "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1056
+ "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1057
1057
  "type": "value",
1058
1058
  "value": "srgb"
1059
1059
  },
1060
1060
  {
1061
1061
  "name": "srgb-linear",
1062
- "prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function unity, see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
1062
+ "prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function unity, see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
1063
1063
  "type": "value",
1064
1064
  "value": "srgb-linear"
1065
1065
  },
1066
1066
  {
1067
1067
  "name": "display-p3",
1068
- "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m2 Black luminance 0.80 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
1068
+ "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
1069
1069
  "type": "value",
1070
1070
  "value": "display-p3"
1071
1071
  },
1072
1072
  {
1073
1073
  "name": "a98-rgb",
1074
- "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m2 Black luminance 0.5557 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
1074
+ "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
1075
1075
  "type": "value",
1076
1076
  "value": "a98-rgb"
1077
1077
  },
1078
1078
  {
1079
1079
  "name": "prophoto-rgb",
1080
- "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m2 Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
1080
+ "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
1081
1081
  "type": "value",
1082
1082
  "value": "prophoto-rgb"
1083
1083
  },
@@ -1140,7 +1140,7 @@
1140
1140
  {
1141
1141
  "name": "<rectangular-color-space>",
1142
1142
  "type": "type",
1143
- "value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
1143
+ "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
1144
1144
  },
1145
1145
  {
1146
1146
  "name": "<polar-color-space>",
package/css-multicol.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "percentages": "N/A",
43
43
  "computedValue": "specified value",
44
44
  "canonicalOrder": "per grammar",
45
- "animatable": "by computed value",
45
+ "animationType": "by computed value",
46
46
  "values": [
47
47
  {
48
48
  "name": "auto",
package/css-speech.json CHANGED
@@ -525,7 +525,7 @@
525
525
  "values": [
526
526
  {
527
527
  "name": "<family-name>",
528
- "prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens—even if these voice names are valid in unquoted form—in order to improve code clarity. For example: voice-family: \"john doe\", \"Henry the-8th\";",
528
+ "prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more CSS identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens—even if these voice names are valid in unquoted form—in order to improve code clarity. For example: voice-family: \"john doe\", \"Henry the-8th\";",
529
529
  "type": "value",
530
530
  "value": "<family-name>"
531
531
  },
package/css-text.json CHANGED
@@ -94,7 +94,7 @@
94
94
  },
95
95
  {
96
96
  "name": "break-spaces",
97
- "prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. Tests white-space-intrinsic-size-001.html (live test) (source) white-space-intrinsic-size-002.html (live test) (source) A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces). Tests overflow-wrap-break-word-002.html (live test) (source) overflow-wrap-anywhere-002.html (live test) (source) break-spaces-001.html (live test) (source) break-spaces-002.html (live test) (source) break-spaces-003.html (live test) (source) break-spaces-004.html (live test) (source) break-spaces-005.html (live test) (source) break-spaces-006.html (live test) (source) break-spaces-007.html (live test) (source) break-spaces-008.html (live test) (source) break-spaces-009.html (live test) (source) break-spaces-010.html (live test) (source) break-spaces-051.html (live test) (source) break-spaces-052.html (live test) (source) white-space-pre-034.html (live test) (source) textarea-break-spaces-001.html (live test) (source) textarea-break-spaces-002.html (live test) (source) break-spaces-before-first-char-001.html (live test) (source) break-spaces-before-first-char-002.html (live test) (source) break-spaces-before-first-char-003.html (live test) (source) break-spaces-before-first-char-004.html (live test) (source) break-spaces-before-first-char-005.html (live test) (source) break-spaces-before-first-char-006.html (live test) (source) break-spaces-before-first-char-007.html (live test) (source) break-spaces-before-first-char-008.html (live test) (source) break-spaces-before-first-char-009.html (live test) (source) break-spaces-before-first-char-010.html (live test) (source) break-spaces-before-first-char-011.html (live test) (source) break-spaces-before-first-char-012.html (live test) (source) break-spaces-before-first-char-013.html (live test) (source) break-spaces-before-first-char-014.html (live test) (source) break-spaces-before-first-char-015.html (live test) (source) break-spaces-before-first-char-016.html (live test) (source) break-spaces-before-first-char-017.html (live test) (source) break-spaces-before-first-char-018.html (live test) (source) break-spaces-before-first-ideographic-char-001.html (live test) (source) break-spaces-before-first-ideographic-char-002.html (live test) (source) break-spaces-before-first-ideographic-char-003.html (live test) (source) break-spaces-before-first-ideographic-char-004.html (live test) (source) break-spaces-before-first-ideographic-char-005.html (live test) (source) break-spaces-before-first-ideographic-char-006.html (live test) (source) break-spaces-before-first-ideographic-char-007.html (live test) (source) break-spaces-before-first-ideographic-char-008.html (live test) (source) break-spaces-before-first-ideographic-char-009.html (live test) (source) break-spaces-before-first-ideographic-char-010.html (live test) (source) break-spaces-before-first-ideographic-char-011.html (live test) (source) break-spaces-before-first-ideographic-char-012.html (live test) (source) break-spaces-before-first-ideographic-char-013.html (live test) (source) break-spaces-before-first-ideographic-char-014.html (live test) (source) break-spaces-before-first-ideographic-char-015.html (live test) (source) break-spaces-before-first-ideographic-char-016.html (live test) (source) break-spaces-before-first-ideographic-char-017.html (live test) (source) break-spaces-before-first-ideographic-char-018.html (live test) (source) tab-stop-threshold-005.html (live test) (source) tab-stop-threshold-006.html (live test) (source) word-break-break-all-017.html (live test) (source) break-spaces-tab-001.html (live test) (source) break-spaces-tab-002.html (live test) (source) break-spaces-tab-003.html (live test) (source) break-spaces-tab-004.html (live test) (source) break-spaces-tab-005.html (live test) (source) break-spaces-tab-006.html (live test) (source) break-spaces-with-overflow-wrap-001.html (live test) (source) break-spaces-with-overflow-wrap-002.html (live test) (source) break-spaces-with-overflow-wrap-003.html (live test) (source) break-spaces-with-overflow-wrap-004.html (live test) (source) break-spaces-with-overflow-wrap-005.html (live test) (source) break-spaces-with-overflow-wrap-006.html (live test) (source) break-spaces-with-overflow-wrap-007.html (live test) (source) break-spaces-with-overflow-wrap-008.html (live test) (source) break-spaces-with-overflow-wrap-009.html (live test) (source) break-spaces-with-overflow-wrap-010.html (live test) (source) break-spaces-with-ideographic-space-001.html (live test) (source) break-spaces-with-ideographic-space-002.html (live test) (source) break-spaces-with-ideographic-space-003.html (live test) (source) break-spaces-with-ideographic-space-004.html (live test) (source) break-spaces-with-ideographic-space-005.html (live test) (source) break-spaces-with-ideographic-space-006.html (live test) (source) break-spaces-with-ideographic-space-007.html (live test) (source) break-spaces-with-ideographic-space-008.html (live test) (source) break-spaces-with-ideographic-space-009.html (live test) (source) break-spaces-with-ideographic-space-010.html (live test) (source) line-break-anywhere-and-white-space-008.html (live test) (source) line-break-anywhere-and-white-space-009.html (live test) (source) ws-break-spaces-applies-to-001.html (live test) (source) ws-break-spaces-applies-to-002.html (live test) (source) ws-break-spaces-applies-to-003.html (live test) (source) ws-break-spaces-applies-to-005.html (live test) (source) ws-break-spaces-applies-to-006.html (live test) (source) ws-break-spaces-applies-to-007.html (live test) (source) ws-break-spaces-applies-to-008.html (live test) (source) ws-break-spaces-applies-to-009.html (live test) (source) ws-break-spaces-applies-to-010.html (live test) (source) ws-break-spaces-applies-to-011.html (live test) (source) ws-break-spaces-applies-to-012.html (live test) (source) ws-break-spaces-applies-to-013.html (live test) (source) ws-break-spaces-applies-to-014.html (live test) (source) ws-break-spaces-applies-to-015.html (live test) (source) break-spaces-newline-011.html (live test) (source) break-spaces-newline-012.html (live test) (source) break-spaces-newline-013.html (live test) (source) break-spaces-newline-014.html (live test) (source) break-spaces-newline-015.html (live test) (source) break-spaces-newline-016.html (live test) (source) trailing-ideographic-space-break-spaces-001.html (live test) (source) trailing-ideographic-space-break-spaces-002.html (live test) (source) trailing-ideographic-space-break-spaces-003.html (live test) (source) trailing-ideographic-space-break-spaces-004.html (live test) (source) trailing-ideographic-space-break-spaces-005.html (live test) (source) trailing-ideographic-space-break-spaces-006.html (live test) (source) trailing-ideographic-space-break-spaces-007.html (live test) (source) trailing-ideographic-space-break-spaces-008.html (live test) (source)",
97
+ "prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces).",
98
98
  "type": "value",
99
99
  "value": "break-spaces"
100
100
  },
@@ -86,9 +86,8 @@
86
86
  "inherited": "no",
87
87
  "percentages": "N/A",
88
88
  "computedValue": "see individual properties",
89
- "canonicalOrder": "per grammar",
90
- "animatable": "no",
91
89
  "animationType": "not animatable",
90
+ "canonicalOrder": "per grammar",
92
91
  "styleDeclaration": [
93
92
  "transition"
94
93
  ]
package/mathml-core.json CHANGED
@@ -13,7 +13,7 @@
13
13
  },
14
14
  {
15
15
  "name": "text-transform",
16
- "newValues": "math-auto | math-bold | math-italic | math-bold-italic | math-double-struck | math-bold-fraktur | math-script | math-bold-script | math-fraktur | math-sans-serif | math-bold-sans-serif | math-sans-serif-italic | math-sans-serif-bold-italic | math-monospace | math-initial | math-tailed | math-looped | math-stretched",
16
+ "newValues": "math-auto",
17
17
  "styleDeclaration": [
18
18
  "text-transform",
19
19
  "textTransform"
package/motion.json CHANGED
@@ -16,63 +16,6 @@
16
16
  "animationType": "by computed value",
17
17
  "media": "visual",
18
18
  "values": [
19
- {
20
- "name": "ray()",
21
- "value": "ray( [ <angle> && <size> && contain? ] )",
22
- "type": "function",
23
- "values": [
24
- {
25
- "name": "<angle>",
26
- "prose": "The offset path is a line segment that starts from the position of the box and proceeds in the direction defined by the specified <angle>. As with CSS gradients, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation.",
27
- "type": "value",
28
- "value": "<angle>"
29
- },
30
- {
31
- "name": "<size>",
32
- "prose": "Decides the path length used when offset-distance is expressed as a percentage, using the distance to the containing box. For <size> values other than sides, the path length is independent of <angle>. It is defined as: <size> = [ closest-side | closest-corner | farthest-side | farthest-corner | sides ]",
33
- "type": "value",
34
- "value": "<size>",
35
- "values": [
36
- {
37
- "name": "closest-side",
38
- "prose": "The perpendicular distance is measured between the initial position and the closest side of the box from it.",
39
- "type": "value",
40
- "value": "closest-side"
41
- },
42
- {
43
- "name": "closest-corner",
44
- "prose": "The distance is measured between the initial position and the closest corner of the box from it.",
45
- "type": "value",
46
- "value": "closest-corner"
47
- },
48
- {
49
- "name": "farthest-side",
50
- "prose": "The perpendicular distance is measured between the initial position and the farthest side of the box from it.",
51
- "type": "value",
52
- "value": "farthest-side"
53
- },
54
- {
55
- "name": "farthest-corner",
56
- "prose": "The distance is measured between the initial position and the farthest corner of the box from it.",
57
- "type": "value",
58
- "value": "farthest-corner"
59
- },
60
- {
61
- "name": "sides",
62
- "prose": "The distance is measured between the initial position and the intersection of the ray with the box. If the initial position is not within the box, the distance is 0.",
63
- "type": "value",
64
- "value": "sides"
65
- }
66
- ]
67
- },
68
- {
69
- "name": "contain",
70
- "prose": "The used value of offset-distance is clamped so that the box is entirely contained within the path. If no offset-distance would lead to the box being enclosed by the path, the path size is minimally increased so that such an offset-distance exists.",
71
- "type": "value",
72
- "value": "contain"
73
- }
74
- ]
75
- },
76
19
  {
77
20
  "name": "none",
78
21
  "prose": "No offset path gets created. When offset-path is none, offset-distance and offset-rotate have no effect.",
@@ -112,6 +55,20 @@
112
55
  "canonicalOrder": "per grammar",
113
56
  "animationType": "by computed value",
114
57
  "media": "visual",
58
+ "values": [
59
+ {
60
+ "name": "auto",
61
+ "prose": "Indicates the initial position is the position of the box specified with position property.",
62
+ "type": "value",
63
+ "value": "auto"
64
+ },
65
+ {
66
+ "name": "<position>",
67
+ "prose": "Specifies the initial position, with the the containing block as the positioning area and a dimensionless point (zero-sized box) as the object area.",
68
+ "type": "value",
69
+ "value": "<position>"
70
+ }
71
+ ],
115
72
  "styleDeclaration": [
116
73
  "offset-position",
117
74
  "offsetPosition"
@@ -180,7 +137,70 @@
180
137
  ],
181
138
  "atrules": [],
182
139
  "selectors": [],
183
- "values": [],
140
+ "values": [
141
+ {
142
+ "name": "ray()",
143
+ "type": "function",
144
+ "value": "ray( <angle> && <ray-size> && contain? )",
145
+ "values": [
146
+ {
147
+ "name": "<angle>",
148
+ "prose": "The offset path is a line segment that starts from the initial position and proceeds in the direction defined by the specified <angle>. As with gradient functions, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation. This is also the initial direction.",
149
+ "type": "value",
150
+ "value": "<angle>"
151
+ },
152
+ {
153
+ "name": "<ray-size>",
154
+ "prose": "Specifies the length of the offset path (the distance between the offset-distance: 0% and offset-distance: 100% points) relative to the containing box. Individual keywords are:",
155
+ "type": "value",
156
+ "value": "<ray-size>"
157
+ },
158
+ {
159
+ "name": "contain",
160
+ "prose": "The used value of offset-distance is clamped so that the box is entirely contained within the path. If no offset-distance would lead to the box being enclosed by the path, the path size is minimally increased so that such an offset-distance exists. Not clear what this actually means. See Issue 363.",
161
+ "type": "value",
162
+ "value": "contain"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "<ray-size>",
168
+ "type": "type",
169
+ "value": "closest-side | closest-corner | farthest-side | farthest-corner | sides",
170
+ "values": [
171
+ {
172
+ "name": "closest-side",
173
+ "prose": "The distance from the initial position to whichever side of the containing block is closest.",
174
+ "type": "value",
175
+ "value": "closest-side"
176
+ },
177
+ {
178
+ "name": "closest-corner",
179
+ "prose": "The distance from the initial position to whichever corner of the containing block is closest.",
180
+ "type": "value",
181
+ "value": "closest-corner"
182
+ },
183
+ {
184
+ "name": "farthest-side",
185
+ "prose": "The distance from the initial position to whichever side of the containing block is farthest.",
186
+ "type": "value",
187
+ "value": "farthest-side"
188
+ },
189
+ {
190
+ "name": "farthest-corner",
191
+ "prose": "The distance from the initial position to whichever corner of the containing block is farthest.",
192
+ "type": "value",
193
+ "value": "farthest-corner"
194
+ },
195
+ {
196
+ "name": "sides",
197
+ "prose": "The distance from the initial position to the point where the offset path intersects the containing block’s boundary. If the initial position is on the containing block’s boundary, or outside its bounds entirely, the distance is zero.",
198
+ "type": "value",
199
+ "value": "sides"
200
+ }
201
+ ]
202
+ }
203
+ ],
184
204
  "warnings": [
185
205
  {
186
206
  "msg": "Dangling value",
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": "6.3.3",
4
+ "version": "6.4.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -199,24 +199,9 @@
199
199
  "viewTimeline"
200
200
  ]
201
201
  },
202
- {
203
- "name": "animation-delay",
204
- "value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
205
- "initial": "see individual properties",
206
- "appliesTo": "see individual properties",
207
- "inherited": "see individual properties",
208
- "percentages": "see individual properties",
209
- "computedValue": "see individual properties",
210
- "animationType": "see individual properties",
211
- "canonicalOrder": "per grammar",
212
- "styleDeclaration": [
213
- "animation-delay",
214
- "animationDelay"
215
- ]
216
- },
217
202
  {
218
203
  "name": "animation-range",
219
- "value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
204
+ "value": "[ <'animation-range-start'> <'animation-range-end'>? | <timeline-range-name> ]#",
220
205
  "initial": "see individual properties",
221
206
  "appliesTo": "see individual properties",
222
207
  "inherited": "see individual properties",
@@ -230,61 +215,61 @@
230
215
  ]
231
216
  },
232
217
  {
233
- "name": "animation-delay-start",
234
- "value": "[ <time> | <timeline-range-name> <percentage> ]#",
235
- "initial": "0s",
218
+ "name": "animation-range-start",
219
+ "value": "[ normal | <timeline-range-name> <percentage> ]#",
220
+ "initial": "normal",
236
221
  "appliesTo": "all elements",
237
222
  "inherited": "no",
238
223
  "percentages": "relative to the specified named timeline range",
239
- "computedValue": "list, each item either a duration or a timeline range and progress percentage",
224
+ "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
240
225
  "canonicalOrder": "per grammar",
241
226
  "animatable": "no",
242
227
  "values": [
243
228
  {
244
- "name": "<time>",
245
- "prose": "Defines the delay as a duration. See [CSS-ANIMATIONS-1].",
229
+ "name": "normal",
230
+ "prose": "The start of the active phase is determined as normal.",
246
231
  "type": "value",
247
- "value": "<time>"
232
+ "value": "normal"
248
233
  },
249
234
  {
250
235
  "name": "<timeline-range-name> <percentage>",
251
- "prose": "Calculates the delay as the difference between the start of the animation and the specified point on the timeline.",
236
+ "prose": "The active phase starts at the specified point on the timeline, plus any applicable start delay.",
252
237
  "type": "value",
253
238
  "value": "<timeline-range-name> <percentage>"
254
239
  }
255
240
  ],
256
241
  "styleDeclaration": [
257
- "animation-delay-start",
258
- "animationDelayStart"
242
+ "animation-range-start",
243
+ "animationRangeStart"
259
244
  ]
260
245
  },
261
246
  {
262
- "name": "animation-delay-end",
263
- "value": "[ <time> | <timeline-range-name> <percentage> ]#",
264
- "initial": "0s",
247
+ "name": "animation-range-end",
248
+ "value": "[ normal | <timeline-range-name> <percentage> ]#",
249
+ "initial": "normal",
265
250
  "appliesTo": "all elements",
266
251
  "inherited": "no",
267
252
  "percentages": "relative to the specified named timeline range",
268
- "computedValue": "list, each item either a duration or a timeline range and progress percentage",
253
+ "computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
269
254
  "canonicalOrder": "per grammar",
270
255
  "animatable": "no",
271
256
  "values": [
272
257
  {
273
- "name": "<time>",
274
- "prose": "Defines the delay as a duration. See [CSS-ANIMATIONS-1].",
258
+ "name": "normal",
259
+ "prose": "The end time of the animation is determined as normal.",
275
260
  "type": "value",
276
- "value": "<time>"
261
+ "value": "normal"
277
262
  },
278
263
  {
279
264
  "name": "<timeline-range-name> <percentage>",
280
- "prose": "Calculates the delay as the difference between the start of the animation and the specified point on the timeline.",
265
+ "prose": "The end time of the animation is at the specified point on the timeline minus any applicable end delay, or at the end of the animation duration, whichever comes first.",
281
266
  "type": "value",
282
267
  "value": "<timeline-range-name> <percentage>"
283
268
  }
284
269
  ],
285
270
  "styleDeclaration": [
286
- "animation-delay-end",
287
- "animationDelayEnd"
271
+ "animation-range-end",
272
+ "animationRangeEnd"
288
273
  ]
289
274
  }
290
275
  ],
package/webvtt.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "spec": {
3
+ "title": "WebVTT: The Web Video Text Tracks Format",
4
+ "url": "https://w3c.github.io/webvtt/"
5
+ },
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [
9
+ {
10
+ "name": "::cue",
11
+ "prose": "The ::cue pseudo-element (with no argument) matches any list of WebVTT Node Objects constructed for the matched element, with the exception that the properties corresponding to the background shorthand must be applied to the WebVTT cue background box rather than the list of WebVTT Node Objects."
12
+ },
13
+ {
14
+ "name": "::cue()",
15
+ "value": "::cue(selector)"
16
+ },
17
+ {
18
+ "name": "::cue-region",
19
+ "prose": "The ::cue-region pseudo-element (with no argument) matches any list of WebVTT region objects constructed for the matched element."
20
+ },
21
+ {
22
+ "name": "::cue-region()",
23
+ "value": "::cue-region(selector)"
24
+ }
25
+ ],
26
+ "values": []
27
+ }