@webref/css 6.3.1 → 6.3.3
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 +47 -3
- package/css-color-5.json +30 -0
- package/css-display.json +21 -7
- 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-5.json +17 -0
- package/css-values.json +6 -9
- package/package.json +1 -1
- package/scroll-animations.json +1 -1
package/css-anchor.json
CHANGED
|
@@ -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,32 @@
|
|
|
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 keyword indicates automatic anchor positioning. See for details.",
|
|
158
|
+
"type": "value",
|
|
159
|
+
"value": "auto"
|
|
160
|
+
},
|
|
122
161
|
{
|
|
123
162
|
"name": "left",
|
|
124
163
|
"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 +214,21 @@
|
|
|
175
214
|
}
|
|
176
215
|
]
|
|
177
216
|
},
|
|
217
|
+
{
|
|
218
|
+
"name": "<anchor-element>",
|
|
219
|
+
"type": "type",
|
|
220
|
+
"value": "<dashed-ident> | implicit | popover"
|
|
221
|
+
},
|
|
178
222
|
{
|
|
179
223
|
"name": "<anchor-side>",
|
|
180
224
|
"type": "type",
|
|
181
|
-
"value": "top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
|
|
225
|
+
"value": "auto | top | left | right | bottom | start | end | self-start | self-end | <percentage> | center"
|
|
182
226
|
},
|
|
183
227
|
{
|
|
184
228
|
"name": "anchor-size()",
|
|
185
229
|
"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
230
|
"type": "function",
|
|
187
|
-
"value": "anchor( <
|
|
231
|
+
"value": "anchor( <anchor-element>? <anchor-size>, <length-percentage>? )",
|
|
188
232
|
"values": [
|
|
189
233
|
{
|
|
190
234
|
"name": "width",
|
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-display.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "order",
|
|
31
|
-
"value": "[ <'layout-order'> <'reading-order'>? ] | [
|
|
31
|
+
"value": "[ <'layout-order'> <'reading-order'>? ] | [ [ reading || layout ] && <integer> ]",
|
|
32
32
|
"initial": "see individual properties",
|
|
33
33
|
"appliesTo": "flex items and grid items",
|
|
34
34
|
"inherited": "no",
|
|
@@ -38,16 +38,22 @@
|
|
|
38
38
|
"canonicalOrder": "per grammar",
|
|
39
39
|
"values": [
|
|
40
40
|
{
|
|
41
|
-
"name": "
|
|
42
|
-
"prose": "
|
|
41
|
+
"name": "<integer>",
|
|
42
|
+
"prose": "If one integer and no keyword is specified, then sets layout-order to the specified integer, and sets reading-order to its initial value. If two integers are specified, the first sets layout-order and the second sets reading-order. Otherwise sets the appropriate longhand(s) to the specified integer(s).",
|
|
43
43
|
"type": "value",
|
|
44
|
-
"value": "
|
|
44
|
+
"value": "<integer>"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"name": "
|
|
48
|
-
"prose": "
|
|
47
|
+
"name": "layout",
|
|
48
|
+
"prose": "Indicates setting layout-order to the specified integer. If reading is not specified, reading-order is set to its initial value.",
|
|
49
49
|
"type": "value",
|
|
50
|
-
"value": "
|
|
50
|
+
"value": "layout"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "reading",
|
|
54
|
+
"prose": "Indicates setting reading-order to the specified integer. If layout is not specified, layout-order is set to its initial value.",
|
|
55
|
+
"type": "value",
|
|
56
|
+
"value": "reading"
|
|
51
57
|
}
|
|
52
58
|
],
|
|
53
59
|
"styleDeclaration": [
|
|
@@ -87,6 +93,14 @@
|
|
|
87
93
|
"computedValue": "specified integer",
|
|
88
94
|
"canonicalOrder": "per grammar",
|
|
89
95
|
"animationType": "by computed value type",
|
|
96
|
+
"values": [
|
|
97
|
+
{
|
|
98
|
+
"name": "<integer>",
|
|
99
|
+
"prose": "Specifically, the layout-order property controls the order in which flex items or grid items appear within their container by assigning them to the ordinal groups, as specified by its <integer> value.",
|
|
100
|
+
"type": "value",
|
|
101
|
+
"value": "<integer>"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
90
104
|
"styleDeclaration": [
|
|
91
105
|
"layout-order",
|
|
92
106
|
"layoutOrder"
|
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-5.json
CHANGED
|
@@ -106,6 +106,23 @@
|
|
|
106
106
|
"name": "<dimension-unit>",
|
|
107
107
|
"prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
|
|
108
108
|
"type": "type"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "random()",
|
|
112
|
+
"prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
|
|
113
|
+
"type": "function",
|
|
114
|
+
"value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? );"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "<random-caching-options>",
|
|
118
|
+
"type": "type",
|
|
119
|
+
"value": "<dashed-ident> || per-element"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "random-item()",
|
|
123
|
+
"prose": "The random-item() function resolves to a random item from among its list of items.",
|
|
124
|
+
"type": "function",
|
|
125
|
+
"value": "random-item( <random-caching-options> ';' <any-value> [ ';' <any-value> ]* )"
|
|
109
126
|
}
|
|
110
127
|
]
|
|
111
128
|
}
|
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/package.json
CHANGED