@webref/css 6.23.0 → 7.0.0-alpha

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.
Files changed (122) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -567
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1642
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -281
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -58
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -58
  57. package/css-multicol.json +0 -253
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -17
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -226
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -49
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -98
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -38
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -74
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -89
  83. package/css-shapes.json +0 -384
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -854
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -152
  103. package/css-view-transitions.json +0 -77
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/pointer-animations.json +0 -282
  116. package/scroll-animations.json +0 -519
  117. package/selectors-5.json +0 -22
  118. package/selectors.json +0 -604
  119. package/svg-strokes.json +0 -59
  120. package/upgrade-insecure-requests.json +0 -28
  121. package/webvtt.json +0 -33
  122. package/webxr-dom-overlays.json +0 -17
package/motion.json DELETED
@@ -1,303 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "Motion Path Module Level 1",
4
- "url": "https://drafts.fxtf.org/motion-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "offset-path",
9
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset-path",
10
- "value": "none | <offset-path> || <coord-box>",
11
- "initial": "none",
12
- "appliesTo": "transformable elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "as specified",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "by computed value",
18
- "media": "visual",
19
- "values": [
20
- {
21
- "name": "none",
22
- "prose": "The element does not have an offset transform.",
23
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-none",
24
- "type": "value",
25
- "value": "none"
26
- },
27
- {
28
- "name": "<offset-path> || <coord-box>",
29
- "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 3 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
30
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-offset-path--coord-box",
31
- "type": "value",
32
- "value": "<offset-path> || <coord-box>"
33
- },
34
- {
35
- "name": "<ray()>",
36
- "prose": "The offset path is a line extending from the origin at some angle. See § 2.1.1 The ray() Function for details. The <coord-box> provides the reference box for the ray.",
37
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-ray",
38
- "type": "value",
39
- "value": "<ray()>"
40
- },
41
- {
42
- "name": "<url>",
43
- "prose": "A URL reference to an SVG shape element. The offset path is the referenced element’s equivalent path. [SVG2] If the URL does not reference a shape element (because it references a different element, or resolves to a non-SVG document, or doesn’t resolve at all, etc) this behaves as path(\"m 0 0\") (a <basic-shape>) instead. The <coord-box> defines the viewport and user coordinate system for the shape element, with the origin (the 0,0 point) at the top left corner, and units being 1px in size.",
44
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-url",
45
- "type": "value",
46
- "value": "<url>"
47
- },
48
- {
49
- "name": "<basic-shape>",
50
- "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the reference box for the <basic-shape>.",
51
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-basic-shape",
52
- "type": "value",
53
- "value": "<basic-shape>"
54
- },
55
- {
56
- "name": "<coord-box>",
57
- "prose": "Defines the box that the <offset-path> sizes into. In CSS contexts, the boxes being referenced are from the element that establishes the containing block for this element. In SVG contexts, all values behave as view-box.",
58
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-coord-box",
59
- "type": "value",
60
- "value": "<coord-box>"
61
- }
62
- ],
63
- "styleDeclaration": [
64
- "offset-path",
65
- "offsetPath"
66
- ]
67
- },
68
- {
69
- "name": "offset-distance",
70
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset-distance",
71
- "value": "<length-percentage>",
72
- "initial": "0",
73
- "appliesTo": "transformable elements",
74
- "inherited": "no",
75
- "percentages": "relative to the offset path length",
76
- "computedValue": "a computed <length-percentage> value",
77
- "canonicalOrder": "per grammar",
78
- "animationType": "by computed value",
79
- "media": "visual",
80
- "styleDeclaration": [
81
- "offset-distance",
82
- "offsetDistance"
83
- ]
84
- },
85
- {
86
- "name": "offset-position",
87
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset-position",
88
- "value": "normal | auto | <position>",
89
- "initial": "normal",
90
- "appliesTo": "transformable elements",
91
- "inherited": "no",
92
- "percentages": "Refer to the size of containing block",
93
- "computedValue": "The normal or auto keywords, or a computed <position>",
94
- "canonicalOrder": "per grammar",
95
- "animationType": "by computed value",
96
- "media": "visual",
97
- "values": [
98
- {
99
- "name": "normal",
100
- "prose": "The element does not have an offset starting position.",
101
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-position-normal",
102
- "type": "value",
103
- "value": "normal"
104
- },
105
- {
106
- "name": "auto",
107
- "prose": "The offset starting position is the top-left corner of the box.",
108
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-position-auto",
109
- "type": "value",
110
- "value": "auto"
111
- },
112
- {
113
- "name": "<position>",
114
- "prose": "The offset starting position is the result of using the <position> to position a 0x0 object area within the box’s containing block.",
115
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-position-position",
116
- "type": "value",
117
- "value": "<position>"
118
- }
119
- ],
120
- "styleDeclaration": [
121
- "offset-position",
122
- "offsetPosition"
123
- ]
124
- },
125
- {
126
- "name": "offset-anchor",
127
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset-anchor",
128
- "value": "auto | <position>",
129
- "initial": "auto",
130
- "appliesTo": "transformable elements",
131
- "inherited": "no",
132
- "percentages": "relative to the width and the height of the element’s reference box",
133
- "computedValue": "the auto keyword or a computed <position>",
134
- "canonicalOrder": "per grammar",
135
- "animationType": "by computed value",
136
- "media": "visual",
137
- "values": [
138
- {
139
- "name": "auto",
140
- "prose": "The anchor point is the same as the point indicated by transform-origin. Specifically, the computed value of transform-origin is resolved as a <position> against the element’s reference box.",
141
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-anchor-auto",
142
- "type": "value",
143
- "value": "auto"
144
- },
145
- {
146
- "name": "<position>",
147
- "prose": "The anchor point is the result of resolving the <position> against the element’s reference box.",
148
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-anchor-position",
149
- "type": "value",
150
- "value": "<position>"
151
- }
152
- ],
153
- "styleDeclaration": [
154
- "offset-anchor",
155
- "offsetAnchor"
156
- ]
157
- },
158
- {
159
- "name": "offset-rotate",
160
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset-rotate",
161
- "value": "[ auto | reverse ] || <angle>",
162
- "initial": "auto",
163
- "appliesTo": "transformable elements",
164
- "inherited": "no",
165
- "percentages": "n/a",
166
- "computedValue": "computed <angle> value, optionally preceded by auto",
167
- "canonicalOrder": "per grammar",
168
- "animationType": "by computed value",
169
- "media": "visual",
170
- "values": [
171
- {
172
- "name": "auto",
173
- "prose": "The offset transform will have a rotation component equal to the difference between the offset path’s direction at the offset position and the direction of the positive X axis (that is, a line going toward the right). See SVG’s direction of a path for details on how to calculate this. If specified with an <angle>, the angle is added to the rotation component.",
174
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-rotate-auto",
175
- "type": "value",
176
- "value": "auto"
177
- },
178
- {
179
- "name": "reverse",
180
- "prose": "Identical to auto, but adds an additional 180deg to the rotation.",
181
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-rotate-reverse",
182
- "type": "value",
183
- "value": "reverse"
184
- },
185
- {
186
- "name": "<angle>",
187
- "prose": "When specified on its own, adds a rotation component to the offset transform of the specified angle. (That is, offset-rotate: 45deg; is similar to transform: rotate(45deg); it’s just ordered to be part of the offset transform.)",
188
- "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-rotate-angle",
189
- "type": "value",
190
- "value": "<angle>"
191
- }
192
- ],
193
- "styleDeclaration": [
194
- "offset-rotate",
195
- "offsetRotate"
196
- ]
197
- },
198
- {
199
- "name": "offset",
200
- "href": "https://drafts.fxtf.org/motion-1/#propdef-offset",
201
- "value": "[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",
202
- "initial": "see individual properties",
203
- "appliesTo": "transformable elements",
204
- "inherited": "see individual properties",
205
- "percentages": "see individual properties",
206
- "computedValue": "see individual properties",
207
- "animationType": "see individual properties",
208
- "canonicalOrder": "per grammar",
209
- "styleDeclaration": [
210
- "offset"
211
- ]
212
- }
213
- ],
214
- "atrules": [],
215
- "selectors": [],
216
- "values": [
217
- {
218
- "name": "<offset-path>",
219
- "href": "https://drafts.fxtf.org/motion-1/#typedef-offset-path",
220
- "type": "type",
221
- "value": "<ray()> | <url> | <basic-shape>"
222
- },
223
- {
224
- "name": "ray()",
225
- "href": "https://drafts.fxtf.org/motion-1/#funcdef-ray",
226
- "type": "function",
227
- "value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
228
- "values": [
229
- {
230
- "name": "<angle>",
231
- "prose": "The offset path is a single line segment that starts from the offset starting position and proceeds in the direction defined by the specified <angle>. (Its length is determined by the other arguments.) As with gradient functions, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation.",
232
- "href": "https://drafts.fxtf.org/motion-1/#valdef-ray-angle",
233
- "type": "value",
234
- "value": "<angle>"
235
- },
236
- {
237
- "name": "<ray-size>",
238
- "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. If no <ray-size> is specified it defaults to closest-side. Individual keywords are:",
239
- "href": "https://drafts.fxtf.org/motion-1/#valdef-ray-ray-size",
240
- "type": "value",
241
- "value": "<ray-size>"
242
- },
243
- {
244
- "name": "contain",
245
- "prose": "The length of the offset path is reduced so that the element stays within the containing block even at offset-distance: 100%. Specifically, the path’s length is reduced by half the width or half the height of the element’s border box, whichever is larger, and floored at zero.",
246
- "href": "https://drafts.fxtf.org/motion-1/#valdef-ray-contain",
247
- "type": "value",
248
- "value": "contain"
249
- },
250
- {
251
- "name": "at <position>",
252
- "prose": "Specifies the origin of the ray, where the ray’s line begins (the 0% position). It’s resolved by using the <position> to position a 0x0 object area within the box’s containing block. If omitted, it uses the offset starting position of the element, given by offset-position. If the element doesn’t have an offset starting position either, it behaves as at center.",
253
- "href": "https://drafts.fxtf.org/motion-1/#valdef-ray-at-position",
254
- "type": "value",
255
- "value": "at <position>"
256
- }
257
- ]
258
- },
259
- {
260
- "name": "<ray-size>",
261
- "href": "https://drafts.fxtf.org/motion-1/#typedef-ray-size",
262
- "type": "type",
263
- "value": "closest-side | closest-corner | farthest-side | farthest-corner | sides",
264
- "values": [
265
- {
266
- "name": "closest-side",
267
- "prose": "The distance from the ray’s starting point to whichever side of the containing block is closest.",
268
- "href": "https://drafts.fxtf.org/motion-1/#size-closest-side",
269
- "type": "value",
270
- "value": "closest-side"
271
- },
272
- {
273
- "name": "closest-corner",
274
- "prose": "The distance from the ray’s starting point to whichever corner of the containing block is closest.",
275
- "href": "https://drafts.fxtf.org/motion-1/#size-closest-corner",
276
- "type": "value",
277
- "value": "closest-corner"
278
- },
279
- {
280
- "name": "farthest-side",
281
- "prose": "The distance from the ray’s starting point to whichever side of the containing block is farthest.",
282
- "href": "https://drafts.fxtf.org/motion-1/#size-farthest-side",
283
- "type": "value",
284
- "value": "farthest-side"
285
- },
286
- {
287
- "name": "farthest-corner",
288
- "prose": "The distance from the ray’s starting point to whichever corner of the containing block is farthest.",
289
- "href": "https://drafts.fxtf.org/motion-1/#size-farthest-corner",
290
- "type": "value",
291
- "value": "farthest-corner"
292
- },
293
- {
294
- "name": "sides",
295
- "prose": "The distance from the ray’s starting point to the point where the offset path intersects the containing block’s boundary. If the ray’s starting point is on the containing block’s boundary, or outside its bounds entirely, the distance is zero.",
296
- "href": "https://drafts.fxtf.org/motion-1/#size-sides",
297
- "type": "value",
298
- "value": "sides"
299
- }
300
- ]
301
- }
302
- ]
303
- }
@@ -1,282 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "Pointer-driven Animations",
4
- "url": "https://drafts.csswg.org/pointer-animations-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "pointer-timeline-name",
9
- "href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-name",
10
- "value": "[ none | <dashed-ident> ]#",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "the keyword none or a list of CSS identifiers",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "styleDeclaration": [
19
- "pointer-timeline-name",
20
- "pointerTimelineName"
21
- ]
22
- },
23
- {
24
- "name": "pointer-timeline-axis",
25
- "href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline-axis",
26
- "value": "[ block | inline | x | y ]#",
27
- "initial": "block",
28
- "appliesTo": "all elements",
29
- "inherited": "no",
30
- "percentages": "n/a",
31
- "computedValue": "a list of the keywords specified",
32
- "canonicalOrder": "per grammar",
33
- "animationType": "not animatable",
34
- "values": [
35
- {
36
- "name": "block",
37
- "prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
38
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
39
- "type": "value",
40
- "value": "block"
41
- },
42
- {
43
- "name": "inline",
44
- "prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
45
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
46
- "type": "value",
47
- "value": "inline"
48
- },
49
- {
50
- "name": "x",
51
- "prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
52
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
53
- "type": "value",
54
- "value": "x"
55
- },
56
- {
57
- "name": "y",
58
- "prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
59
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
60
- "type": "value",
61
- "value": "y"
62
- },
63
- {
64
- "name": "self",
65
- "prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
66
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
67
- "type": "value",
68
- "value": "self"
69
- },
70
- {
71
- "name": "nearest",
72
- "prose": "Specifies to use the nearest element’s parent box as the pointer range.",
73
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
74
- "type": "value",
75
- "value": "nearest"
76
- },
77
- {
78
- "name": "root",
79
- "prose": "Specifies to use the root element’s principal box as the pointer range.",
80
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
81
- "type": "value",
82
- "value": "root"
83
- }
84
- ],
85
- "styleDeclaration": [
86
- "pointer-timeline-axis",
87
- "pointerTimelineAxis"
88
- ]
89
- },
90
- {
91
- "name": "pointer-timeline",
92
- "href": "https://drafts.csswg.org/pointer-animations-1/#propdef-pointer-timeline",
93
- "value": "[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#",
94
- "initial": "see individual properties",
95
- "appliesTo": "all elements",
96
- "inherited": "see individual properties",
97
- "percentages": "see individual properties",
98
- "computedValue": "see individual properties",
99
- "animationType": "see individual properties",
100
- "canonicalOrder": "per grammar",
101
- "styleDeclaration": [
102
- "pointer-timeline",
103
- "pointerTimeline"
104
- ]
105
- },
106
- {
107
- "name": "animation-range-center",
108
- "href": "https://drafts.csswg.org/pointer-animations-1/#propdef-animation-range-center",
109
- "value": "[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",
110
- "initial": "normal",
111
- "appliesTo": "all elements",
112
- "inherited": "no",
113
- "percentages": "relative to the corresponding dimension of the specified timeline range center subject, else relative to the start of the animation attachment range",
114
- "computedValue": "list, each item either the keyword normal or a timeline range center subject and a length-percentage value",
115
- "canonicalOrder": "per grammar",
116
- "animationType": "not animatable",
117
- "values": [
118
- {
119
- "name": "normal",
120
- "prose": "The 50% progress point of the animation’s active interval is at the center of the animation attachment range.",
121
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-normal",
122
- "type": "value",
123
- "value": "normal"
124
- },
125
- {
126
- "name": "<length-percentage>",
127
- "prose": "The 50% progress point of the animation’s active interval is at the specified point on the timeline measuring from the start of the animation attachment range. Percentages are relative to the size of the animation attachment range.",
128
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-length-percentage",
129
- "type": "value",
130
- "value": "<length-percentage>"
131
- },
132
- {
133
- "name": "<timeline-range-name> <length-percentage>?",
134
- "prose": "The 50% progress point of the animation’s active interval is at the specified point relative to the start padding edge of the specified animation range center subject’s principal box. If the <length-percentage> is omitted, it defaults to 50%.",
135
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-range-center-timeline-range-name-length-percentage",
136
- "type": "value",
137
- "value": "<timeline-range-name> <length-percentage>?"
138
- }
139
- ],
140
- "styleDeclaration": [
141
- "animation-range-center",
142
- "animationRangeCenter"
143
- ]
144
- }
145
- ],
146
- "atrules": [],
147
- "selectors": [],
148
- "values": [
149
- {
150
- "name": "pointer()",
151
- "prose": "The pointer() functional notation can be used as a <single-animation-timeline> value in animation-timeline and specifies a pointer progress timeline. Its syntax is",
152
- "href": "https://drafts.csswg.org/pointer-animations-1/#funcdef-pointer",
153
- "type": "function",
154
- "value": "pointer( [ <pointer-source> || <pointer-axis> ]? )",
155
- "values": [
156
- {
157
- "name": "block",
158
- "prose": "Specifies to use the measure of progress along the block axis of the pointer range.",
159
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-block",
160
- "type": "value",
161
- "value": "block"
162
- },
163
- {
164
- "name": "inline",
165
- "prose": "Specifies to use the measure of progress along the inline axis of the pointer range. (Default.)",
166
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-inline",
167
- "type": "value",
168
- "value": "inline"
169
- },
170
- {
171
- "name": "x",
172
- "prose": "Specifies to use the measure of progress along the horizontal axis of the pointer range.",
173
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-x",
174
- "type": "value",
175
- "value": "x"
176
- },
177
- {
178
- "name": "y",
179
- "prose": "Specifies to use the measure of progress along the vertical axis of the pointer range.",
180
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-y",
181
- "type": "value",
182
- "value": "y"
183
- },
184
- {
185
- "name": "self",
186
- "prose": "Specifies to use the element’s own principal box as the pointer range. (Default.)",
187
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-self",
188
- "type": "value",
189
- "value": "self"
190
- },
191
- {
192
- "name": "nearest",
193
- "prose": "Specifies to use the nearest element’s parent box as the pointer range.",
194
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-nearest",
195
- "type": "value",
196
- "value": "nearest"
197
- },
198
- {
199
- "name": "root",
200
- "prose": "Specifies to use the root element’s principal box as the pointer range.",
201
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-pointer-root",
202
- "type": "value",
203
- "value": "root"
204
- }
205
- ]
206
- },
207
- {
208
- "name": "<pointer-axis>",
209
- "href": "https://drafts.csswg.org/pointer-animations-1/#typedef-axis",
210
- "type": "type",
211
- "value": "block | inline | x | y"
212
- },
213
- {
214
- "name": "<pointer-source>",
215
- "href": "https://drafts.csswg.org/pointer-animations-1/#typedef-source",
216
- "type": "type",
217
- "value": "root | nearest | self"
218
- },
219
- {
220
- "name": "<timeline-range-center-subject>",
221
- "prose": "The animation range center subject is the element whose principal box is the range relative to which the center of the active range is calculated, and is represented by the <timeline-range-center-subject> value type, which indicates a CSS identifier representing one of the following:",
222
- "href": "https://drafts.csswg.org/pointer-animations-1/#typedef-timeline-range-center-subject",
223
- "type": "type"
224
- }
225
- ],
226
- "warnings": [
227
- {
228
- "msg": "Dangling value",
229
- "name": "fill",
230
- "prose": "Represents the full range of the pointer progress timeline: 0% progress represents the pointer position over the start padding edge of the element’s principal box. 100% progress represents the pointer position over the end padding edge of the element’s principal box.",
231
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fill",
232
- "type": "value",
233
- "value": "fill",
234
- "for": "animation-timeline-range"
235
- },
236
- {
237
- "msg": "Dangling value",
238
- "name": "fit",
239
- "prose": "Represents a range that is the same size as fill, but its points of 0% and 100% progress are offset according to the value of animation-range-center property, so that the point of 50% progress remains at the center of the range.",
240
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-fit",
241
- "type": "value",
242
- "value": "fit",
243
- "for": "animation-timeline-range"
244
- },
245
- {
246
- "msg": "Dangling value",
247
- "name": "cover",
248
- "prose": "Represents the largest possible range of the pointer progress timeline that fully covers the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is greater than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
249
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-cover",
250
- "type": "value",
251
- "value": "cover",
252
- "for": "animation-timeline-range"
253
- },
254
- {
255
- "msg": "Dangling value",
256
- "name": "contain",
257
- "prose": "Represents the largest possible range that is fully contained within the element’s principal box according to the value of animation-range-center property as follows: If the distance between the point of 50% progress and the element’s start padding edge is smaller than the distance between the point of 50% progress and the element’s end padding edge, then the 0% progress point is at the element’s start padding edge, and the 100% progress point is at the same distance from the 50% progress point on the opposite side. Otherwise, the 100% progress point is at the element’s end padding edge, and the 0% progress point is at the same distance from the 50% progress point on the opposite side.",
258
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-animation-timeline-range-contain",
259
- "type": "value",
260
- "value": "contain",
261
- "for": "animation-timeline-range"
262
- },
263
- {
264
- "msg": "Dangling value",
265
- "name": "source",
266
- "prose": "The element whose pointer offset drives the progress of the timeline.",
267
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-source",
268
- "type": "value",
269
- "value": "source",
270
- "for": "timeline-range-center-subject"
271
- },
272
- {
273
- "msg": "Dangling value",
274
- "name": "target",
275
- "prose": "The element to which the animation is applied.",
276
- "href": "https://drafts.csswg.org/pointer-animations-1/#valdef-timeline-range-center-subject-target",
277
- "type": "value",
278
- "value": "target",
279
- "for": "timeline-range-center-subject"
280
- }
281
- ]
282
- }