@webref/css 6.5.2 → 6.5.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.
@@ -91,7 +91,7 @@
91
91
  },
92
92
  {
93
93
  "name": "<custom-ident>",
94
- "prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § 4.2 Named Timeline Scoping. Otherwise the animation is not associated with a timeline.",
94
+ "prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § 4.2 Named Timeline Scoping and Lookup. Otherwise the animation is not associated with a timeline.",
95
95
  "type": "value",
96
96
  "value": "<custom-ident>"
97
97
  },
@@ -96,6 +96,21 @@
96
96
  "styleDeclaration": [
97
97
  "container"
98
98
  ]
99
+ },
100
+ {
101
+ "name": "content-visibility",
102
+ "value": "visible | auto | hidden",
103
+ "initial": "visible",
104
+ "appliesTo": "elements for which size containment can apply",
105
+ "inherited": "no",
106
+ "percentages": "n/a",
107
+ "computedValue": "as specified",
108
+ "canonicalOrder": "per grammar",
109
+ "animationType": "see § 8.1 Animating and Interpolating content-visibility",
110
+ "styleDeclaration": [
111
+ "content-visibility",
112
+ "contentVisibility"
113
+ ]
99
114
  }
100
115
  ],
101
116
  "atrules": [
package/css-fonts-5.json CHANGED
@@ -23,7 +23,7 @@
23
23
  },
24
24
  {
25
25
  "name": "ex-height | cap-height | ch-width | ic-width | ic-height",
26
- "prose": "Specifies the font metric to normalize, defaulting to ex-height: w3c/csswg-drafts/6384[css-fonts-5] font-size-adjust with missing metrics",
26
+ "prose": "Specifies the font metric to normalize, defaulting to ex-height: If the required font metric cannot be derived from a font, then that font’s size is not adjusted. [Issue #6384]",
27
27
  "type": "value",
28
28
  "value": "ex-height | cap-height | ch-width | ic-width | ic-height"
29
29
  },
@@ -65,7 +65,7 @@
65
65
  },
66
66
  {
67
67
  "name": "from-font",
68
- "prose": "Computes to the <number> corresponding to the specified metric of the first available font. w3c/csswg-drafts/6384[css-fonts-5] font-size-adjust with missing metrics",
68
+ "prose": "Computes to the <number> corresponding to the specified metric of the first available font. Shouldn’t this be the first available font that can provide the required metric? [Issue #6384]",
69
69
  "type": "value",
70
70
  "value": "from-font"
71
71
  }
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.5.2",
4
+ "version": "6.5.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -8,7 +8,7 @@
8
8
  "name": "scroll-timeline-name",
9
9
  "value": "none | <custom-ident>#",
10
10
  "initial": "none",
11
- "appliesTo": "scroll containers",
11
+ "appliesTo": "all elements",
12
12
  "inherited": "no",
13
13
  "percentages": "n/a",
14
14
  "computedValue": "the keyword none or a list of <custom-ident>s",
@@ -23,7 +23,7 @@
23
23
  "name": "scroll-timeline-axis",
24
24
  "value": "[ block | inline | vertical | horizontal ]#",
25
25
  "initial": "block",
26
- "appliesTo": "scroll containers",
26
+ "appliesTo": "all elements",
27
27
  "inherited": "no",
28
28
  "percentages": "n/a",
29
29
  "computedValue": "a list of the keywords specified",
@@ -78,11 +78,46 @@
78
78
  "scrollTimelineAxis"
79
79
  ]
80
80
  },
81
+ {
82
+ "name": "scroll-timeline-attachment",
83
+ "value": "[ local | defer | ancestor ]#",
84
+ "initial": "local",
85
+ "appliesTo": "all elements",
86
+ "inherited": "no",
87
+ "percentages": "n/a",
88
+ "computedValue": "a list of the keywords specified",
89
+ "canonicalOrder": "per grammar",
90
+ "animationType": "not animatable",
91
+ "values": [
92
+ {
93
+ "name": "local",
94
+ "prose": "This scroll progress timeline name attaches to the corresponding scroll progress timeline defined on this box.",
95
+ "type": "value",
96
+ "value": "local"
97
+ },
98
+ {
99
+ "name": "defer",
100
+ "prose": "This scroll progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a scroll progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (scroll container source and axis) to its descendants. If more than one matching descendant scroll progress timeline exists, or if no such timeline exists, then the timeline name has no attachment, and represents an inactive timeline. Should it instead be ignored (be invisible to lookup)? (This might make it harder to implement.) If multiple, should it attach instead to the last declared timeline (in tree order) rather than invalidating the attachment?",
101
+ "type": "value",
102
+ "value": "defer"
103
+ },
104
+ {
105
+ "name": "ancestor",
106
+ "prose": "This scroll progress timeline definition, attaches to the closest matching scroll progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
107
+ "type": "value",
108
+ "value": "ancestor"
109
+ }
110
+ ],
111
+ "styleDeclaration": [
112
+ "scroll-timeline-attachment",
113
+ "scrollTimelineAttachment"
114
+ ]
115
+ },
81
116
  {
82
117
  "name": "scroll-timeline",
83
- "value": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
118
+ "value": "[ <'scroll-timeline-name'> [ <'scroll-timeline-axis'> || <'scroll-timeline-attachment'> ]? ]#",
84
119
  "initial": "see individual properties",
85
- "appliesTo": "scroll containers",
120
+ "appliesTo": "all elements",
86
121
  "inherited": "no",
87
122
  "percentages": "see individual properties",
88
123
  "computedValue": "see individual properties",
@@ -196,9 +231,44 @@
196
231
  "viewTimelineInset"
197
232
  ]
