@webref/css 6.12.14 → 6.13.0
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 +16 -16
- package/css-conditional-5.json +202 -1
- package/css-contain.json +9 -2
- package/css-display.json +11 -11
- package/css-nesting.json +1 -9
- package/css-overflow-4.json +2 -2
- package/css-overflow-5.json +102 -0
- package/css-scroll-snap-2.json +83 -141
- package/css-values.json +48 -0
- package/mediaqueries-5.json +0 -6
- package/mediaqueries.json +0 -6
- package/package.json +1 -1
- package/css-contain-3.json +0 -245
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> }"
|
package/css-conditional-5.json
CHANGED
|
@@ -3,7 +3,94 @@
|
|
|
3
3
|
"title": "CSS Conditional Rules Module Level 5",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-conditional-5/"
|
|
5
5
|
},
|
|
6
|
-
"properties": [
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "container-type",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-type",
|
|
10
|
+
"value": "normal | size | inline-size",
|
|
11
|
+
"initial": "normal",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "specified keyword",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "not animatable",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "size",
|
|
21
|
+
"prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-size",
|
|
23
|
+
"type": "value",
|
|
24
|
+
"value": "size"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "inline-size",
|
|
28
|
+
"prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-inline-size",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "inline-size"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "normal",
|
|
35
|
+
"prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-normal",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "normal"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styleDeclaration": [
|
|
42
|
+
"container-type",
|
|
43
|
+
"containerType"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "container-name",
|
|
48
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-name",
|
|
49
|
+
"value": "none | <custom-ident>+",
|
|
50
|
+
"initial": "none",
|
|
51
|
+
"appliesTo": "all elements",
|
|
52
|
+
"inherited": "no",
|
|
53
|
+
"percentages": "n/a",
|
|
54
|
+
"computedValue": "the keyword none, or an ordered list of identifiers",
|
|
55
|
+
"canonicalOrder": "per grammar",
|
|
56
|
+
"animationType": "not animatable",
|
|
57
|
+
"values": [
|
|
58
|
+
{
|
|
59
|
+
"name": "none",
|
|
60
|
+
"prose": "The query container has no query container name.",
|
|
61
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-none",
|
|
62
|
+
"type": "value",
|
|
63
|
+
"value": "none"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "<custom-ident>",
|
|
67
|
+
"prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-custom-ident",
|
|
69
|
+
"type": "value",
|
|
70
|
+
"value": "<custom-ident>"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"styleDeclaration": [
|
|
74
|
+
"container-name",
|
|
75
|
+
"containerName"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "container",
|
|
80
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#propdef-container",
|
|
81
|
+
"value": "<'container-name'> [ / <'container-type'> ]?",
|
|
82
|
+
"initial": "see individual properties",
|
|
83
|
+
"appliesTo": "see individual properties",
|
|
84
|
+
"inherited": "see individual properties",
|
|
85
|
+
"percentages": "see individual properties",
|
|
86
|
+
"computedValue": "see individual properties",
|
|
87
|
+
"animationType": "see individual properties",
|
|
88
|
+
"canonicalOrder": "per grammar",
|
|
89
|
+
"styleDeclaration": [
|
|
90
|
+
"container"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
],
|
|
7
94
|
"atrules": [
|
|
8
95
|
{
|
|
9
96
|
"name": "@when",
|
|
@@ -18,6 +105,72 @@
|
|
|
18
105
|
"href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-else",
|
|
19
106
|
"descriptors": [],
|
|
20
107
|
"value": "@else <boolean-condition>? { <rule-list> }"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "@container",
|
|
111
|
+
"prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
|
|
112
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-container",
|
|
113
|
+
"descriptors": [
|
|
114
|
+
{
|
|
115
|
+
"name": "width",
|
|
116
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-width",
|
|
117
|
+
"for": "@container",
|
|
118
|
+
"value": "<length>",
|
|
119
|
+
"type": "range"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "height",
|
|
123
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-height",
|
|
124
|
+
"for": "@container",
|
|
125
|
+
"value": "<length>",
|
|
126
|
+
"type": "range"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "inline-size",
|
|
130
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-inline-size",
|
|
131
|
+
"for": "@container",
|
|
132
|
+
"value": "<length>",
|
|
133
|
+
"type": "range"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "block-size",
|
|
137
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-block-size",
|
|
138
|
+
"for": "@container",
|
|
139
|
+
"value": "<length>",
|
|
140
|
+
"type": "range"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "aspect-ratio",
|
|
144
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-aspect-ratio",
|
|
145
|
+
"for": "@container",
|
|
146
|
+
"value": "<ratio>",
|
|
147
|
+
"type": "range"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "orientation",
|
|
151
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-orientation",
|
|
152
|
+
"for": "@container",
|
|
153
|
+
"value": "portrait | landscape",
|
|
154
|
+
"type": "discrete",
|
|
155
|
+
"values": [
|
|
156
|
+
{
|
|
157
|
+
"name": "portrait",
|
|
158
|
+
"prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
|
|
159
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-portrait",
|
|
160
|
+
"type": "value",
|
|
161
|
+
"value": "portrait"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "landscape",
|
|
165
|
+
"prose": "Otherwise orientation is landscape.",
|
|
166
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-landscape",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "landscape"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"value": "@container <container-condition># { <block-contents> }"
|
|
21
174
|
}
|
|
22
175
|
],
|
|
23
176
|
"selectors": [],
|
|
@@ -51,6 +204,54 @@
|
|
|
51
204
|
"href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports",
|
|
52
205
|
"type": "function",
|
|
53
206
|
"value": "supports( <declaration> )"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "<container-condition>",
|
|
210
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-condition",
|
|
211
|
+
"type": "type",
|
|
212
|
+
"value": "[ <container-name> ]? <container-query>"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "<container-name>",
|
|
216
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-name",
|
|
217
|
+
"type": "type",
|
|
218
|
+
"value": "<custom-ident>"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "<container-query>",
|
|
222
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-query",
|
|
223
|
+
"type": "type",
|
|
224
|
+
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "<query-in-parens>",
|
|
228
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-query-in-parens",
|
|
229
|
+
"type": "type",
|
|
230
|
+
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "<style-query>",
|
|
234
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-query",
|
|
235
|
+
"type": "type",
|
|
236
|
+
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "<style-in-parens>",
|
|
240
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-in-parens",
|
|
241
|
+
"type": "type",
|
|
242
|
+
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "<size-feature>",
|
|
246
|
+
"prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [css-conditional-3])",
|
|
247
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-size-feature",
|
|
248
|
+
"type": "type"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "<style-feature>",
|
|
252
|
+
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
|
|
253
|
+
"href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-feature",
|
|
254
|
+
"type": "type"
|
|
54
255
|
}
|
|
55
256
|
]
|
|
56
257
|
}
|
package/css-contain.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "contain",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-contain-2/#propdef-contain",
|
|
10
|
-
"value": "none | strict | content | [ size || layout || style || paint ]",
|
|
10
|
+
"value": "none | strict | content | [ [size | inline-size] || layout || style || paint ]",
|
|
11
11
|
"initial": "none",
|
|
12
12
|
"appliesTo": "See below",
|
|
13
13
|
"inherited": "no",
|
|
@@ -44,6 +44,13 @@
|
|
|
44
44
|
"type": "value",
|
|
45
45
|
"value": "size"
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"name": "inline-size",
|
|
49
|
+
"prose": "This value turns on inline-size containment for the element. This prevents the inline-size of its principal box from directly depending on its contents.",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-contain-2/#valdef-contain-inline-size",
|
|
51
|
+
"type": "value",
|
|
52
|
+
"value": "inline-size"
|
|
53
|
+
},
|
|
47
54
|
{
|
|
48
55
|
"name": "layout",
|
|
49
56
|
"prose": "This value turns on layout containment for the element. This ensures that the containment box is totally opaque for layout purposes; nothing outside can affect its internal layout, and vice versa.",
|
|
@@ -80,7 +87,7 @@
|
|
|
80
87
|
"percentages": "n/a",
|
|
81
88
|
"computedValue": "as specified",
|
|
82
89
|
"canonicalOrder": "per grammar",
|
|
83
|
-
"animationType": "
|
|
90
|
+
"animationType": "see § 4.1 Animating and Interpolating content-visibility",
|
|
84
91
|
"values": [
|
|
85
92
|
{
|
|
86
93
|
"name": "visible",
|
package/css-display.json
CHANGED
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"name": "reading-
|
|
57
|
-
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-
|
|
56
|
+
"name": "reading-flow",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-flow",
|
|
58
58
|
"value": "normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
|
|
59
59
|
"initial": "normal",
|
|
60
60
|
"appliesTo": "flex and grid containers",
|
|
@@ -67,49 +67,49 @@
|
|
|
67
67
|
{
|
|
68
68
|
"name": "normal",
|
|
69
69
|
"prose": "Follow the order of elements in the DOM.",
|
|
70
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
70
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-normal",
|
|
71
71
|
"type": "value",
|
|
72
72
|
"value": "normal"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "flex-visual",
|
|
76
|
-
"prose": "Only takes effect on flex containers. Follows the visual reading order of flex items, taking the writing mode into account. Therefore, a document in English, with a flex-direction of row-reverse and reading-
|
|
77
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
76
|
+
"prose": "Only takes effect on flex containers. Follows the visual reading order of flex items, taking the writing mode into account. Therefore, a document in English, with a flex-direction of row-reverse and reading-flow of 'flex visual' would have a reading order of left to right.",
|
|
77
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-visual",
|
|
78
78
|
"type": "value",
|
|
79
79
|
"value": "flex-visual"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"name": "flex-flow",
|
|
83
83
|
"prose": "Only takes effect on flex containers. Follows the flex-flow direction.",
|
|
84
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
84
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-flow",
|
|
85
85
|
"type": "value",
|
|
86
86
|
"value": "flex-flow"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "grid-rows",
|
|
90
90
|
"prose": "Only takes effect on grid containers. Follows the visual order of grid items by row, taking the writing mode into account.",
|
|
91
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
91
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-rows",
|
|
92
92
|
"type": "value",
|
|
93
93
|
"value": "grid-rows"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"name": "grid-columns",
|
|
97
97
|
"prose": "Only takes effect on grid containers. Follows the visual order of grid items by column, taking the writing mode into account.",
|
|
98
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
98
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-columns",
|
|
99
99
|
"type": "value",
|
|
100
100
|
"value": "grid-columns"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"name": "grid-order",
|
|
104
104
|
"prose": "Follows the order-modified document order. Therefore, as normal unless the order property has been used to change the order of items.",
|
|
105
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-
|
|
105
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-order",
|
|
106
106
|
"type": "value",
|
|
107
107
|
"value": "grid-order"
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
110
|
"styleDeclaration": [
|
|
111
|
-
"reading-
|
|
112
|
-
"
|
|
111
|
+
"reading-flow",
|
|
112
|
+
"readingFlow"
|
|
113
113
|
]
|
|
114
114
|
},
|
|
115
115
|
{
|
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": "&",
|
package/css-overflow-4.json
CHANGED
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"values": [
|
|
358
358
|
{
|
|
359
359
|
"name": "-webkit-discard",
|
|
360
|
-
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the
|
|
360
|
+
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the value of the display property is -webkit-box or -webkit-inline-box and the value of the -webkit-box-orient property is vertical.",
|
|
361
361
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-discard",
|
|
362
362
|
"type": "value",
|
|
363
363
|
"value": "-webkit-discard"
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
"name": "discard",
|
|
374
|
-
"prose": "The box becomes a fragmentation container that captures region breaks, if it is not already. [CSS-BREAK-3] Content after the first region break is not rendered (see below). (If the box is a multi-column container, any overflow columns are also not rendered.)",
|
|
374
|
+
"prose": "The box must establish an independent formatting context and becomes a fragmentation container that captures region breaks, if it is not already. [CSS-BREAK-3] Content after the first region break is not rendered (see below). (If the box is a multi-column container, any overflow columns are also not rendered.)",
|
|
375
375
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-discard",
|
|
376
376
|
"type": "value",
|
|
377
377
|
"value": "discard"
|
|
@@ -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
|
}
|
package/css-values.json
CHANGED
|
@@ -780,6 +780,54 @@
|
|
|
780
780
|
"type": "type",
|
|
781
781
|
"value": "e | pi | infinity | -infinity | NaN"
|
|
782
782
|
},
|
|
783
|
+
{
|
|
784
|
+
"name": "<boolean>",
|
|
785
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
|
|
786
|
+
"type": "type",
|
|
787
|
+
"value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "<boolean-without-or>",
|
|
791
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
|
|
792
|
+
"type": "type",
|
|
793
|
+
"value": "<bool-not> | <bool-in-parens> <bool-and>*"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "<bool-not>",
|
|
797
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
|
|
798
|
+
"type": "type",
|
|
799
|
+
"value": "not <bool-in-parens>"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "<bool-and>",
|
|
803
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
|
|
804
|
+
"type": "type",
|
|
805
|
+
"value": "and <bool-in-parens>"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "<bool-or>",
|
|
809
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
|
|
810
|
+
"type": "type",
|
|
811
|
+
"value": "or <bool-in-parens>"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"name": "<bool-in-parens>",
|
|
815
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
|
|
816
|
+
"type": "type",
|
|
817
|
+
"value": "( <boolean> ) | <bool-test> | <general-enclosed>"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"name": "<general-enclosed>",
|
|
821
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
|
|
822
|
+
"type": "type",
|
|
823
|
+
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "<bool-test>",
|
|
827
|
+
"prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
|
|
828
|
+
"href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
|
|
829
|
+
"type": "type"
|
|
830
|
+
},
|
|
783
831
|
{
|
|
784
832
|
"name": "<quirky-length>",
|
|
785
833
|
"prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
|
package/mediaqueries-5.json
CHANGED
|
@@ -899,12 +899,6 @@
|
|
|
899
899
|
"type": "type",
|
|
900
900
|
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
901
901
|
},
|
|
902
|
-
{
|
|
903
|
-
"name": "<general-enclosed>",
|
|
904
|
-
"href": "https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed",
|
|
905
|
-
"type": "type",
|
|
906
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
907
|
-
},
|
|
908
902
|
{
|
|
909
903
|
"name": "<mq-boolean>",
|
|
910
904
|
"prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value.",
|
package/mediaqueries.json
CHANGED
|
@@ -524,12 +524,6 @@
|
|
|
524
524
|
"type": "type",
|
|
525
525
|
"value": "<mf-lt> | <mf-gt> | <mf-eq>"
|
|
526
526
|
},
|
|
527
|
-
{
|
|
528
|
-
"name": "<general-enclosed>",
|
|
529
|
-
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-general-enclosed",
|
|
530
|
-
"type": "type",
|
|
531
|
-
"value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
|
|
532
|
-
},
|
|
533
527
|
{
|
|
534
528
|
"name": "<mq-boolean>",
|
|
535
529
|
"href": "https://drafts.csswg.org/mediaqueries-4/#typedef-mq-boolean",
|
package/package.json
CHANGED
package/css-contain-3.json
DELETED
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Containment Module Level 3",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-contain-3/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "contain",
|
|
9
|
-
"value": "none | strict | content | [ [size | inline-size] || layout || style || paint ]",
|
|
10
|
-
"values": [
|
|
11
|
-
{
|
|
12
|
-
"name": "inline-size",
|
|
13
|
-
"prose": "This value turns on inline-size containment for the element. This prevents the inline-size of its principal box from directly depending on its contents.",
|
|
14
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-contain-inline-size",
|
|
15
|
-
"type": "value",
|
|
16
|
-
"value": "inline-size"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"styleDeclaration": [
|
|
20
|
-
"contain"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "container-type",
|
|
25
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container-type",
|
|
26
|
-
"value": "normal | size | inline-size",
|
|
27
|
-
"initial": "normal",
|
|
28
|
-
"appliesTo": "all elements",
|
|
29
|
-
"inherited": "no",
|
|
30
|
-
"percentages": "n/a",
|
|
31
|
-
"computedValue": "specified keyword",
|
|
32
|
-
"canonicalOrder": "per grammar",
|
|
33
|
-
"animationType": "not animatable",
|
|
34
|
-
"values": [
|
|
35
|
-
{
|
|
36
|
-
"name": "size",
|
|
37
|
-
"prose": "Establishes a query container for container size queries on both the inline and block axis. Applies layout containment, style containment, and size containment to the principal box.",
|
|
38
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-size",
|
|
39
|
-
"type": "value",
|
|
40
|
-
"value": "size"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "inline-size",
|
|
44
|
-
"prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies layout containment, style containment, and inline-size containment to the principal box.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-inline-size",
|
|
46
|
-
"type": "value",
|
|
47
|
-
"value": "inline-size"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "normal",
|
|
51
|
-
"prose": "The element is not a query container for any container size queries, but remains a query container for container style queries.",
|
|
52
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-type-normal",
|
|
53
|
-
"type": "value",
|
|
54
|
-
"value": "normal"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"styleDeclaration": [
|
|
58
|
-
"container-type",
|
|
59
|
-
"containerType"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "container-name",
|
|
64
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container-name",
|
|
65
|
-
"value": "none | <custom-ident>+",
|
|
66
|
-
"initial": "none",
|
|
67
|
-
"appliesTo": "all elements",
|
|
68
|
-
"inherited": "no",
|
|
69
|
-
"percentages": "n/a",
|
|
70
|
-
"computedValue": "the keyword none, or an ordered list of identifiers",
|
|
71
|
-
"canonicalOrder": "per grammar",
|
|
72
|
-
"animationType": "not animatable",
|
|
73
|
-
"values": [
|
|
74
|
-
{
|
|
75
|
-
"name": "none",
|
|
76
|
-
"prose": "The query container has no query container name.",
|
|
77
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-none",
|
|
78
|
-
"type": "value",
|
|
79
|
-
"value": "none"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "<custom-ident>",
|
|
83
|
-
"prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
|
|
84
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-name-custom-ident",
|
|
85
|
-
"type": "value",
|
|
86
|
-
"value": "<custom-ident>"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"styleDeclaration": [
|
|
90
|
-
"container-name",
|
|
91
|
-
"containerName"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "container",
|
|
96
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-container",
|
|
97
|
-
"value": "<'container-name'> [ / <'container-type'> ]?",
|
|
98
|
-
"initial": "see individual properties",
|
|
99
|
-
"appliesTo": "see individual properties",
|
|
100
|
-
"inherited": "see individual properties",
|
|
101
|
-
"percentages": "see individual properties",
|
|
102
|
-
"computedValue": "see individual properties",
|
|
103
|
-
"animationType": "see individual properties",
|
|
104
|
-
"canonicalOrder": "per grammar",
|
|
105
|
-
"styleDeclaration": [
|
|
106
|
-
"container"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "content-visibility",
|
|
111
|
-
"href": "https://drafts.csswg.org/css-contain-3/#propdef-content-visibility",
|
|
112
|
-
"value": "visible | auto | hidden",
|
|
113
|
-
"initial": "visible",
|
|
114
|
-
"appliesTo": "elements for which size containment can apply",
|
|
115
|
-
"inherited": "no",
|
|
116
|
-
"percentages": "n/a",
|
|
117
|
-
"computedValue": "as specified",
|
|
118
|
-
"canonicalOrder": "per grammar",
|
|
119
|
-
"animationType": "see § 8.1 Animating and Interpolating content-visibility",
|
|
120
|
-
"styleDeclaration": [
|
|
121
|
-
"content-visibility",
|
|
122
|
-
"contentVisibility"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"atrules": [
|
|
127
|
-
{
|
|
128
|
-
"name": "@container",
|
|
129
|
-
"prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
|
|
130
|
-
"href": "https://drafts.csswg.org/css-contain-3/#at-ruledef-container",
|
|
131
|
-
"descriptors": [
|
|
132
|
-
{
|
|
133
|
-
"name": "width",
|
|
134
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-width",
|
|
135
|
-
"for": "@container",
|
|
136
|
-
"value": "<length>",
|
|
137
|
-
"type": "range"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "height",
|
|
141
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-height",
|
|
142
|
-
"for": "@container",
|
|
143
|
-
"value": "<length>",
|
|
144
|
-
"type": "range"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "inline-size",
|
|
148
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-inline-size",
|
|
149
|
-
"for": "@container",
|
|
150
|
-
"value": "<length>",
|
|
151
|
-
"type": "range"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "block-size",
|
|
155
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-block-size",
|
|
156
|
-
"for": "@container",
|
|
157
|
-
"value": "<length>",
|
|
158
|
-
"type": "range"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "aspect-ratio",
|
|
162
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-aspect-ratio",
|
|
163
|
-
"for": "@container",
|
|
164
|
-
"value": "<ratio>",
|
|
165
|
-
"type": "range"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "orientation",
|
|
169
|
-
"href": "https://drafts.csswg.org/css-contain-3/#descdef-container-orientation",
|
|
170
|
-
"for": "@container",
|
|
171
|
-
"value": "portrait | landscape",
|
|
172
|
-
"type": "discrete",
|
|
173
|
-
"values": [
|
|
174
|
-
{
|
|
175
|
-
"name": "portrait",
|
|
176
|
-
"prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-portrait",
|
|
178
|
-
"type": "value",
|
|
179
|
-
"value": "portrait"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "landscape",
|
|
183
|
-
"prose": "Otherwise orientation is landscape.",
|
|
184
|
-
"href": "https://drafts.csswg.org/css-contain-3/#valdef-container-orientation-landscape",
|
|
185
|
-
"type": "value",
|
|
186
|
-
"value": "landscape"
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"value": "@container <container-condition># { <block-contents> }"
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"selectors": [],
|
|
195
|
-
"values": [
|
|
196
|
-
{
|
|
197
|
-
"name": "<container-condition>",
|
|
198
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-condition",
|
|
199
|
-
"type": "type",
|
|
200
|
-
"value": "[ <container-name> ]? <container-query>"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "<container-name>",
|
|
204
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-name",
|
|
205
|
-
"type": "type",
|
|
206
|
-
"value": "<custom-ident>"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "<container-query>",
|
|
210
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-container-query",
|
|
211
|
-
"type": "type",
|
|
212
|
-
"value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "<query-in-parens>",
|
|
216
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-query-in-parens",
|
|
217
|
-
"type": "type",
|
|
218
|
-
"value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "<style-query>",
|
|
222
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-query",
|
|
223
|
-
"type": "type",
|
|
224
|
-
"value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "<style-in-parens>",
|
|
228
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-in-parens",
|
|
229
|
-
"type": "type",
|
|
230
|
-
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "<size-feature>",
|
|
234
|
-
"prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-size-feature",
|
|
236
|
-
"type": "type"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "<style-feature>",
|
|
240
|
-
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
|
|
241
|
-
"href": "https://drafts.csswg.org/css-contain-3/#typedef-style-feature",
|
|
242
|
-
"type": "type"
|
|
243
|
-
}
|
|
244
|
-
]
|
|
245
|
-
}
|