@webref/css 6.3.2 → 6.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css-anchor.json +60 -10
- package/css-animations.json +23 -0
- package/css-color-5.json +30 -0
- package/css-color.json +1 -1
- package/css-images-4.json +3 -3
- package/css-overflow-4.json +99 -19
- package/css-overflow.json +0 -137
- package/css-text-4.json +1 -1
- package/css-ui.json +1 -1
- package/css-values.json +6 -9
- package/motion.json +78 -58
- package/package.json +1 -1
- package/scroll-animations.json +21 -36
package/css-anchor.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "anchor-scroll",
|
|
9
|
-
"value": "none | <
|
|
9
|
+
"value": "none | default | <anchor-element>",
|
|
10
10
|
"initial": "none",
|
|
11
11
|
"appliesTo": "absolutely-positioned elements",
|
|
12
12
|
"inherited": "no",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"value": "none"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"name": "
|
|
26
|
-
"prose": "
|
|
25
|
+
"name": "default",
|
|
26
|
+
"prose": "Behaves as the value of anchor-default on the element.",
|
|
27
27
|
"type": "value",
|
|
28
|
-
"value": "
|
|
28
|
+
"value": "default"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
"name": "
|
|
32
|
-
"prose": "
|
|
31
|
+
"name": "<anchor-element>",
|
|
32
|
+
"prose": "Selects a target anchor element the same as anchor(), which will be compensated for in positioning and fallback.",
|
|
33
33
|
"type": "value",
|
|
34
|
-
"value": "
|
|
34
|
+
"value": "<anchor-element>"
|
|
35
35
|
}
|
|
36
36
|
],
|
|
37
37
|
"styleDeclaration": [
|
|
@@ -68,6 +68,21 @@
|
|
|
68
68
|
"anchorName"
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"name": "anchor-default",
|
|
73
|
+
"value": "<anchor-element>",
|
|
74
|
+
"initial": "implicit",
|
|
75
|
+
"appliesTo": "absolutely positioned elements",
|
|
76
|
+
"inherited": "no",
|
|
77
|
+
"percentages": "n/a",
|
|
78
|
+
"computedValue": "as specified",
|
|
79
|
+
"canonicalOrder": "per grammar",
|
|
80
|
+
"animationType": "discrete",
|
|
81
|
+
"styleDeclaration": [
|
|
82
|
+
"anchor-default",
|
|
83
|
+
"anchorDefault"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
71
86
|
{
|
|
72
87
|
"name": "position-fallback",
|
|
73
88
|
"value": "none | <dashed-ident>",
|
|
@@ -117,8 +132,38 @@
|
|
|
117
132
|
"name": "anchor()",
|
|
118
133
|
"prose": "An absolutely-positioned element can use the anchor() function as a value in its inset properties to refer to the position of one or more anchor elements. The anchor() function resolves to a <length>.",
|
|
119
134
|
"type": "function",
|
|
120
|
-
"value": "anchor( <
|
|
135
|
+
"value": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
|
|
121
136
|
"values": [
|
|
137
|
+
{
|
|
138
|
+
"name": "<dashed-ident>",
|
|
139
|
+
"prose": "Specifies the anchor name it will look for. This name is a tree-scoped reference.",
|
|
140
|
+
"type": "value",
|
|
141
|
+
"value": "<dashed-ident>"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "implicit",
|
|
145
|
+
"prose": "Selects one of the implicit anchor elements defined for the element, if possible.",
|
|
146
|
+
"type": "value",
|
|
147
|
+
"value": "implicit"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "popover",
|
|
151
|
+
"prose": "If the element has an implicit anchor element defined by the Popover API, uses that if possible.",
|
|
152
|
+
"type": "value",
|
|
153
|
+
"value": "popover"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "auto",
|
|
157
|
+
"prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
|
|
158
|
+
"type": "value",
|
|
159
|
+
"value": "auto"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "auto-same",
|
|
163
|
+
"prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
|
|
164
|
+
"type": "value",
|
|
165
|
+
"value": "auto-same"
|
|
166
|
+
},
|
|
122
167
|
{
|
|
123
168
|
"name": "left",
|
|
124
169
|
"prose": "The physical <anchor-side> keywords (left, right, top, and bottom) are only useful in inset properties corresponding to their corresponding axis: for example, using top and bottom in left or right (or in inset-inline-start if the inline axis is horizontal, etc) results in an invalid anchor query.",
|
|
@@ -175,16 +220,21 @@
|
|
|
175
220
|
}
|
|
176
221
|
]
|
|
177
222
|
},
|
|
223
|
+
{
|
|
224
|
+
"name": "<anchor-element>",
|
|
225
|
+
"type": "type",
|
|
226
|
+
"value": "<dashed-ident> | implicit | popover"
|
|
227
|
+
},
|
|
178
228
|
{
|
|
179
229
|
"name": "<anchor-side>",
|
|
180
230
|
"type": "type",
|
|
181
|
-
"value": "top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
|
|
231
|
+
"value": "auto | auto-same | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
|
|
182
232
|
},
|
|
183
233
|
{
|
|
184
234
|
"name": "anchor-size()",
|
|
185
235
|
"prose": "An absolutely-positioned element can use the anchor-size() function in its sizing properties to refer to the size of one or more anchor elements. The anchor-size() function resolves to a <length>.",
|
|
186
236
|
"type": "function",
|
|
187
|
-
"value": "anchor( <
|
|
237
|
+
"value": "anchor( <anchor-element>? <anchor-size>, <length-percentage>? )",
|
|
188
238
|
"values": [
|
|
189
239
|
{
|
|
190
240
|
"name": "width",
|
package/css-animations.json
CHANGED
|
@@ -170,6 +170,29 @@
|
|
|
170
170
|
"animationPlayState"
|
|
171
171
|
]
|
|
172
172
|
},
|
|
173
|
+
{
|
|
174
|
+
"name": "animation-delay",
|
|
175
|
+
"value": "<time>#",
|
|
176
|
+
"initial": "0s",
|
|
177
|
+
"appliesTo": "all elements",
|
|
178
|
+
"inherited": "no",
|
|
179
|
+
"percentages": "N/A",
|
|
180
|
+
"computedValue": "list, each item a duration",
|
|
181
|
+
"canonicalOrder": "per grammar",
|
|
182
|
+
"animationType": "not animatable",
|
|
183
|
+
"values": [
|
|
184
|
+
{
|
|
185
|
+
"name": "<time>",
|
|
186
|
+
"prose": "The <time> defines how long of a delay there is between the start of the animation (when the animation is applied to the element via these properties) and when it begins executing. A delay of 0s (the initial value) means that the animation will execute as soon as it is applied. A negative delay is valid. Similar to a delay of 0s, it means that the animation executes immediately, but is automatically progressed by the absolute value of the delay, as if the animation had started the specified time in the past, and so it appears to start partway through its active duration. If an animation’s keyframes have an implied starting value, the values are taken from the time the animation starts, not some time in the past.",
|
|
187
|
+
"type": "value",
|
|
188
|
+
"value": "<time>"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"styleDeclaration": [
|
|
192
|
+
"animation-delay",
|
|
193
|
+
"animationDelay"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
173
196
|
{
|
|
174
197
|
"name": "animation-fill-mode",
|
|
175
198
|
"value": "<single-animation-fill-mode>#",
|
package/css-color-5.json
CHANGED
|
@@ -368,6 +368,36 @@
|
|
|
368
368
|
"name": "<cmyk-component>",
|
|
369
369
|
"type": "type",
|
|
370
370
|
"value": "<number> | <percentage>"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "<color-space>",
|
|
374
|
+
"type": "type",
|
|
375
|
+
"value": "<rectangular-color-space> | <polar-color-space> | <custom-color-space>"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "<rectangular-color-space>",
|
|
379
|
+
"type": "type",
|
|
380
|
+
"value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "<polar-color-space>",
|
|
384
|
+
"type": "type",
|
|
385
|
+
"value": "hsl | hwb | lch | oklch"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "<custom-color-space>",
|
|
389
|
+
"type": "type",
|
|
390
|
+
"value": "<dashed-ident>"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "<hue-interpolation-method>",
|
|
394
|
+
"type": "type",
|
|
395
|
+
"value": "[ shorter | longer | increasing | decreasing ] hue"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "<color-interpolation-method>",
|
|
399
|
+
"type": "type",
|
|
400
|
+
"value": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? | <custom-color-space> ]"
|
|
371
401
|
}
|
|
372
402
|
]
|
|
373
403
|
}
|
package/css-color.json
CHANGED
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
{
|
|
1141
1141
|
"name": "<rectangular-color-space>",
|
|
1142
1142
|
"type": "type",
|
|
1143
|
-
"value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
1143
|
+
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
|
|
1144
1144
|
},
|
|
1145
1145
|
{
|
|
1146
1146
|
"name": "<polar-color-space>",
|
package/css-images-4.json
CHANGED
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
{
|
|
152
152
|
"name": "linear-gradient()",
|
|
153
153
|
"type": "function",
|
|
154
|
-
"value": "linear-gradient( [ <angle> | to <side-or-corner> ]
|
|
154
|
+
"value": "linear-gradient( [ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list> )"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"name": "<side-or-corner>",
|
|
@@ -161,12 +161,12 @@
|
|
|
161
161
|
{
|
|
162
162
|
"name": "radial-gradient()",
|
|
163
163
|
"type": "function",
|
|
164
|
-
"value": "radial-gradient( [[ <ending-shape> || <size> ]? [ at <position> ]? ] || <color-interpolation-method
|
|
164
|
+
"value": "radial-gradient( [ [ [ <rg-ending-shape> || <rg-size> ]? [ at <position> ]? ] || <color-interpolation-method>]? , <color-stop-list> )"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"name": "conic-gradient()",
|
|
168
168
|
"type": "function",
|
|
169
|
-
"value": "conic-gradient( [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method
|
|
169
|
+
"value": "conic-gradient( [ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list> )",
|
|
170
170
|
"values": [
|
|
171
171
|
{
|
|
172
172
|
"name": "<angle>",
|
package/css-overflow-4.json
CHANGED
|
@@ -223,35 +223,121 @@
|
|
|
223
223
|
"textOverflow"
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
|
+
{
|
|
227
|
+
"name": "block-ellipsis",
|
|
228
|
+
"value": "none | auto | <string>",
|
|
229
|
+
"initial": "none",
|
|
230
|
+
"appliesTo": "block containers",
|
|
231
|
+
"inherited": "yes",
|
|
232
|
+
"percentages": "N/A",
|
|
233
|
+
"computedValue": "specified value",
|
|
234
|
+
"canonicalOrder": "per grammar",
|
|
235
|
+
"animationType": "discrete",
|
|
236
|
+
"values": [
|
|
237
|
+
{
|
|
238
|
+
"name": "none",
|
|
239
|
+
"prose": "The rendering is unaffected.",
|
|
240
|
+
"type": "value",
|
|
241
|
+
"value": "none"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "auto",
|
|
245
|
+
"prose": "Render an ellipsis character (U+2026)—or a more typographically-appropriate equivalent—as the block overflow ellipsis at the end of the affected line box. UAs should use the conventions of the content language, writing system, and writing mode to determine the most appropriate ellipsis string.",
|
|
246
|
+
"type": "value",
|
|
247
|
+
"value": "auto"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "<string>",
|
|
251
|
+
"prose": "Render the specified string as the block overflow ellipsis at the end of the affected line box. The UA may truncate this string if it is absurdly long.",
|
|
252
|
+
"type": "value",
|
|
253
|
+
"value": "<string>"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"styleDeclaration": [
|
|
257
|
+
"block-ellipsis",
|
|
258
|
+
"blockEllipsis"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "line-clamp",
|
|
263
|
+
"value": "none | <integer> <'block-ellipsis'>?",
|
|
264
|
+
"initial": "none",
|
|
265
|
+
"appliesTo": "see individual properties",
|
|
266
|
+
"inherited": "see individual properties",
|
|
267
|
+
"percentages": "N/A",
|
|
268
|
+
"computedValue": "see individual properties",
|
|
269
|
+
"animationType": "see individual properties",
|
|
270
|
+
"canonicalOrder": "per grammar",
|
|
271
|
+
"values": [
|
|
272
|
+
{
|
|
273
|
+
"name": "none",
|
|
274
|
+
"prose": "Sets max-lines to none, continue to auto, and block-ellipsis to none.",
|
|
275
|
+
"type": "value",
|
|
276
|
+
"value": "none"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "<integer>",
|
|
280
|
+
"prose": "Sets max-lines to the specified <integer>, continue to discard, and the block-ellipsis property to second component of the value or to auto if omitted.",
|
|
281
|
+
"type": "value",
|
|
282
|
+
"value": "<integer>"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"styleDeclaration": [
|
|
286
|
+
"line-clamp",
|
|
287
|
+
"lineClamp"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "-webkit-line-clamp",
|
|
292
|
+
"value": "none | <integer>",
|
|
293
|
+
"initial": "none",
|
|
294
|
+
"appliesTo": "see individual properties",
|
|
295
|
+
"inherited": "see individual properties",
|
|
296
|
+
"percentages": "N/A",
|
|
297
|
+
"computedValue": "see individual properties",
|
|
298
|
+
"animationType": "see individual properties",
|
|
299
|
+
"canonicalOrder": "per grammar",
|
|
300
|
+
"styleDeclaration": [
|
|
301
|
+
"-webkit-line-clamp",
|
|
302
|
+
"WebkitLineClamp",
|
|
303
|
+
"webkitLineClamp"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
226
306
|
{
|
|
227
307
|
"name": "continue",
|
|
228
|
-
"value": "auto | overflow | paginate | fragments
|
|
308
|
+
"value": "auto | discard | -webkit-discard | overflow | paginate | fragments",
|
|
229
309
|
"initial": "auto",
|
|
230
|
-
"appliesTo": "block containers
|
|
310
|
+
"appliesTo": "block containers and multicol containers",
|
|
231
311
|
"inherited": "no",
|
|
232
312
|
"percentages": "N/A",
|
|
233
|
-
"computedValue": "
|
|
313
|
+
"computedValue": "specified keyword",
|
|
234
314
|
"canonicalOrder": "per grammar",
|
|
235
315
|
"animationType": "discrete",
|
|
236
316
|
"values": [
|
|
237
317
|
{
|
|
238
|
-
"name": "
|
|
239
|
-
"prose": "
|
|
318
|
+
"name": "-webkit-discard",
|
|
319
|
+
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the computed value of the display property on the parent is -webkit-box or -webkit-inline-box and the computed value of the -webkit-box-orient property on the parent is vertical.",
|
|
240
320
|
"type": "value",
|
|
241
|
-
"value": "
|
|
321
|
+
"value": "-webkit-discard"
|
|
242
322
|
},
|
|
243
323
|
{
|
|
244
|
-
"name": "
|
|
245
|
-
"prose": "
|
|
324
|
+
"name": "auto",
|
|
325
|
+
"prose": "If the box has more content than can fit, the excess content is handled according to the usual rules.",
|
|
246
326
|
"type": "value",
|
|
247
|
-
"value": "
|
|
327
|
+
"value": "auto"
|
|
248
328
|
},
|
|
249
329
|
{
|
|
250
330
|
"name": "discard",
|
|
251
|
-
"prose": "
|
|
331
|
+
"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.)",
|
|
252
332
|
"type": "value",
|
|
253
333
|
"value": "discard"
|
|
254
334
|
},
|
|
335
|
+
{
|
|
336
|
+
"name": "overflow",
|
|
337
|
+
"prose": "Content that doesn’t fit overflows, according to the overflow property",
|
|
338
|
+
"type": "value",
|
|
339
|
+
"value": "overflow"
|
|
340
|
+
},
|
|
255
341
|
{
|
|
256
342
|
"name": "paginate",
|
|
257
343
|
"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",
|
|
@@ -271,9 +357,9 @@
|
|
|
271
357
|
},
|
|
272
358
|
{
|
|
273
359
|
"name": "max-lines",
|
|
274
|
-
"value": "none | <integer>",
|
|
360
|
+
"value": "none | <integer [1,∞]>",
|
|
275
361
|
"initial": "none",
|
|
276
|
-
"appliesTo": "
|
|
362
|
+
"appliesTo": "block containers which are also fragmentation containers that capture region breaks",
|
|
277
363
|
"inherited": "no",
|
|
278
364
|
"percentages": "N/A",
|
|
279
365
|
"computedValue": "the keyword none or an integer",
|
|
@@ -282,15 +368,9 @@
|
|
|
282
368
|
"values": [
|
|
283
369
|
{
|
|
284
370
|
"name": "none",
|
|
285
|
-
"prose": "
|
|
371
|
+
"prose": "Otherwise, if the value of max-lines is not none, a region break is forced after its Nth descendant in-flow line box, where N is the specified value of max-lines. Only lines boxes in the same Block Formatting Context are counted: the contents of descendants that establish independent formatting contexts are skipped over while counting line boxes.",
|
|
286
372
|
"type": "value",
|
|
287
373
|
"value": "none"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"name": "<integer>",
|
|
291
|
-
"prose": "In addition to any breaks specified elsewhere, a break is forced before any line that would exceed the given number of lines being placed inside the element (excluding lines that are in a different block formatting context from the block formatting context to which an unstyled child of the element would belong). If there are multiple boundaries between this line and the previous, where exactly (in terms of element boundaries) is the break forced? Only positive integers are accepted. Zero or negative integers are a parse error.",
|
|
292
|
-
"type": "value",
|
|
293
|
-
"value": "<integer>"
|
|
294
374
|
}
|
|
295
375
|
],
|
|
296
376
|
"styleDeclaration": [
|
package/css-overflow.json
CHANGED
|
@@ -295,143 +295,6 @@
|
|
|
295
295
|
"text-overflow",
|
|
296
296
|
"textOverflow"
|
|
297
297
|
]
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "block-ellipsis",
|
|
301
|
-
"value": "none | auto | <string>",
|
|
302
|
-
"initial": "none",
|
|
303
|
-
"appliesTo": "block containers",
|
|
304
|
-
"inherited": "yes",
|
|
305
|
-
"percentages": "N/A",
|
|
306
|
-
"computedValue": "specified value",
|
|
307
|
-
"canonicalOrder": "per grammar",
|
|
308
|
-
"animationType": "discrete",
|
|
309
|
-
"values": [
|
|
310
|
-
{
|
|
311
|
-
"name": "none",
|
|
312
|
-
"prose": "The rendering is unaffected.",
|
|
313
|
-
"type": "value",
|
|
314
|
-
"value": "none"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "auto",
|
|
318
|
-
"prose": "Render an ellipsis character (U+2026)—or a more typographically-appropriate equivalent—as the block overflow ellipsis at the end of the affected line box. UAs should use the conventions of the content language, writing system, and writing mode to determine the most appropriate ellipsis string.",
|
|
319
|
-
"type": "value",
|
|
320
|
-
"value": "auto"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "<string>",
|
|
324
|
-
"prose": "Render the specified string as the block overflow ellipsis at the end of the affected line box. The UA may truncate this string if it is absurdly long.",
|
|
325
|
-
"type": "value",
|
|
326
|
-
"value": "<string>"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"styleDeclaration": [
|
|
330
|
-
"block-ellipsis",
|
|
331
|
-
"blockEllipsis"
|
|
332
|
-
]
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"name": "line-clamp",
|
|
336
|
-
"value": "none | <integer> <'block-ellipsis'>?",
|
|
337
|
-
"initial": "none",
|
|
338
|
-
"appliesTo": "see individual properties",
|
|
339
|
-
"inherited": "see individual properties",
|
|
340
|
-
"percentages": "N/A",
|
|
341
|
-
"computedValue": "see individual properties",
|
|
342
|
-
"animationType": "see individual properties",
|
|
343
|
-
"canonicalOrder": "per grammar",
|
|
344
|
-
"values": [
|
|
345
|
-
{
|
|
346
|
-
"name": "none",
|
|
347
|
-
"prose": "Sets max-lines to none, continue to auto, and block-ellipsis to none.",
|
|
348
|
-
"type": "value",
|
|
349
|
-
"value": "none"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"name": "<integer>",
|
|
353
|
-
"prose": "Sets max-lines to the specified <integer>, continue to discard, and the block-ellipsis property to second component of the value or to auto if omitted.",
|
|
354
|
-
"type": "value",
|
|
355
|
-
"value": "<integer>"
|
|
356
|
-
}
|
|
357
|
-
],
|
|
358
|
-
"styleDeclaration": [
|
|
359
|
-
"line-clamp",
|
|
360
|
-
"lineClamp"
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"name": "-webkit-line-clamp",
|
|
365
|
-
"value": "none | <integer>",
|
|
366
|
-
"initial": "none",
|
|
367
|
-
"appliesTo": "see individual properties",
|
|
368
|
-
"inherited": "see individual properties",
|
|
369
|
-
"percentages": "N/A",
|
|
370
|
-
"computedValue": "see individual properties",
|
|
371
|
-
"animationType": "see individual properties",
|
|
372
|
-
"canonicalOrder": "per grammar",
|
|
373
|
-
"styleDeclaration": [
|
|
374
|
-
"-webkit-line-clamp",
|
|
375
|
-
"WebkitLineClamp",
|
|
376
|
-
"webkitLineClamp"
|
|
377
|
-
]
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"name": "continue",
|
|
381
|
-
"value": "auto | discard | -webkit-discard",
|
|
382
|
-
"initial": "auto",
|
|
383
|
-
"appliesTo": "block containers and multicol containers",
|
|
384
|
-
"inherited": "no",
|
|
385
|
-
"percentages": "N/A",
|
|
386
|
-
"computedValue": "specified keyword",
|
|
387
|
-
"canonicalOrder": "per grammar",
|
|
388
|
-
"animationType": "discrete",
|
|
389
|
-
"values": [
|
|
390
|
-
{
|
|
391
|
-
"name": "-webkit-discard",
|
|
392
|
-
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the computed value of the display property on the parent is -webkit-box or -webkit-inline-box and the computed value of the -webkit-box-orient property on the parent is vertical.",
|
|
393
|
-
"type": "value",
|
|
394
|
-
"value": "-webkit-discard"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"name": "auto",
|
|
398
|
-
"prose": "If the box has more content than can fit, the excess content is handled according to the usual rules.",
|
|
399
|
-
"type": "value",
|
|
400
|
-
"value": "auto"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"name": "discard",
|
|
404
|
-
"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.)",
|
|
405
|
-
"type": "value",
|
|
406
|
-
"value": "discard"
|
|
407
|
-
}
|
|
408
|
-
],
|
|
409
|
-
"styleDeclaration": [
|
|
410
|
-
"continue"
|
|
411
|
-
]
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"name": "max-lines",
|
|
415
|
-
"value": "none | <integer [1,∞]>",
|
|
416
|
-
"initial": "none",
|
|
417
|
-
"appliesTo": "block containers which are also fragmentation containers that capture region breaks",
|
|
418
|
-
"inherited": "no",
|
|
419
|
-
"percentages": "N/A",
|
|
420
|
-
"computedValue": "the keyword none or an integer",
|
|
421
|
-
"canonicalOrder": "per grammar",
|
|
422
|
-
"animationType": "by computed value type",
|
|
423
|
-
"values": [
|
|
424
|
-
{
|
|
425
|
-
"name": "none",
|
|
426
|
-
"prose": "Otherwise, if the value of max-lines is not none, a region break is forced after its Nth descendant in-flow line box, where N is the specified value of max-lines. Only lines boxes in the same Block Formatting Context are counted: the contents of descendants that establish independent formatting contexts are skipped over while counting line boxes.",
|
|
427
|
-
"type": "value",
|
|
428
|
-
"value": "none"
|
|
429
|
-
}
|
|
430
|
-
],
|
|
431
|
-
"styleDeclaration": [
|
|
432
|
-
"max-lines",
|
|
433
|
-
"maxLines"
|
|
434
|
-
]
|
|
435
298
|
}
|
|
436
299
|
],
|
|
437
300
|
"atrules": [],
|
package/css-text-4.json
CHANGED
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
},
|
|
423
423
|
{
|
|
424
424
|
"name": "<string>",
|
|
425
|
-
"prose": "Specifies the string that appears at the
|
|
425
|
+
"prose": "Specifies the string that appears at the hyphenation break when hyphenating. (The position of this string is not affected: the UA must insert the string according to the typographic conventions of the content language, defaulting to immediately before the hyphenation break.) The UA may truncate the used value to a limited number of typographic character units; it must not truncate only part of a typographic character unit.",
|
|
426
426
|
"type": "value",
|
|
427
427
|
"value": "<string>"
|
|
428
428
|
}
|
package/css-ui.json
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"name": "resize",
|
|
91
91
|
"value": "none | both | horizontal | vertical | block | inline",
|
|
92
92
|
"initial": "none",
|
|
93
|
-
"appliesTo": "elements
|
|
93
|
+
"appliesTo": "elements that are scroll containers and optionally replaced elements such as images, videos, and iframes",
|
|
94
94
|
"inherited": "no",
|
|
95
95
|
"percentages": "N/A",
|
|
96
96
|
"computedValue": "specified keyword",
|
package/css-values.json
CHANGED
|
@@ -11,22 +11,19 @@
|
|
|
11
11
|
"name": "mix()",
|
|
12
12
|
"prose": "Interpolation of two values can be represented by the mix() functional notation, whose syntax is defined as follows:",
|
|
13
13
|
"type": "function",
|
|
14
|
+
"value": "mix( <percentage> ';' <declaration-value> ';' <declaration-value> )",
|
|
14
15
|
"values": [
|
|
15
16
|
{
|
|
16
17
|
"name": "<percentage>",
|
|
17
|
-
"prose": "Represents the interpolation
|
|
18
|
+
"prose": "Represents the interpolation progress between the two values.",
|
|
18
19
|
"type": "value",
|
|
19
20
|
"value": "<percentage>"
|
|
20
21
|
},
|
|
21
22
|
{
|
|
22
|
-
"name": "<
|
|
23
|
-
"prose": "The value at the “start” (0%) of the interpolation range.",
|
|
24
|
-
"type": "
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
"name": "<end-value>",
|
|
28
|
-
"prose": "The value at the “end” (100%) of the interpolation range.",
|
|
29
|
-
"type": "type"
|
|
23
|
+
"name": "<declaration-value>",
|
|
24
|
+
"prose": "The first <declaration-value> represents the value at the “start” (0%) of the interpolation range, interpreted as a value for the property this function is used in. The second <declaration-value> represents the value at the “end” (100%) of the interpolation range, interpreted the same.",
|
|
25
|
+
"type": "value",
|
|
26
|
+
"value": "<declaration-value>"
|
|
30
27
|
}
|
|
31
28
|
]
|
|
32
29
|
},
|
package/motion.json
CHANGED
|
@@ -16,63 +16,6 @@
|
|
|
16
16
|
"animationType": "by computed value",
|
|
17
17
|
"media": "visual",
|
|
18
18
|
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "ray()",
|
|
21
|
-
"value": "ray( [ <angle> && <size> && contain? ] )",
|
|
22
|
-
"type": "function",
|
|
23
|
-
"values": [
|
|
24
|
-
{
|
|
25
|
-
"name": "<angle>",
|
|
26
|
-
"prose": "The offset path is a line segment that starts from the position of the box and proceeds in the direction defined by the specified <angle>. As with CSS gradients, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation.",
|
|
27
|
-
"type": "value",
|
|
28
|
-
"value": "<angle>"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "<size>",
|
|
32
|
-
"prose": "Decides the path length used when offset-distance is expressed as a percentage, using the distance to the containing box. For <size> values other than sides, the path length is independent of <angle>. It is defined as: <size> = [ closest-side | closest-corner | farthest-side | farthest-corner | sides ]",
|
|
33
|
-
"type": "value",
|
|
34
|
-
"value": "<size>",
|
|
35
|
-
"values": [
|
|
36
|
-
{
|
|
37
|
-
"name": "closest-side",
|
|
38
|
-
"prose": "The perpendicular distance is measured between the initial position and the closest side of the box from it.",
|
|
39
|
-
"type": "value",
|
|
40
|
-
"value": "closest-side"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "closest-corner",
|
|
44
|
-
"prose": "The distance is measured between the initial position and the closest corner of the box from it.",
|
|
45
|
-
"type": "value",
|
|
46
|
-
"value": "closest-corner"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "farthest-side",
|
|
50
|
-
"prose": "The perpendicular distance is measured between the initial position and the farthest side of the box from it.",
|
|
51
|
-
"type": "value",
|
|
52
|
-
"value": "farthest-side"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "farthest-corner",
|
|
56
|
-
"prose": "The distance is measured between the initial position and the farthest corner of the box from it.",
|
|
57
|
-
"type": "value",
|
|
58
|
-
"value": "farthest-corner"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "sides",
|
|
62
|
-
"prose": "The distance is measured between the initial position and the intersection of the ray with the box. If the initial position is not within the box, the distance is 0.",
|
|
63
|
-
"type": "value",
|
|
64
|
-
"value": "sides"
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "contain",
|
|
70
|
-
"prose": "The used value of offset-distance is clamped so that the box is entirely contained within the path. If no offset-distance would lead to the box being enclosed by the path, the path size is minimally increased so that such an offset-distance exists.",
|
|
71
|
-
"type": "value",
|
|
72
|
-
"value": "contain"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
19
|
{
|
|
77
20
|
"name": "none",
|
|
78
21
|
"prose": "No offset path gets created. When offset-path is none, offset-distance and offset-rotate have no effect.",
|
|
@@ -112,6 +55,20 @@
|
|
|
112
55
|
"canonicalOrder": "per grammar",
|
|
113
56
|
"animationType": "by computed value",
|
|
114
57
|
"media": "visual",
|
|
58
|
+
"values": [
|
|
59
|
+
{
|
|
60
|
+
"name": "auto",
|
|
61
|
+
"prose": "Indicates the initial position is the position of the box specified with position property.",
|
|
62
|
+
"type": "value",
|
|
63
|
+
"value": "auto"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "<position>",
|
|
67
|
+
"prose": "Specifies the initial position, with the the containing block as the positioning area and a dimensionless point (zero-sized box) as the object area.",
|
|
68
|
+
"type": "value",
|
|
69
|
+
"value": "<position>"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
115
72
|
"styleDeclaration": [
|
|
116
73
|
"offset-position",
|
|
117
74
|
"offsetPosition"
|
|
@@ -180,7 +137,70 @@
|
|
|
180
137
|
],
|
|
181
138
|
"atrules": [],
|
|
182
139
|
"selectors": [],
|
|
183
|
-
"values": [
|
|
140
|
+
"values": [
|
|
141
|
+
{
|
|
142
|
+
"name": "ray()",
|
|
143
|
+
"type": "function",
|
|
144
|
+
"value": "ray( <angle> && <ray-size> && contain? )",
|
|
145
|
+
"values": [
|
|
146
|
+
{
|
|
147
|
+
"name": "<angle>",
|
|
148
|
+
"prose": "The offset path is a line segment that starts from the initial position and proceeds in the direction defined by the specified <angle>. As with gradient functions, <angle> values are interpreted as bearing angles, with 0deg pointing up and positive angles representing clockwise rotation. This is also the initial direction.",
|
|
149
|
+
"type": "value",
|
|
150
|
+
"value": "<angle>"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "<ray-size>",
|
|
154
|
+
"prose": "Specifies the length of the offset path (the distance between the offset-distance: 0% and offset-distance: 100% points) relative to the containing box. Individual keywords are:",
|
|
155
|
+
"type": "value",
|
|
156
|
+
"value": "<ray-size>"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "contain",
|
|
160
|
+
"prose": "The used value of offset-distance is clamped so that the box is entirely contained within the path. If no offset-distance would lead to the box being enclosed by the path, the path size is minimally increased so that such an offset-distance exists. Not clear what this actually means. See Issue 363.",
|
|
161
|
+
"type": "value",
|
|
162
|
+
"value": "contain"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "<ray-size>",
|
|
168
|
+
"type": "type",
|
|
169
|
+
"value": "closest-side | closest-corner | farthest-side | farthest-corner | sides",
|
|
170
|
+
"values": [
|
|
171
|
+
{
|
|
172
|
+
"name": "closest-side",
|
|
173
|
+
"prose": "The distance from the initial position to whichever side of the containing block is closest.",
|
|
174
|
+
"type": "value",
|
|
175
|
+
"value": "closest-side"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "closest-corner",
|
|
179
|
+
"prose": "The distance from the initial position to whichever corner of the containing block is closest.",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"value": "closest-corner"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "farthest-side",
|
|
185
|
+
"prose": "The distance from the initial position to whichever side of the containing block is farthest.",
|
|
186
|
+
"type": "value",
|
|
187
|
+
"value": "farthest-side"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "farthest-corner",
|
|
191
|
+
"prose": "The distance from the initial position to whichever corner of the containing block is farthest.",
|
|
192
|
+
"type": "value",
|
|
193
|
+
"value": "farthest-corner"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "sides",
|
|
197
|
+
"prose": "The distance from the initial position to the point where the offset path intersects the containing block’s boundary. If the initial position is on the containing block’s boundary, or outside its bounds entirely, the distance is zero.",
|
|
198
|
+
"type": "value",
|
|
199
|
+
"value": "sides"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
],
|
|
184
204
|
"warnings": [
|
|
185
205
|
{
|
|
186
206
|
"msg": "Dangling value",
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -199,24 +199,9 @@
|
|
|
199
199
|
"viewTimeline"
|
|
200
200
|
]
|
|
201
201
|
},
|
|
202
|
-
{
|
|
203
|
-
"name": "animation-delay",
|
|
204
|
-
"value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
|
|
205
|
-
"initial": "see individual properties",
|
|
206
|
-
"appliesTo": "see individual properties",
|
|
207
|
-
"inherited": "see individual properties",
|
|
208
|
-
"percentages": "see individual properties",
|
|
209
|
-
"computedValue": "see individual properties",
|
|
210
|
-
"animationType": "see individual properties",
|
|
211
|
-
"canonicalOrder": "per grammar",
|
|
212
|
-
"styleDeclaration": [
|
|
213
|
-
"animation-delay",
|
|
214
|
-
"animationDelay"
|
|
215
|
-
]
|
|
216
|
-
},
|
|
217
202
|
{
|
|
218
203
|
"name": "animation-range",
|
|
219
|
-
"value": "[ <'animation-
|
|
204
|
+
"value": "[ <'animation-range-start'> <'animation-range-end'>? | <timeline-range-name> ]#",
|
|
220
205
|
"initial": "see individual properties",
|
|
221
206
|
"appliesTo": "see individual properties",
|
|
222
207
|
"inherited": "see individual properties",
|
|
@@ -230,61 +215,61 @@
|
|
|
230
215
|
]
|
|
231
216
|
},
|
|
232
217
|
{
|
|
233
|
-
"name": "animation-
|
|
234
|
-
"value": "[
|
|
235
|
-
"initial": "
|
|
218
|
+
"name": "animation-range-start",
|
|
219
|
+
"value": "[ normal | <timeline-range-name> <percentage> ]#",
|
|
220
|
+
"initial": "normal",
|
|
236
221
|
"appliesTo": "all elements",
|
|
237
222
|
"inherited": "no",
|
|
238
223
|
"percentages": "relative to the specified named timeline range",
|
|
239
|
-
"computedValue": "list, each item either
|
|
224
|
+
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
|
|
240
225
|
"canonicalOrder": "per grammar",
|
|
241
226
|
"animatable": "no",
|
|
242
227
|
"values": [
|
|
243
228
|
{
|
|
244
|
-
"name": "
|
|
245
|
-
"prose": "
|
|
229
|
+
"name": "normal",
|
|
230
|
+
"prose": "The start of the active phase is determined as normal.",
|
|
246
231
|
"type": "value",
|
|
247
|
-
"value": "
|
|
232
|
+
"value": "normal"
|
|
248
233
|
},
|
|
249
234
|
{
|
|
250
235
|
"name": "<timeline-range-name> <percentage>",
|
|
251
|
-
"prose": "
|
|
236
|
+
"prose": "The active phase starts at the specified point on the timeline, plus any applicable start delay.",
|
|
252
237
|
"type": "value",
|
|
253
238
|
"value": "<timeline-range-name> <percentage>"
|
|
254
239
|
}
|
|
255
240
|
],
|
|
256
241
|
"styleDeclaration": [
|
|
257
|
-
"animation-
|
|
258
|
-
"
|
|
242
|
+
"animation-range-start",
|
|
243
|
+
"animationRangeStart"
|
|
259
244
|
]
|
|
260
245
|
},
|
|
261
246
|
{
|
|
262
|
-
"name": "animation-
|
|
263
|
-
"value": "[
|
|
264
|
-
"initial": "
|
|
247
|
+
"name": "animation-range-end",
|
|
248
|
+
"value": "[ normal | <timeline-range-name> <percentage> ]#",
|
|
249
|
+
"initial": "normal",
|
|
265
250
|
"appliesTo": "all elements",
|
|
266
251
|
"inherited": "no",
|
|
267
252
|
"percentages": "relative to the specified named timeline range",
|
|
268
|
-
"computedValue": "list, each item either
|
|
253
|
+
"computedValue": "list, each item either the keyword normal or a timeline range and progress percentage",
|
|
269
254
|
"canonicalOrder": "per grammar",
|
|
270
255
|
"animatable": "no",
|
|
271
256
|
"values": [
|
|
272
257
|
{
|
|
273
|
-
"name": "
|
|
274
|
-
"prose": "
|
|
258
|
+
"name": "normal",
|
|
259
|
+
"prose": "The end time of the animation is determined as normal.",
|
|
275
260
|
"type": "value",
|
|
276
|
-
"value": "
|
|
261
|
+
"value": "normal"
|
|
277
262
|
},
|
|
278
263
|
{
|
|
279
264
|
"name": "<timeline-range-name> <percentage>",
|
|
280
|
-
"prose": "
|
|
265
|
+
"prose": "The end time of the animation is at the specified point on the timeline minus any applicable end delay, or at the end of the animation duration, whichever comes first.",
|
|
281
266
|
"type": "value",
|
|
282
267
|
"value": "<timeline-range-name> <percentage>"
|
|
283
268
|
}
|
|
284
269
|
],
|
|
285
270
|
"styleDeclaration": [
|
|
286
|
-
"animation-
|
|
287
|
-
"
|
|
271
|
+
"animation-range-end",
|
|
272
|
+
"animationRangeEnd"
|
|
288
273
|
]
|
|
289
274
|
}
|
|
290
275
|
],
|