@webref/css 6.25.17 → 6.25.19
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/SVG.json +1 -1
- package/animation-triggers.json +97 -10
- package/css-align.json +38 -10
- package/css-borders.json +19 -19
- package/css-color-5.json +1 -1
- package/css-content.json +76 -98
- package/css-counter-styles.json +7 -1
- package/css-fonts.json +2 -2
- package/css-gcpm.json +0 -6
- package/css-grid-3.json +7 -7
- package/css-overflow-4.json +31 -24
- package/css-page.json +112 -96
- package/css-pseudo.json +6 -0
- package/css-sizing-4.json +56 -3
- package/css-values.json +2 -2
- package/mediaqueries-5.json +9 -2
- package/package.json +1 -1
- package/selectors-5.json +8 -2
package/css-content.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "content",
|
|
9
9
|
"href": "https://drafts.csswg.org/css-content-3/#propdef-content",
|
|
10
|
-
"value": "normal | none | [ <content-replacement> | <content-list> ] [/
|
|
10
|
+
"value": "normal | none | [ <content-replacement> | <content-list> ] [/ <alt-text> ]?",
|
|
11
11
|
"initial": "normal",
|
|
12
12
|
"appliesTo": "all elements, tree-abiding pseudo-elements, and page margin boxes",
|
|
13
13
|
"inherited": "no",
|
|
@@ -18,72 +18,38 @@
|
|
|
18
18
|
"values": [
|
|
19
19
|
{
|
|
20
20
|
"name": "normal",
|
|
21
|
-
"prose": "For
|
|
21
|
+
"prose": "For a regular element or page-margin box, this computes to contents. For ::before and ::after, this computes to none. For ::marker, ::placeholder, and ::file-selector-button, this computes to itself (normal).",
|
|
22
22
|
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-normal",
|
|
23
23
|
"type": "value",
|
|
24
24
|
"value": "normal"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "none",
|
|
28
|
-
"prose": "On elements, this behaves as normal. On pseudo-elements it inhibits the creation of the pseudo-element as if it had display: none. In neither case does it prevent any pseudo-elements which have this element or pseudo-element as an originating element from being generated.",
|
|
28
|
+
"prose": "On regular elements, this behaves as normal. On pseudo-elements it inhibits the creation of the pseudo-element as if it had display: none. In neither case does it prevent any pseudo-elements which have this element or pseudo-element as an originating element from being generated.",
|
|
29
29
|
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-none",
|
|
30
30
|
"type": "value",
|
|
31
31
|
"value": "none"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "<content-replacement>",
|
|
35
|
-
"
|
|
36
|
-
"href": "https://drafts.csswg.org/css-content-3/#
|
|
37
|
-
"type": "
|
|
35
|
+
"prose": "Makes the element or pseudo-element a replaced element, filled with the specified <image>. (In effect, it becomes equivalent to an HTML img element.) Its normal contents are suppressed and do not generate boxes, as if they were display: none. If the <image> represents an invalid image, the behavior is undefined. Possible ways of handling an invalid image include a) render it as an image with zero natural width and height, filled with transparent black, b) render a broken image icon, c) render the alt text, if any, or the contents, if not. [Issue #218] This value has historically been treated as <content-list> on ::before and ::after. There might be a Web-compat requirement on this, so these pseudo-elements might need an exception. It might be possible to limit this exception to cases without \"alt text\". [Issue #2889]",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-content-replacement",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "<content-replacement>"
|
|
38
39
|
},
|
|
39
40
|
{
|
|
40
41
|
"name": "<content-list>",
|
|
41
|
-
"prose": "
|
|
42
|
-
"href": "https://drafts.csswg.org/css-content-3/#
|
|
43
|
-
"type": "
|
|
44
|
-
"value": "
|
|
45
|
-
"values": [
|
|
46
|
-
{
|
|
47
|
-
"name": "<string>",
|
|
48
|
-
"prose": "Represents an anonymous inline box filled with the specified text.",
|
|
49
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-string",
|
|
50
|
-
"type": "value",
|
|
51
|
-
"value": "<string>"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "attr()",
|
|
55
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-attr",
|
|
56
|
-
"type": "value",
|
|
57
|
-
"value": "attr()"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "<image>",
|
|
61
|
-
"prose": "Represents an anonymous inline replaced element filled with the specified <image>. If the <image> represents an invalid image, this value instead represents nothing. (No inline content is added to the element, as if this value were \"skipped\".)",
|
|
62
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-list-image",
|
|
63
|
-
"type": "value",
|
|
64
|
-
"value": "<image>"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "contents",
|
|
68
|
-
"prose": "The element’s descendants. Since this can only be used once per element (you can’t duplicate the children if, e.g., one is a plugin or form control), it is handled as follows:",
|
|
69
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-contents",
|
|
70
|
-
"type": "value",
|
|
71
|
-
"value": "contents"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "leader()",
|
|
75
|
-
"value": "leader( <leader-type> )",
|
|
76
|
-
"href": "https://drafts.csswg.org/css-content-3/#funcdef-content-leader",
|
|
77
|
-
"type": "function"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
42
|
+
"prose": "On regular elements, this value has no effect. On pseudo-elements and page-margin boxes, it replaces the box’s contents with the specified content. (Its normal contents are suppressed, as if they were display: none.) Each value specified contributes an inline-level box to the element’s contents, in the order specified. For <image>, this is an inline anonymous replaced element; for the others, it’s an anonymous inline run of text.",
|
|
43
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-content-list",
|
|
44
|
+
"type": "value",
|
|
45
|
+
"value": "<content-list>"
|
|
80
46
|
},
|
|
81
47
|
{
|
|
82
|
-
"name": "
|
|
83
|
-
"prose": "Specifies the
|
|
84
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content
|
|
48
|
+
"name": "<alt-text>",
|
|
49
|
+
"prose": "Specifies the “alternative content” for the element, which is supplied to the accessibility tree for rendering to speech, braille, etc. instead of the “visual content” provided before the slash. See § 1.2 Alternative Text for Accessibility for details. If omitted, the element has no “alternative content”; the main content is used for all media.",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-alt-text",
|
|
85
51
|
"type": "value",
|
|
86
|
-
"value": "
|
|
52
|
+
"value": "<alt-text>"
|
|
87
53
|
}
|
|
88
54
|
],
|
|
89
55
|
"styleDeclaration": [
|
|
@@ -93,12 +59,12 @@
|
|
|
93
59
|
{
|
|
94
60
|
"name": "quotes",
|
|
95
61
|
"href": "https://drafts.csswg.org/css-content-3/#propdef-quotes",
|
|
96
|
-
"value": "auto | none |
|
|
62
|
+
"value": "auto | none | bikeshed-this | [ <string> <string> ]+",
|
|
97
63
|
"initial": "auto",
|
|
98
64
|
"appliesTo": "all elements",
|
|
99
65
|
"inherited": "yes",
|
|
100
66
|
"percentages": "n/a",
|
|
101
|
-
"computedValue": "the keyword none, the keyword auto
|
|
67
|
+
"computedValue": "the keyword none, the keyword auto, a content language, or a list, each item a pair of string values",
|
|
102
68
|
"canonicalOrder": "per grammar",
|
|
103
69
|
"animationType": "discrete",
|
|
104
70
|
"values": [
|
|
@@ -111,17 +77,17 @@
|
|
|
111
77
|
},
|
|
112
78
|
{
|
|
113
79
|
"name": "auto",
|
|
114
|
-
"prose": "A typographically appropriate quotation mark system is automatically chosen by the UA based on the content language of the parent (or, if there is no parent, of the element itself).",
|
|
80
|
+
"prose": "A typographically appropriate quotation mark system is automatically chosen by the UA based on the content language of the parent (or, if there is no parent, of the element itself). Computes to itself (the keyword auto).",
|
|
115
81
|
"href": "https://drafts.csswg.org/css-content-3/#valdef-quotes-auto",
|
|
116
82
|
"type": "value",
|
|
117
83
|
"value": "auto"
|
|
118
84
|
},
|
|
119
85
|
{
|
|
120
|
-
"name": "
|
|
121
|
-
"prose": "
|
|
122
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-quotes-
|
|
86
|
+
"name": "bikeshed-this",
|
|
87
|
+
"prose": "If the inherited value is auto, computes to the content language of the parent, which behaves like auto as resolved by that content language. Otherwise, computes to the inherited value. A content language computed value serializes as bikeshed-this. This needs a name. Maybe match-parent? [Issue #5478]",
|
|
88
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-quotes-bikeshed-this",
|
|
123
89
|
"type": "value",
|
|
124
|
-
"value": "
|
|
90
|
+
"value": "bikeshed-this"
|
|
125
91
|
}
|
|
126
92
|
],
|
|
127
93
|
"styleDeclaration": [
|
|
@@ -202,42 +168,7 @@
|
|
|
202
168
|
"prose": "<content-list> is defined above, in the section on the string-set property. The value of <content-list> becomes the text content of the bookmark label.",
|
|
203
169
|
"href": "https://drafts.csswg.org/css-content-3/#valdef-bookmark-label-content-list",
|
|
204
170
|
"type": "value",
|
|
205
|
-
"value": "
|
|
206
|
-
"values": [
|
|
207
|
-
{
|
|
208
|
-
"name": "<string>",
|
|
209
|
-
"prose": "Represents an anonymous inline box filled with the specified text.",
|
|
210
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-string",
|
|
211
|
-
"type": "value",
|
|
212
|
-
"value": "<string>"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "attr()",
|
|
216
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-attr",
|
|
217
|
-
"type": "value",
|
|
218
|
-
"value": "attr()"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"name": "<image>",
|
|
222
|
-
"prose": "Represents an anonymous inline replaced element filled with the specified <image>. If the <image> represents an invalid image, this value instead represents nothing. (No inline content is added to the element, as if this value were \"skipped\".)",
|
|
223
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-list-image",
|
|
224
|
-
"type": "value",
|
|
225
|
-
"value": "<image>"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "contents",
|
|
229
|
-
"prose": "The element’s descendants. Since this can only be used once per element (you can’t duplicate the children if, e.g., one is a plugin or form control), it is handled as follows:",
|
|
230
|
-
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-contents",
|
|
231
|
-
"type": "value",
|
|
232
|
-
"value": "contents"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "leader()",
|
|
236
|
-
"value": "leader( <leader-type> )",
|
|
237
|
-
"href": "https://drafts.csswg.org/css-content-3/#funcdef-content-leader",
|
|
238
|
-
"type": "function"
|
|
239
|
-
}
|
|
240
|
-
]
|
|
171
|
+
"value": "<content-list>"
|
|
241
172
|
}
|
|
242
173
|
],
|
|
243
174
|
"styleDeclaration": [
|
|
@@ -281,6 +212,59 @@
|
|
|
281
212
|
"atrules": [],
|
|
282
213
|
"selectors": [],
|
|
283
214
|
"values": [
|
|
215
|
+
{
|
|
216
|
+
"name": "<content-replacement>",
|
|
217
|
+
"href": "https://drafts.csswg.org/css-content-3/#typedef-content-replacement",
|
|
218
|
+
"type": "type",
|
|
219
|
+
"value": "<image>"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "<content-list>",
|
|
223
|
+
"href": "https://drafts.csswg.org/css-content-3/#typedef-content-list",
|
|
224
|
+
"type": "type",
|
|
225
|
+
"value": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <symbolic-glyph> ]+",
|
|
226
|
+
"values": [
|
|
227
|
+
{
|
|
228
|
+
"name": "<string>",
|
|
229
|
+
"prose": "Represents an anonymous inline box filled with the specified text.",
|
|
230
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-string",
|
|
231
|
+
"type": "value",
|
|
232
|
+
"value": "<string>"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "attr()",
|
|
236
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-attr",
|
|
237
|
+
"type": "value",
|
|
238
|
+
"value": "attr()"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "<image>",
|
|
242
|
+
"prose": "Represents an anonymous inline replaced element filled with the specified <image>. If an <image> represents an invalid image, the user agent must (consistently) do one of the following: “Skip” the <image>, generating nothing for it. Display some indication that the image can’t be displayed in place of the <image>, such as a “broken image” icon.",
|
|
243
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-image",
|
|
244
|
+
"type": "value",
|
|
245
|
+
"value": "<image>"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "contents",
|
|
249
|
+
"prose": "The element’s descendants. Since this can only be used once per element (you can’t duplicate the children if, e.g., one is a plugin or form control), it is handled as follows:",
|
|
250
|
+
"href": "https://drafts.csswg.org/css-content-3/#valdef-content-contents",
|
|
251
|
+
"type": "value",
|
|
252
|
+
"value": "contents"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "leader()",
|
|
256
|
+
"value": "leader( <leader-type> )",
|
|
257
|
+
"href": "https://drafts.csswg.org/css-content-3/#funcdef-content-leader",
|
|
258
|
+
"type": "function"
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "<alt-text>",
|
|
264
|
+
"href": "https://drafts.csswg.org/css-content-3/#typedef-alt-text",
|
|
265
|
+
"type": "type",
|
|
266
|
+
"value": "[ <string> | <counter> | <attr()> ]+"
|
|
267
|
+
},
|
|
284
268
|
{
|
|
285
269
|
"name": "<quote>",
|
|
286
270
|
"href": "https://drafts.csswg.org/css-content-3/#typedef-quote",
|
|
@@ -461,12 +445,6 @@
|
|
|
461
445
|
"value": "marker"
|
|
462
446
|
}
|
|
463
447
|
]
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"name": "<symbolic-counter-style>",
|
|
467
|
-
"href": "https://drafts.csswg.org/css-content-3/#typedef-symbolic-counter-style",
|
|
468
|
-
"type": "type",
|
|
469
|
-
"value": "disc | circle | square | disclosure-open | disclosure-closed"
|
|
470
448
|
}
|
|
471
449
|
]
|
|
472
450
|
}
|
package/css-counter-styles.json
CHANGED
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"values": [
|
|
193
193
|
{
|
|
194
194
|
"name": "<counter-style-name>",
|
|
195
|
-
"prose": "<counter-style-name
|
|
195
|
+
"prose": "Counter styles are referenced by name, and represented syntactically by <counter-style-name>, which is a <custom-ident> specifying a tree-scoped name. The keyword none (including any ASCII case-insensitive permutation of it) is not a valid <counter-style-name>.",
|
|
196
196
|
"href": "https://drafts.csswg.org/css-counter-styles-3/#typedef-counter-style-name",
|
|
197
197
|
"type": "type",
|
|
198
198
|
"values": [
|
|
@@ -609,6 +609,12 @@
|
|
|
609
609
|
"value": "cjk-ideographic"
|
|
610
610
|
}
|
|
611
611
|
]
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"name": "<symbolic-glyph>",
|
|
615
|
+
"href": "https://drafts.csswg.org/css-counter-styles-3/#typedef-symbolic-glyph",
|
|
616
|
+
"type": "type",
|
|
617
|
+
"value": "disc | circle | square | disclosure-open | disclosure-closed"
|
|
612
618
|
}
|
|
613
619
|
]
|
|
614
620
|
}
|
package/css-fonts.json
CHANGED
|
@@ -526,14 +526,14 @@
|
|
|
526
526
|
"values": [
|
|
527
527
|
{
|
|
528
528
|
"name": "auto",
|
|
529
|
-
"prose": "Specifies that kerning is applied at the discretion of the user agent",
|
|
529
|
+
"prose": "Specifies that kerning is applied, to proportionally-spaced glyphs, at the discretion of the user agent",
|
|
530
530
|
"href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-auto-value",
|
|
531
531
|
"type": "value",
|
|
532
532
|
"value": "auto"
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
535
|
"name": "normal",
|
|
536
|
-
"prose": "Specifies that kerning is applied",
|
|
536
|
+
"prose": "Specifies that kerning is applied, to proportionally-spaced glyphs",
|
|
537
537
|
"href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-normal-value",
|
|
538
538
|
"type": "value",
|
|
539
539
|
"value": "normal"
|
package/css-gcpm.json
CHANGED
|
@@ -122,12 +122,6 @@
|
|
|
122
122
|
}
|
|
123
123
|
],
|
|
124
124
|
"values": [
|
|
125
|
-
{
|
|
126
|
-
"name": "<content-list>",
|
|
127
|
-
"href": "https://drafts.csswg.org/css-gcpm-3/#content-list",
|
|
128
|
-
"type": "type",
|
|
129
|
-
"value": "[ <string> | <counter()> | <counters()> | <content()> | <attr()> ]+"
|
|
130
|
-
},
|
|
131
125
|
{
|
|
132
126
|
"name": "running()",
|
|
133
127
|
"value": "running( <custom-ident> )",
|
package/css-grid-3.json
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
"name": "
|
|
32
|
-
"href": "https://drafts.csswg.org/css-grid-3/#propdef-
|
|
31
|
+
"name": "fit-tolerance",
|
|
32
|
+
"href": "https://drafts.csswg.org/css-grid-3/#propdef-fit-tolerance",
|
|
33
33
|
"value": "normal | <length-percentage [0,∞]> | infinite",
|
|
34
34
|
"initial": "normal",
|
|
35
35
|
"appliesTo": "grid lanes containers",
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
{
|
|
43
43
|
"name": "<length-percentage>",
|
|
44
44
|
"prose": "Specifies the tie threshold for the grid lanes container. Placement positions are considered to be equally good (“tied”) if they are within the specified distance from the shortest position.",
|
|
45
|
-
"href": "https://drafts.csswg.org/css-grid-3/#valdef-
|
|
45
|
+
"href": "https://drafts.csswg.org/css-grid-3/#valdef-fit-tolerance-length-percentage",
|
|
46
46
|
"type": "value",
|
|
47
47
|
"value": "<length-percentage>"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"name": "normal",
|
|
51
51
|
"prose": "Resolves to a used value of 1em in grid lanes layout and a used value of 0 in all other layout modes.",
|
|
52
|
-
"href": "https://drafts.csswg.org/css-grid-3/#valdef-
|
|
52
|
+
"href": "https://drafts.csswg.org/css-grid-3/#valdef-fit-tolerance-normal",
|
|
53
53
|
"type": "value",
|
|
54
54
|
"value": "normal"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "infinite",
|
|
58
58
|
"prose": "Specifies an infinite tie threshold. This makes items distribute themselves strictly in order, without considering the length of the tracks at all.",
|
|
59
|
-
"href": "https://drafts.csswg.org/css-grid-3/#valdef-
|
|
59
|
+
"href": "https://drafts.csswg.org/css-grid-3/#valdef-fit-tolerance-infinite",
|
|
60
60
|
"type": "value",
|
|
61
61
|
"value": "infinite"
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
64
|
"styleDeclaration": [
|
|
65
|
-
"
|
|
66
|
-
"
|
|
65
|
+
"fit-tolerance",
|
|
66
|
+
"fitTolerance"
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
],
|
package/css-overflow-4.json
CHANGED
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
{
|
|
267
267
|
"name": "block-ellipsis",
|
|
268
268
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-block-ellipsis",
|
|
269
|
-
"value": "no-ellipsis |
|
|
269
|
+
"value": "no-ellipsis | ellipsis | <string>",
|
|
270
270
|
"initial": "no-ellipsis",
|
|
271
271
|
"appliesTo": "block containers",
|
|
272
272
|
"inherited": "yes",
|
|
@@ -283,11 +283,11 @@
|
|
|
283
283
|
"value": "no-ellipsis"
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
|
-
"name": "
|
|
286
|
+
"name": "ellipsis",
|
|
287
287
|
"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.",
|
|
288
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-block-ellipsis-
|
|
288
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-block-ellipsis-ellipsis",
|
|
289
289
|
"type": "value",
|
|
290
|
-
"value": "
|
|
290
|
+
"value": "ellipsis"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"name": "<string>",
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
{
|
|
306
306
|
"name": "line-clamp",
|
|
307
307
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp",
|
|
308
|
-
"value": "none | [<
|
|
308
|
+
"value": "none | [<'max-lines'> || <'block-ellipsis'>] -webkit-legacy?",
|
|
309
309
|
"initial": "none",
|
|
310
310
|
"appliesTo": "see individual properties",
|
|
311
311
|
"inherited": "see individual properties",
|
|
@@ -316,21 +316,21 @@
|
|
|
316
316
|
"values": [
|
|
317
317
|
{
|
|
318
318
|
"name": "none",
|
|
319
|
-
"prose": "Sets max-lines to
|
|
319
|
+
"prose": "Sets max-lines to auto, continue to normal, and block-ellipsis to no-ellipsis.",
|
|
320
320
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-none",
|
|
321
321
|
"type": "value",
|
|
322
322
|
"value": "none"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
|
-
"name": "<
|
|
326
|
-
"prose": "Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also specified. Sets max-lines to the
|
|
327
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-
|
|
325
|
+
"name": "<max-lines>",
|
|
326
|
+
"prose": "Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also specified (see below). Sets max-lines and block-ellipsis to the corresponding values, or to max-lines: auto and block-ellipsis: ellipsis respectively if omitted.",
|
|
327
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-max-lines",
|
|
328
328
|
"type": "value",
|
|
329
|
-
"value": "<
|
|
329
|
+
"value": "<max-lines>"
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"name": "<block-ellipsis>",
|
|
333
|
-
"prose": "Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also specified. Sets max-lines to the
|
|
333
|
+
"prose": "Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also specified (see below). Sets max-lines and block-ellipsis to the corresponding values, or to max-lines: auto and block-ellipsis: ellipsis respectively if omitted.",
|
|
334
334
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
|
|
335
335
|
"type": "value",
|
|
336
336
|
"value": "<block-ellipsis>"
|
|
@@ -378,8 +378,8 @@
|
|
|
378
378
|
{
|
|
379
379
|
"name": "continue",
|
|
380
380
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-continue",
|
|
381
|
-
"value": "
|
|
382
|
-
"initial": "
|
|
381
|
+
"value": "normal | discard | collapse | -webkit-legacy",
|
|
382
|
+
"initial": "normal",
|
|
383
383
|
"appliesTo": "block containers and multicol containers",
|
|
384
384
|
"inherited": "no",
|
|
385
385
|
"percentages": "N/A",
|
|
@@ -395,15 +395,15 @@
|
|
|
395
395
|
"value": "-webkit-legacy"
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
|
-
"name": "
|
|
398
|
+
"name": "normal",
|
|
399
399
|
"prose": "If the box has more content than can fit, the excess content is handled according to the usual rules.",
|
|
400
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-
|
|
400
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-normal",
|
|
401
401
|
"type": "value",
|
|
402
|
-
"value": "
|
|
402
|
+
"value": "normal"
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
"name": "collapse",
|
|
406
|
-
"prose": "If the box is a block container, then it must establish an independent formatting context that also becomes a line-clamp container. This causes all content after the clamp point to be visually
|
|
406
|
+
"prose": "If the box is a block container, then it must establish an independent formatting context that also becomes a line-clamp container. This causes all content after the clamp point to be visually suppressed, and to not be taken into account for the box’s automatic block size (see § 5.3.1 Line-clamp containers for details). Visually suppressed content is treated as content hidden by overflow: clip, and unlike content made invisible by visibility: hidden or excluded from the box tree by display: none: it is not painted, and like ink overflow, does not affect layout or otherwise extend the scrollable overflow area. However, it remains part of of sequential focus navigation, and remains exposed through the accessibility tree. Any overflow visually suppressed boxes and line boxes might have is itself counted as ink overflow rather than scrollable overflow. If the box is a multicol container, the behavior is the same as normal.",
|
|
407
407
|
"href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-collapse",
|
|
408
408
|
"type": "value",
|
|
409
409
|
"value": "collapse"
|
|
@@ -423,21 +423,28 @@
|
|
|
423
423
|
{
|
|
424
424
|
"name": "max-lines",
|
|
425
425
|
"href": "https://drafts.csswg.org/css-overflow-4/#propdef-max-lines",
|
|
426
|
-
"value": "
|
|
427
|
-
"initial": "
|
|
426
|
+
"value": "auto || <integer [1,∞]>",
|
|
427
|
+
"initial": "auto",
|
|
428
428
|
"appliesTo": "block containers which are also either line-clamp containers or fragmentation containers that capture region breaks",
|
|
429
429
|
"inherited": "no",
|
|
430
430
|
"percentages": "N/A",
|
|
431
|
-
"computedValue": "the keyword
|
|
431
|
+
"computedValue": "the keyword auto, or an integer, or both",
|
|
432
432
|
"canonicalOrder": "per grammar",
|
|
433
433
|
"animationType": "by computed value type",
|
|
434
434
|
"values": [
|
|
435
435
|
{
|
|
436
|
-
"name": "
|
|
437
|
-
"prose": "If the
|
|
438
|
-
"href": "https://drafts.csswg.org/css-overflow-4/#
|
|
436
|
+
"name": "<integer [1,∞]>",
|
|
437
|
+
"prose": "Given an integer N, if the box is a line-clamp container, it has an line-based clamp point, set to the first possible clamp point after its Nth descendant in-flow line box. If fewer than N line boxes exist, or if there are no possible clamp points after the Nth descendant in-flow line box, then that line-clamp container has no line-based clamp point. If the box is instead a fragmentation container that captures region breaks, then a region break is forced after its Nth descendant in-flow line box. If fewer than N line boxes exist, then max-lines introduces no region break. Only line 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. Only positive integers are accepted. Zero or negative integers are invalid and must cause the declaration to be ignored.",
|
|
438
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#max-lines-integer",
|
|
439
439
|
"type": "value",
|
|
440
|
-
"value": "
|
|
440
|
+
"value": "<integer [1,∞]>"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "auto",
|
|
444
|
+
"prose": "If the box is a line-clamp container, it has an auto clamp point, set to the last possible clamp point such that, for it and all previous possible clamp points, the container’s automatic block size (as determined in § 5.3.1 Line-clamp containers) is not greater than the block size the box would have if its automatic block size were infinite. If the block size would be infinite, then there is no auto clamp point.",
|
|
445
|
+
"href": "https://drafts.csswg.org/css-overflow-4/#max-lines-auto",
|
|
446
|
+
"type": "value",
|
|
447
|
+
"value": "auto"
|
|
441
448
|
}
|
|
442
449
|
],
|
|
443
450
|
"styleDeclaration": [
|