198
233
  },
234
+ {
235
+ "name": "view-timeline-attachment",
236
+ "value": "[ local | defer | ancestor ]#",
237
+ "initial": "local",
238
+ "appliesTo": "all elements",
239
+ "inherited": "no",
240
+ "percentages": "n/a",
241
+ "computedValue": "a list of the keywords specified",
242
+ "canonicalOrder": "per grammar",
243
+ "animationType": "not animatable",
244
+ "values": [
245
+ {
246
+ "name": "local",
247
+ "prose": "This view progress timeline name attaches to the corresponding view progress timeline defined on this box.",
248
+ "type": "value",
249
+ "value": "local"
250
+ },
251
+ {
252
+ "name": "defer",
253
+ "prose": "This view progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a view progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (subject, scroll container source, axis, and visibility range) to its descendants. If more than one matching descendant view progress timeline exists, or if no such timeline exists, then this timeline name has no attachment, and represents an inactive timeline.",
254
+ "type": "value",
255
+ "value": "defer"
256
+ },
257
+ {
258
+ "name": "ancestor",
259
+ "prose": "This view progress timeline definition attaches to the closest matching view progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
260
+ "type": "value",
261
+ "value": "ancestor"
262
+ }
263
+ ],
264
+ "styleDeclaration": [
265
+ "view-timeline-attachment",
266
+ "viewTimelineAttachment"
267
+ ]
268
+ },
199
269
  {
200
270
  "name": "view-timeline",
201
- "value": "[ <'view-timeline-name'> <'view-timeline-axis'>? ]#",
271
+ "value": "[ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-attachment'> ]? ]#",
202
272
  "initial": "see individual properties",
203
273
  "appliesTo": "all elements",
204
274
  "inherited": "see individual properties",
@@ -381,7 +451,7 @@
381
451
  {
382
452
  "msg": "Dangling value",
383
453
  "name": "cover",
384
- "prose": "Represents the full range of the view progress timeline: 0% progress represents the position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
454
+ "prose": "Represents the full range of the view progress timeline: 0% progress represents the latest position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the earliest position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
385
455
  "type": "value",
386
456
  "value": "cover",
387
457
  "for": "animation-timeline-range"
@@ -389,7 +459,7 @@
389
459
  {
390
460
  "msg": "Dangling value",
391
461
  "name": "contain",
392
- "prose": "Represents the range during which the principal box is either fully contained by, or fully covers, its view progress visibility range within the scrollport. 0% progress represents the earlier position at which: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the later position at which: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
462
+ "prose": "Represents the range during which the principal box is either fully contained by, or fully covers, its view progress visibility range within the scrollport. 0% progress represents the earliest position at which either: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the latest position at which either: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
393
463
  "type": "value",
394
464
  "value": "contain",
395
465
  "for": "animation-timeline-range"
@@ -413,7 +483,7 @@
413
483
  {
414
484
  "msg": "Dangling value",
415
485
  "name": "entry-crossing",
416
- "prose": "Represents the range during which the principal box crosses the end border edge 0% progress represents the position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
486
+ "prose": "Represents the range during which the principal box crosses the end border edge 0% progress represents the latest position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the earliest position at which the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
417
487
  "type": "value",
418
488
  "value": "entry-crossing",
419
489
  "for": "animation-timeline-range"
@@ -421,7 +491,7 @@
421
491
  {
422
492
  "msg": "Dangling value",
423
493
  "name": "exit-crossing",
424
- "prose": "Represents the range during which the principal box crosses the start border edge 0% progress represents the position at which the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
494
+ "prose": "Represents the range during which the principal box crosses the start border edge 0% progress represents the latest position at which the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. 100% progress represents the earliest position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
425
495
  "type": "value",
426
496
  "value": "exit-crossing",
427
497
  "for": "animation-timeline-range"