@webref/css 6.23.0 → 7.0.1-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
@@ -1,643 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Scroll Snap Module Level 1",
4
- "url": "https://drafts.csswg.org/css-scroll-snap-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "scroll-snap-type",
9
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-type",
10
- "value": "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",
11
- "initial": "none",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "specified keyword(s)",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "x",
21
- "prose": "The scroll container snaps to snap positions in its horizontal axis only.",
22
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-x",
23
- "type": "value",
24
- "value": "x"
25
- },
26
- {
27
- "name": "y",
28
- "prose": "The scroll container snaps to snap positions in its vertical axis only.",
29
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-y",
30
- "type": "value",
31
- "value": "y"
32
- },
33
- {
34
- "name": "block",
35
- "prose": "The scroll container snaps to snap positions in its block axis only.",
36
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-block",
37
- "type": "value",
38
- "value": "block"
39
- },
40
- {
41
- "name": "inline",
42
- "prose": "The scroll container snaps to snap positions in its inline axis only.",
43
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-inline",
44
- "type": "value",
45
- "value": "inline"
46
- },
47
- {
48
- "name": "both",
49
- "prose": "The scroll container snaps to snap positions in both of its axes independently (potentially snapping to different elements in each axis).",
50
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-both",
51
- "type": "value",
52
- "value": "both"
53
- },
54
- {
55
- "name": "none",
56
- "prose": "If specified on a scroll container, the scroll container must not snap.",
57
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-none",
58
- "type": "value",
59
- "value": "none"
60
- },
61
- {
62
- "name": "mandatory",
63
- "prose": "If specified on a scroll container, the scroll container is required to be snapped to a snap position when there are no active scrolling operations. If a valid snap position exists then the scroll container must snap at the termination of a scroll (if none exist then no snapping occurs).",
64
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory",
65
- "type": "value",
66
- "value": "mandatory"
67
- },
68
- {
69
- "name": "proximity",
70
- "prose": "If specified on a scroll container, the scroll container may snap to a snap position at the termination of a scroll, at the discretion of the UA given the parameters of the scroll.",
71
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-proximity",
72
- "type": "value",
73
- "value": "proximity"
74
- }
75
- ],
76
- "styleDeclaration": [
77
- "scroll-snap-type",
78
- "scrollSnapType"
79
- ]
80
- },
81
- {
82
- "name": "scroll-padding",
83
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding",
84
- "value": "[ auto | <length-percentage [0,∞]> ]{1,4}",
85
- "initial": "auto",
86
- "appliesTo": "scroll containers",
87
- "inherited": "no",
88
- "percentages": "relative to the corresponding dimension of the scroll container’s scrollport",
89
- "computedValue": "per side, either the keyword auto or a computed <length-percentage> value",
90
- "animationType": "by computed value type",
91
- "canonicalOrder": "per grammar",
92
- "values": [
93
- {
94
- "name": "<length-percentage [0,∞]>",
95
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
96
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
97
- "type": "value",
98
- "value": "<length-percentage [0,∞]>"
99
- },
100
- {
101
- "name": "auto",
102
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
103
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
104
- "type": "value",
105
- "value": "auto"
106
- }
107
- ],
108
- "styleDeclaration": [
109
- "scroll-padding",
110
- "scrollPadding"
111
- ]
112
- },
113
- {
114
- "name": "scroll-margin",
115
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin",
116
- "value": "<length>{1,4}",
117
- "initial": "0",
118
- "appliesTo": "all elements",
119
- "inherited": "no",
120
- "percentages": "n/a",
121
- "computedValue": "per side, an absolute length",
122
- "canonicalOrder": "per grammar",
123
- "animationType": "by computed value type",
124
- "styleDeclaration": [
125
- "scroll-margin",
126
- "scrollMargin"
127
- ]
128
- },
129
- {
130
- "name": "scroll-snap-align",
131
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-align",
132
- "value": "[ none | start | end | center ]{1,2}",
133
- "initial": "none",
134
- "appliesTo": "all elements",
135
- "inherited": "no",
136
- "percentages": "n/a",
137
- "computedValue": "two keywords",
138
- "canonicalOrder": "per grammar",
139
- "animationType": "discrete",
140
- "values": [
141
- {
142
- "name": "none",
143
- "prose": "This box does not define a snap position in the specified axis.",
144
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-none",
145
- "type": "value",
146
- "value": "none"
147
- },
148
- {
149
- "name": "start",
150
- "prose": "Start alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
151
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-start",
152
- "type": "value",
153
- "value": "start"
154
- },
155
- {
156
- "name": "end",
157
- "prose": "End alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
158
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-end",
159
- "type": "value",
160
- "value": "end"
161
- },
162
- {
163
- "name": "center",
164
- "prose": "Center alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
165
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-center",
166
- "type": "value",
167
- "value": "center"
168
- }
169
- ],
170
- "styleDeclaration": [
171
- "scroll-snap-align",
172
- "scrollSnapAlign"
173
- ]
174
- },
175
- {
176
- "name": "scroll-snap-stop",
177
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-stop",
178
- "value": "normal | always",
179
- "initial": "normal",
180
- "appliesTo": "all elements",
181
- "inherited": "no",
182
- "percentages": "n/a",
183
- "computedValue": "specified keyword",
184
- "canonicalOrder": "per grammar",
185
- "animationType": "discrete",
186
- "values": [
187
- {
188
- "name": "normal",
189
- "prose": "The scroll container may pass over a snap position defined by this element during the execution of a scrolling operation.",
190
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-normal",
191
- "type": "value",
192
- "value": "normal"
193
- },
194
- {
195
- "name": "always",
196
- "prose": "The scroll container must not pass over a snap position defined by this element during the execution of a scrolling operation; it must instead snap to the first of this element’s snap positions.",
197
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-always",
198
- "type": "value",
199
- "value": "always"
200
- }
201
- ],
202
- "styleDeclaration": [
203
- "scroll-snap-stop",
204
- "scrollSnapStop"
205
- ]
206
- },
207
- {
208
- "name": "scroll-padding-top",
209
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-top",
210
- "value": "auto | <length-percentage [0,∞]>",
211
- "initial": "auto",
212
- "appliesTo": "scroll containers",
213
- "inherited": "no",
214
- "percentages": "relative to the scroll container’s scrollport",
215
- "computedValue": "the keyword auto or a computed <length-percentage> value",
216
- "canonicalOrder": "per grammar",
217
- "animationType": "by computed value type",
218
- "logicalPropertyGroup": "scroll-padding",
219
- "styleDeclaration": [
220
- "scroll-padding-top",
221
- "scrollPaddingTop"
222
- ]
223
- },
224
- {
225
- "name": "scroll-padding-right",
226
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-right",
227
- "value": "auto | <length-percentage [0,∞]>",
228
- "initial": "auto",
229
- "appliesTo": "scroll containers",
230
- "inherited": "no",
231
- "percentages": "relative to the scroll container’s scrollport",
232
- "computedValue": "the keyword auto or a computed <length-percentage> value",
233
- "canonicalOrder": "per grammar",
234
- "animationType": "by computed value type",
235
- "logicalPropertyGroup": "scroll-padding",
236
- "styleDeclaration": [
237
- "scroll-padding-right",
238
- "scrollPaddingRight"
239
- ]
240
- },
241
- {
242
- "name": "scroll-padding-bottom",
243
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-bottom",
244
- "value": "auto | <length-percentage [0,∞]>",
245
- "initial": "auto",
246
- "appliesTo": "scroll containers",
247
- "inherited": "no",
248
- "percentages": "relative to the scroll container’s scrollport",
249
- "computedValue": "the keyword auto or a computed <length-percentage> value",
250
- "canonicalOrder": "per grammar",
251
- "animationType": "by computed value type",
252
- "logicalPropertyGroup": "scroll-padding",
253
- "styleDeclaration": [
254
- "scroll-padding-bottom",
255
- "scrollPaddingBottom"
256
- ]
257
- },
258
- {
259
- "name": "scroll-padding-left",
260
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-left",
261
- "value": "auto | <length-percentage [0,∞]>",
262
- "initial": "auto",
263
- "appliesTo": "scroll containers",
264
- "inherited": "no",
265
- "percentages": "relative to the scroll container’s scrollport",
266
- "computedValue": "the keyword auto or a computed <length-percentage> value",
267
- "canonicalOrder": "per grammar",
268
- "animationType": "by computed value type",
269
- "logicalPropertyGroup": "scroll-padding",
270
- "styleDeclaration": [
271
- "scroll-padding-left",
272
- "scrollPaddingLeft"
273
- ]
274
- },
275
- {
276
- "name": "scroll-padding-inline-start",
277
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-start",
278
- "value": "auto | <length-percentage [0,∞]>",
279
- "initial": "auto",
280
- "appliesTo": "scroll containers",
281
- "inherited": "no",
282
- "percentages": "relative to the scroll container’s scrollport",
283
- "computedValue": "the keyword auto or a computed <length-percentage> value",
284
- "canonicalOrder": "per grammar",
285
- "animationType": "by computed value type",
286
- "logicalPropertyGroup": "scroll-padding",
287
- "values": [
288
- {
289
- "name": "<length-percentage [0,∞]>",
290
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
291
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
292
- "type": "value",
293
- "value": "<length-percentage [0,∞]>"
294
- },
295
- {
296
- "name": "auto",
297
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
298
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
299
- "type": "value",
300
- "value": "auto"
301
- }
302
- ],
303
- "styleDeclaration": [
304
- "scroll-padding-inline-start",
305
- "scrollPaddingInlineStart"
306
- ]
307
- },
308
- {
309
- "name": "scroll-padding-block-start",
310
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-start",
311
- "value": "auto | <length-percentage [0,∞]>",
312
- "initial": "auto",
313
- "appliesTo": "scroll containers",
314
- "inherited": "no",
315
- "percentages": "relative to the scroll container’s scrollport",
316
- "computedValue": "the keyword auto or a computed <length-percentage> value",
317
- "canonicalOrder": "per grammar",
318
- "animationType": "by computed value type",
319
- "logicalPropertyGroup": "scroll-padding",
320
- "values": [
321
- {
322
- "name": "<length-percentage [0,∞]>",
323
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
324
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
325
- "type": "value",
326
- "value": "<length-percentage [0,∞]>"
327
- },
328
- {
329
- "name": "auto",
330
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
331
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
332
- "type": "value",
333
- "value": "auto"
334
- }
335
- ],
336
- "styleDeclaration": [
337
- "scroll-padding-block-start",
338
- "scrollPaddingBlockStart"
339
- ]
340
- },
341
- {
342
- "name": "scroll-padding-inline-end",
343
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-end",
344
- "value": "auto | <length-percentage [0,∞]>",
345
- "initial": "auto",
346
- "appliesTo": "scroll containers",
347
- "inherited": "no",
348
- "percentages": "relative to the scroll container’s scrollport",
349
- "computedValue": "the keyword auto or a computed <length-percentage> value",
350
- "canonicalOrder": "per grammar",
351
- "animationType": "by computed value type",
352
- "logicalPropertyGroup": "scroll-padding",
353
- "values": [
354
- {
355
- "name": "<length-percentage [0,∞]>",
356
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
357
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
358
- "type": "value",
359
- "value": "<length-percentage [0,∞]>"
360
- },
361
- {
362
- "name": "auto",
363
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
364
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
365
- "type": "value",
366
- "value": "auto"
367
- }
368
- ],
369
- "styleDeclaration": [
370
- "scroll-padding-inline-end",
371
- "scrollPaddingInlineEnd"
372
- ]
373
- },
374
- {
375
- "name": "scroll-padding-block-end",
376
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-end",
377
- "value": "auto | <length-percentage [0,∞]>",
378
- "initial": "auto",
379
- "appliesTo": "scroll containers",
380
- "inherited": "no",
381
- "percentages": "relative to the scroll container’s scrollport",
382
- "computedValue": "the keyword auto or a computed <length-percentage> value",
383
- "canonicalOrder": "per grammar",
384
- "animationType": "by computed value type",
385
- "logicalPropertyGroup": "scroll-padding",
386
- "values": [
387
- {
388
- "name": "<length-percentage [0,∞]>",
389
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
390
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
391
- "type": "value",
392
- "value": "<length-percentage [0,∞]>"
393
- },
394
- {
395
- "name": "auto",
396
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
397
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
398
- "type": "value",
399
- "value": "auto"
400
- }
401
- ],
402
- "styleDeclaration": [
403
- "scroll-padding-block-end",
404
- "scrollPaddingBlockEnd"
405
- ]
406
- },
407
- {
408
- "name": "scroll-padding-block",
409
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block",
410
- "value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
411
- "initial": "auto",
412
- "appliesTo": "scroll containers",
413
- "inherited": "no",
414
- "percentages": "relative to the scroll container’s scrollport",
415
- "computedValue": "see individual properties",
416
- "animationType": "by computed value",
417
- "canonicalOrder": "per grammar",
418
- "values": [
419
- {
420
- "name": "<length-percentage [0,∞]>",
421
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
422
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
423
- "type": "value",
424
- "value": "<length-percentage [0,∞]>"
425
- },
426
- {
427
- "name": "auto",
428
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
429
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
430
- "type": "value",
431
- "value": "auto"
432
- }
433
- ],
434
- "styleDeclaration": [
435
- "scroll-padding-block",
436
- "scrollPaddingBlock"
437
- ]
438
- },
439
- {
440
- "name": "scroll-padding-inline",
441
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline",
442
- "value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
443
- "initial": "auto",
444
- "appliesTo": "scroll containers",
445
- "inherited": "no",
446
- "percentages": "relative to the scroll container’s scrollport",
447
- "computedValue": "see individual properties",
448
- "animationType": "by computed value",
449
- "canonicalOrder": "per grammar",
450
- "values": [
451
- {
452
- "name": "<length-percentage [0,∞]>",
453
- "prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
454
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
455
- "type": "value",
456
- "value": "<length-percentage [0,∞]>"
457
- },
458
- {
459
- "name": "auto",
460
- "prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
461
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
462
- "type": "value",
463
- "value": "auto"
464
- }
465
- ],
466
- "styleDeclaration": [
467
- "scroll-padding-inline",
468
- "scrollPaddingInline"
469
- ]
470
- },
471
- {
472
- "name": "scroll-margin-top",
473
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-top",
474
- "value": "<length>",
475
- "initial": "0",
476
- "appliesTo": "all elements",
477
- "inherited": "no",
478
- "percentages": "n/a",
479
- "computedValue": "absolute length",
480
- "canonicalOrder": "per grammar",
481
- "animationType": "by computed value type",
482
- "logicalPropertyGroup": "scroll-margin",
483
- "styleDeclaration": [
484
- "scroll-margin-top",
485
- "scrollMarginTop"
486
- ]
487
- },
488
- {
489
- "name": "scroll-margin-right",
490
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-right",
491
- "value": "<length>",
492
- "initial": "0",
493
- "appliesTo": "all elements",
494
- "inherited": "no",
495
- "percentages": "n/a",
496
- "computedValue": "absolute length",
497
- "canonicalOrder": "per grammar",
498
- "animationType": "by computed value type",
499
- "logicalPropertyGroup": "scroll-margin",
500
- "styleDeclaration": [
501
- "scroll-margin-right",
502
- "scrollMarginRight"
503
- ]
504
- },
505
- {
506
- "name": "scroll-margin-bottom",
507
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-bottom",
508
- "value": "<length>",
509
- "initial": "0",
510
- "appliesTo": "all elements",
511
- "inherited": "no",
512
- "percentages": "n/a",
513
- "computedValue": "absolute length",
514
- "canonicalOrder": "per grammar",
515
- "animationType": "by computed value type",
516
- "logicalPropertyGroup": "scroll-margin",
517
- "styleDeclaration": [
518
- "scroll-margin-bottom",
519
- "scrollMarginBottom"
520
- ]
521
- },
522
- {
523
- "name": "scroll-margin-left",
524
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-left",
525
- "value": "<length>",
526
- "initial": "0",
527
- "appliesTo": "all elements",
528
- "inherited": "no",
529
- "percentages": "n/a",
530
- "computedValue": "absolute length",
531
- "canonicalOrder": "per grammar",
532
- "animationType": "by computed value type",
533
- "logicalPropertyGroup": "scroll-margin",
534
- "styleDeclaration": [
535
- "scroll-margin-left",
536
- "scrollMarginLeft"
537
- ]
538
- },
539
- {
540
- "name": "scroll-margin-block-start",
541
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-start",
542
- "value": "<length>",
543
- "initial": "0",
544
- "appliesTo": "all elements",
545
- "inherited": "no",
546
- "percentages": "n/a",
547
- "computedValue": "absolute length",
548
- "canonicalOrder": "per grammar",
549
- "animationType": "by computed value type",
550
- "logicalPropertyGroup": "scroll-margin",
551
- "styleDeclaration": [
552
- "scroll-margin-block-start",
553
- "scrollMarginBlockStart"
554
- ]
555
- },
556
- {
557
- "name": "scroll-margin-inline-start",
558
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-start",
559
- "value": "<length>",
560
- "initial": "0",
561
- "appliesTo": "all elements",
562
- "inherited": "no",
563
- "percentages": "n/a",
564
- "computedValue": "absolute length",
565
- "canonicalOrder": "per grammar",
566
- "animationType": "by computed value type",
567
- "logicalPropertyGroup": "scroll-margin",
568
- "styleDeclaration": [
569
- "scroll-margin-inline-start",
570
- "scrollMarginInlineStart"
571
- ]
572
- },
573
- {
574
- "name": "scroll-margin-block-end",
575
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-end",
576
- "value": "<length>",
577
- "initial": "0",
578
- "appliesTo": "all elements",
579
- "inherited": "no",
580
- "percentages": "n/a",
581
- "computedValue": "absolute length",
582
- "canonicalOrder": "per grammar",
583
- "animationType": "by computed value type",
584
- "logicalPropertyGroup": "scroll-margin",
585
- "styleDeclaration": [
586
- "scroll-margin-block-end",
587
- "scrollMarginBlockEnd"
588
- ]
589
- },
590
- {
591
- "name": "scroll-margin-inline-end",
592
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-end",
593
- "value": "<length>",
594
- "initial": "0",
595
- "appliesTo": "all elements",
596
- "inherited": "no",
597
- "percentages": "n/a",
598
- "computedValue": "absolute length",
599
- "canonicalOrder": "per grammar",
600
- "animationType": "by computed value type",
601
- "logicalPropertyGroup": "scroll-margin",
602
- "styleDeclaration": [
603
- "scroll-margin-inline-end",
604
- "scrollMarginInlineEnd"
605
- ]
606
- },
607
- {
608
- "name": "scroll-margin-block",
609
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block",
610
- "value": "<length>{1,2}",
611
- "initial": "0",
612
- "appliesTo": "all elements",
613
- "inherited": "no",
614
- "percentages": "n/a",
615
- "computedValue": "see individual properties",
616
- "animationType": "by computed value type",
617
- "canonicalOrder": "per grammar",
618
- "styleDeclaration": [
619
- "scroll-margin-block",
620
- "scrollMarginBlock"
621
- ]
622
- },
623
- {
624
- "name": "scroll-margin-inline",
625
- "href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline",
626
- "value": "<length>{1,2}",
627
- "initial": "0",
628
- "appliesTo": "all elements",
629
- "inherited": "no",
630
- "percentages": "n/a",
631
- "computedValue": "see individual properties",
632
- "animationType": "by computed value type",
633
- "canonicalOrder": "per grammar",
634
- "styleDeclaration": [
635
- "scroll-margin-inline",
636
- "scrollMarginInline"
637
- ]
638
- }
639
- ],
640
- "atrules": [],
641
- "selectors": [],
642
- "values": []
643
- }