@webref/css 6.12.15 → 6.13.1
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-position.json +17 -17
- package/css-nesting.json +1 -9
- package/css-overflow-5.json +102 -0
- package/css-scroll-snap-2.json +83 -141
- package/css-view-transitions.json +1 -1
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -238,8 +238,8 @@
|
|
|
238
238
|
]
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
|
-
"name": "position-try-
|
|
242
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-
|
|
241
|
+
"name": "position-try-fallbacks",
|
|
242
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-fallbacks",
|
|
243
243
|
"value": "none | [ [<dashed-ident> || <try-tactic>] | <'inset-area'> ]#",
|
|
244
244
|
"initial": "none",
|
|
245
245
|
"appliesTo": "absolutely-positioned elements",
|
|
@@ -252,68 +252,68 @@
|
|
|
252
252
|
{
|
|
253
253
|
"name": "none",
|
|
254
254
|
"prose": "The property has no effect; the element’s position options list is empty.",
|
|
255
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
255
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-none",
|
|
256
256
|
"type": "value",
|
|
257
257
|
"value": "none"
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"name": "<dashed-ident>",
|
|
261
261
|
"prose": "If there is a @position-try rule with the given name, its associated position option is added to the position options list. Otherwise, this value has no effect.",
|
|
262
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
262
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-dashed-ident",
|
|
263
263
|
"type": "value",
|
|
264
264
|
"value": "<dashed-ident>"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"name": "<try-tactic>",
|
|
268
268
|
"value": "flip-block || flip-inline || flip-start",
|
|
269
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
269
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-try-tactic",
|
|
270
270
|
"type": "value"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
"name": "<try-tactic>",
|
|
274
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-
|
|
274
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-position-try-fallbacks-try-tactic",
|
|
275
275
|
"type": "type",
|
|
276
276
|
"value": "flip-block || flip-inline || flip-start"
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
"name": "flip-block",
|
|
280
280
|
"prose": "swaps the values in the block axis (between, for example, margin-block-start and margin-block-end), essentially mirroring across an inline-axis line.",
|
|
281
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
281
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-flip-block",
|
|
282
282
|
"type": "value",
|
|
283
283
|
"value": "flip-block"
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"name": "flip-inline",
|
|
287
287
|
"prose": "swaps the values in the inline axis, essentially mirroring across a block-axis line.",
|
|
288
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
288
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-flip-inline",
|
|
289
289
|
"type": "value",
|
|
290
290
|
"value": "flip-inline"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"name": "flip-start",
|
|
294
294
|
"prose": "swaps the values of the start properties with each other, and the end properties with each other (between, for example, margin-block-start and margin-inline-start), essentially mirroring across a diagonal drawn from the start-start corner to the end-end corner.",
|
|
295
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
295
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-flip-start",
|
|
296
296
|
"type": "value",
|
|
297
297
|
"value": "flip-start"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
300
|
"name": "<dashed-ident> || <try-tactic>",
|
|
301
301
|
"prose": "Combines the effects of the previous two options: if there is a @position-try rule with the given name, then applies its position option to the element’s base style, transforms it according to the specified <try-tactic>, and then adds the result to the element’s position options list. Otherwise, does nothing.",
|
|
302
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
302
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-dashed-ident--try-tactic",
|
|
303
303
|
"type": "value",
|
|
304
304
|
"value": "<dashed-ident> || <try-tactic>"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
"name": "<'inset-area'>",
|
|
308
308
|
"prose": "Automatically creates a position option composed solely of an inset-area property with the given value.",
|
|
309
|
-
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-
|
|
309
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-fallbacks-inset-area",
|
|
310
310
|
"type": "value",
|
|
311
311
|
"value": "<'inset-area'>"
|
|
312
312
|
}
|
|
313
313
|
],
|
|
314
314
|
"styleDeclaration": [
|
|
315
|
-
"position-try-
|
|
316
|
-
"
|
|
315
|
+
"position-try-fallbacks",
|
|
316
|
+
"positionTryFallbacks"
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
319
|
{
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"values": [
|
|
331
331
|
{
|
|
332
332
|
"name": "normal",
|
|
333
|
-
"prose": "Try the position options in the order specified by position-try-
|
|
333
|
+
"prose": "Try the position options in the order specified by position-try-fallbacks.",
|
|
334
334
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-normal",
|
|
335
335
|
"type": "value",
|
|
336
336
|
"value": "normal"
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
{
|
|
373
373
|
"name": "position-try",
|
|
374
374
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try",
|
|
375
|
-
"value": "<'position-try-order'>? <'position-try-
|
|
375
|
+
"value": "<'position-try-order'>? <'position-try-fallbacks'>",
|
|
376
376
|
"initial": "see individual properties",
|
|
377
377
|
"appliesTo": "see individual properties",
|
|
378
378
|
"inherited": "see individual properties",
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
"atrules": [
|
|
390
390
|
{
|
|
391
391
|
"name": "@position-try",
|
|
392
|
-
"prose": "The @position-try rule defines a position option with a given name, specifying one or more sets of positioning properties that will be applied to an element via position-try-
|
|
392
|
+
"prose": "The @position-try rule defines a position option with a given name, specifying one or more sets of positioning properties that will be applied to an element via position-try-fallbacks,",
|
|
393
393
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#at-ruledef-position-try",
|
|
394
394
|
"descriptors": [],
|
|
395
395
|
"value": "@position-try <dashed-ident> { <declaration-list> }"
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"name": "<inset-area>",
|
|
402
402
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#typedef-inset-area",
|
|
403
403
|
"type": "type",
|
|
404
|
-
"value": "[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | x-self-start | x-self-end | span-x-self-start | span-x-self-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | y-self-start | y-self-end | span-y-self-start | span-y-self-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]",
|
|
404
|
+
"value": "[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | x-self-start | x-self-end | span-x-self-start | span-x-self-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | y-self-start | y-self-end | span-y-self-start | span-y-self-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]",
|
|
405
405
|
"values": [
|
|
406
406
|
{
|
|
407
407
|
"name": "start",
|
package/css-nesting.json
CHANGED
|
@@ -4,15 +4,7 @@
|
|
|
4
4
|
"url": "https://drafts.csswg.org/css-nesting-1/"
|
|
5
5
|
},
|
|
6
6
|
"properties": [],
|
|
7
|
-
"atrules": [
|
|
8
|
-
{
|
|
9
|
-
"name": "@nest",
|
|
10
|
-
"prose": "To address all of these issue, the @nest rule is defined:",
|
|
11
|
-
"href": "https://drafts.csswg.org/css-nesting-1/#at-ruledef-nest",
|
|
12
|
-
"descriptors": [],
|
|
13
|
-
"value": "@nest { <block-contents> }"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
7
|
+
"atrules": [],
|
|
16
8
|
"selectors": [
|
|
17
9
|
{
|
|
18
10
|
"name": "&",
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Overflow Module Level 5",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-overflow-5/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "scroll-marker-group",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-marker-group",
|
|
10
|
+
"value": "none | before | after",
|
|
11
|
+
"initial": "none",
|
|
12
|
+
"appliesTo": "scroll containers",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "specified value",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "discrete",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "none",
|
|
21
|
+
"prose": "The scroll container does not create a '::scroll-marker-group' pseudo-element.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-none",
|
|
23
|
+
"type": "value",
|
|
24
|
+
"value": "none"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "before",
|
|
28
|
+
"prose": "The scroll container generates a ::scroll-marker-group pseudo-element whose box is an immediate preceding sibling to its originating element.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-before",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "before"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "after",
|
|
35
|
+
"prose": "The scroll container generates a ::scroll-marker-group pseudo-element whose box is an immediate following sibling to its originating element.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-marker-group-after",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "after"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styleDeclaration": [
|
|
42
|
+
"scroll-marker-group",
|
|
43
|
+
"scrollMarkerGroup"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "continue",
|
|
48
|
+
"newValues": "overflow | paginate | fragments",
|
|
49
|
+
"initial": "auto",
|
|
50
|
+
"appliesTo": "block containers [CSS2], flex containers [CSS3-FLEXBOX], and grid containers [CSS3-GRID-LAYOUT]",
|
|
51
|
+
"inherited": "no",
|
|
52
|
+
"percentages": "N/A",
|
|
53
|
+
"computedValue": "see below",
|
|
54
|
+
"animationType": "discrete",
|
|
55
|
+
"values": [
|
|
56
|
+
{
|
|
57
|
+
"name": "overflow",
|
|
58
|
+
"prose": "Content that doesn’t fit overflows, according to the overflow property",
|
|
59
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-continue-overflow",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "overflow"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "paginate",
|
|
65
|
+
"prose": "Content that doesn’t fit paginates. This creates a paginated view inside the element similar to the way that 'overflow: scroll' creates a scrollable view. See paginated overflow",
|
|
66
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-continue-paginate",
|
|
67
|
+
"type": "value",
|
|
68
|
+
"value": "paginate"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "fragments",
|
|
72
|
+
"prose": "content that doesn’t fit causes the element to copy itself and continue laying out. See fragment overflow.",
|
|
73
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#valdef-continue-fragments",
|
|
74
|
+
"type": "value",
|
|
75
|
+
"value": "fragments"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"styleDeclaration": [
|
|
79
|
+
"continue"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"atrules": [],
|
|
84
|
+
"selectors": [
|
|
85
|
+
{
|
|
86
|
+
"name": "::scroll-marker-group",
|
|
87
|
+
"prose": "The ::scroll-marker-group pseudo-element box is generated by a scroll container element having a computed scroll-marker-group property that is not none, representing a stylable sibling pseudo-element immediately adjacent to the scroll container.",
|
|
88
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "::scroll-marker",
|
|
92
|
+
"prose": "When the computed content value of a ::scroll-marker pseudo-element is not none and its nearest ancestor scroll container scroll container has a computed scroll-marker-group property that is not none, the pseudo-element generates a box attached as a child of the ::scroll-marker-group pseudo-element’s generated box on its nearest ancestor scroll container. These boxes are added in the tree order of their originating element.",
|
|
93
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "::nth-fragment()",
|
|
97
|
+
"prose": "The ::nth-fragment() pseudo-element is a pseudo-element that describes some of the fragment boxes generated by an element. The argument to the pseudo-element takes the same syntax as the argument to the :nth-child() pseudo-class defined in [SELECT], and has the same meaning except that the number is relative to fragment boxes generated by the element instead of siblings of the element.",
|
|
98
|
+
"href": "https://drafts.csswg.org/css-overflow-5/#selectordef-nth-fragment"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"values": []
|
|
102
|
+
}
|
package/css-scroll-snap-2.json
CHANGED
|
@@ -60,25 +60,25 @@
|
|
|
60
60
|
{
|
|
61
61
|
"name": "scroll-start-target",
|
|
62
62
|
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target",
|
|
63
|
-
"value": "[ none | auto ]
|
|
64
|
-
"initial": "
|
|
65
|
-
"appliesTo": "
|
|
66
|
-
"inherited": "
|
|
67
|
-
"percentages": "
|
|
63
|
+
"value": "[ none | auto ]",
|
|
64
|
+
"initial": "none",
|
|
65
|
+
"appliesTo": "all elements",
|
|
66
|
+
"inherited": "no",
|
|
67
|
+
"percentages": "N/A",
|
|
68
68
|
"computedValue": "see individual properties",
|
|
69
|
-
"animationType": "
|
|
69
|
+
"animationType": "none",
|
|
70
70
|
"canonicalOrder": "per grammar",
|
|
71
71
|
"values": [
|
|
72
72
|
{
|
|
73
73
|
"name": "none",
|
|
74
|
-
"prose": "
|
|
74
|
+
"prose": "The element is not an initial scroll target.",
|
|
75
75
|
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
76
76
|
"type": "value",
|
|
77
77
|
"value": "none"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "auto",
|
|
81
|
-
"prose": "
|
|
81
|
+
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
|
|
82
82
|
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
83
83
|
"type": "value",
|
|
84
84
|
"value": "auto"
|
|
@@ -304,138 +304,6 @@
|
|
|
304
304
|
"scroll-start-block",
|
|
305
305
|
"scrollStartBlock"
|
|
306
306
|
]
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"name": "scroll-start-target-block",
|
|
310
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-block",
|
|
311
|
-
"value": "auto | none",
|
|
312
|
-
"initial": "none",
|
|
313
|
-
"appliesTo": "all elements",
|
|
314
|
-
"inherited": "no",
|
|
315
|
-
"percentages": "n/a",
|
|
316
|
-
"computedValue": "either of the keywords \"none\" or \"auto\"",
|
|
317
|
-
"canonicalOrder": "per grammar",
|
|
318
|
-
"animationType": "not animatable",
|
|
319
|
-
"logicalPropertyGroup": "scroll-start-target",
|
|
320
|
-
"values": [
|
|
321
|
-
{
|
|
322
|
-
"name": "none",
|
|
323
|
-
"prose": "Element is not a scroll-start-target.",
|
|
324
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
325
|
-
"type": "value",
|
|
326
|
-
"value": "none"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"name": "auto",
|
|
330
|
-
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
331
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
332
|
-
"type": "value",
|
|
333
|
-
"value": "auto"
|
|
334
|
-
}
|
|
335
|
-
],
|
|
336
|
-
"styleDeclaration": [
|
|
337
|
-
"scroll-start-target-block",
|
|
338
|
-
"scrollStartTargetBlock"
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"name": "scroll-start-target-inline",
|
|
343
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-inline",
|
|
344
|
-
"value": "auto | none",
|
|
345
|
-
"initial": "none",
|
|
346
|
-
"appliesTo": "all elements",
|
|
347
|
-
"inherited": "no",
|
|
348
|
-
"percentages": "n/a",
|
|
349
|
-
"computedValue": "either of the keywords \"none\" or \"auto\"",
|
|
350
|
-
"canonicalOrder": "per grammar",
|
|
351
|
-
"animationType": "not animatable",
|
|
352
|
-
"logicalPropertyGroup": "scroll-start-target",
|
|
353
|
-
"values": [
|
|
354
|
-
{
|
|
355
|
-
"name": "none",
|
|
356
|
-
"prose": "Element is not a scroll-start-target.",
|
|
357
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
358
|
-
"type": "value",
|
|
359
|
-
"value": "none"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"name": "auto",
|
|
363
|
-
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
364
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
365
|
-
"type": "value",
|
|
366
|
-
"value": "auto"
|
|
367
|
-
}
|
|
368
|
-
],
|
|
369
|
-
"styleDeclaration": [
|
|
370
|
-
"scroll-start-target-inline",
|
|
371
|
-
"scrollStartTargetInline"
|
|
372
|
-
]
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"name": "scroll-start-target-x",
|
|
376
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-x",
|
|
377
|
-
"value": "none | auto",
|
|
378
|
-
"initial": "none",
|
|
379
|
-
"appliesTo": "all elements",
|
|
380
|
-
"inherited": "no",
|
|
381
|
-
"percentages": "n/a",
|
|
382
|
-
"computedValue": "either of the keywords \"none\" or \"auto\"",
|
|
383
|
-
"canonicalOrder": "per grammar",
|
|
384
|
-
"animationType": "not animatable",
|
|
385
|
-
"logicalPropertyGroup": "scroll-start-target",
|
|
386
|
-
"values": [
|
|
387
|
-
{
|
|
388
|
-
"name": "none",
|
|
389
|
-
"prose": "Element is not a scroll-start-target.",
|
|
390
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
391
|
-
"type": "value",
|
|
392
|
-
"value": "none"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"name": "auto",
|
|
396
|
-
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
397
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
398
|
-
"type": "value",
|
|
399
|
-
"value": "auto"
|
|
400
|
-
}
|
|
401
|
-
],
|
|
402
|
-
"styleDeclaration": [
|
|
403
|
-
"scroll-start-target-x",
|
|
404
|
-
"scrollStartTargetX"
|
|
405
|
-
]
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"name": "scroll-start-target-y",
|
|
409
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target-y",
|
|
410
|
-
"value": "none | auto",
|
|
411
|
-
"initial": "none",
|
|
412
|
-
"appliesTo": "all elements",
|
|
413
|
-
"inherited": "no",
|
|
414
|
-
"percentages": "n/a",
|
|
415
|
-
"computedValue": "either of the keywords \"none\" or \"auto\"",
|
|
416
|
-
"canonicalOrder": "per grammar",
|
|
417
|
-
"animationType": "not animatable",
|
|
418
|
-
"logicalPropertyGroup": "scroll-start-target",
|
|
419
|
-
"values": [
|
|
420
|
-
{
|
|
421
|
-
"name": "none",
|
|
422
|
-
"prose": "Element is not a scroll-start-target.",
|
|
423
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
424
|
-
"type": "value",
|
|
425
|
-
"value": "none"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"name": "auto",
|
|
429
|
-
"prose": "Element is used to calculate the scroll-start position, taking into account scroll-padding or scroll-margin , same as a scroll-snap target.",
|
|
430
|
-
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
431
|
-
"type": "value",
|
|
432
|
-
"value": "auto"
|
|
433
|
-
}
|
|
434
|
-
],
|
|
435
|
-
"styleDeclaration": [
|
|
436
|
-
"scroll-start-target-y",
|
|
437
|
-
"scrollStartTargetY"
|
|
438
|
-
]
|
|
439
307
|
}
|
|
440
308
|
],
|
|
441
309
|
"atrules": [],
|
|
@@ -466,5 +334,79 @@
|
|
|
466
334
|
"href": "https://drafts.csswg.org/css-scroll-snap-2/#selectordef-snapped-block"
|
|
467
335
|
}
|
|
468
336
|
],
|
|
469
|
-
"values": []
|
|
337
|
+
"values": [],
|
|
338
|
+
"warnings": [
|
|
339
|
+
{
|
|
340
|
+
"msg": "Dangling value",
|
|
341
|
+
"name": "none",
|
|
342
|
+
"prose": "The element is not an initial scroll target.",
|
|
343
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
344
|
+
"type": "value",
|
|
345
|
+
"value": "none",
|
|
346
|
+
"for": "scroll-start-target-block"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"msg": "Dangling value",
|
|
350
|
+
"name": "none",
|
|
351
|
+
"prose": "The element is not an initial scroll target.",
|
|
352
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
353
|
+
"type": "value",
|
|
354
|
+
"value": "none",
|
|
355
|
+
"for": "scroll-start-target-inline"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"msg": "Dangling value",
|
|
359
|
+
"name": "none",
|
|
360
|
+
"prose": "The element is not an initial scroll target.",
|
|
361
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
362
|
+
"type": "value",
|
|
363
|
+
"value": "none",
|
|
364
|
+
"for": "scroll-start-target-x"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"msg": "Dangling value",
|
|
368
|
+
"name": "none",
|
|
369
|
+
"prose": "The element is not an initial scroll target.",
|
|
370
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-none",
|
|
371
|
+
"type": "value",
|
|
372
|
+
"value": "none",
|
|
373
|
+
"for": "scroll-start-target-y"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"msg": "Dangling value",
|
|
377
|
+
"name": "auto",
|
|
378
|
+
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
|
|
379
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
380
|
+
"type": "value",
|
|
381
|
+
"value": "auto",
|
|
382
|
+
"for": "scroll-start-target-block"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"msg": "Dangling value",
|
|
386
|
+
"name": "auto",
|
|
387
|
+
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
|
|
388
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
389
|
+
"type": "value",
|
|
390
|
+
"value": "auto",
|
|
391
|
+
"for": "scroll-start-target-inline"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"msg": "Dangling value",
|
|
395
|
+
"name": "auto",
|
|
396
|
+
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
|
|
397
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
398
|
+
"type": "value",
|
|
399
|
+
"value": "auto",
|
|
400
|
+
"for": "scroll-start-target-x"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"msg": "Dangling value",
|
|
404
|
+
"name": "auto",
|
|
405
|
+
"prose": "The element is potentially an initial scroll target for its nearest scroll container ancestor.",
|
|
406
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-2/#valdef-scroll-start-target-auto",
|
|
407
|
+
"type": "value",
|
|
408
|
+
"value": "auto",
|
|
409
|
+
"for": "scroll-start-target-y"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
470
412
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "<custom-ident>",
|
|
28
|
-
"prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. The values none and auto are excluded from <custom-ident> here.",
|
|
28
|
+
"prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. Each view transition name is a tree-scoped name. The values none and auto are excluded from <custom-ident> here.",
|
|
29
29
|
"href": "https://drafts.csswg.org/css-view-transitions-1/#valdef-view-transition-name-custom-ident",
|
|
30
30
|
"type": "value",
|
|
31
31
|
"value": "<custom-ident>"
|