@webref/css 6.3.3 → 6.3.4

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-anchor.json CHANGED
@@ -6,7 +6,7 @@
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 as the value of 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": [
@@ -154,10 +154,16 @@
154
154
  },
155
155
  {
156
156
  "name": "auto",
157
- "prose": "The auto keyword indicates automatic anchor positioning. See for details.",
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
159
  "value": "auto"
160
160
  },
161
+ {
162
+ "name": "auto-same",
163
+ "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
164
+ "type": "value",
165
+ "value": "auto-same"
166
+ },
161
167
  {
162
168
  "name": "left",
163
169
  "prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
@@ -222,7 +228,7 @@
222
228
  {
223
229
  "name": "<anchor-side>",
224
230
  "type": "type",
225
- "value": "auto | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
231
+ "value": "auto | auto-same | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
226
232
  },
227
233
  {
228
234
  "name": "anchor-size()",
@@ -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>#",
package/css-color.json CHANGED
@@ -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/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.3.4",
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
  ],