@webref/css 6.10.4 → 6.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSS.json +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +247 -81
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +272 -0
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +86 -13
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +49 -3
- package/css-fonts.json +207 -2
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +49 -3
- package/css-view-transitions.json +16 -13
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/css-text.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "text-transform",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-transform",
|
|
9
10
|
"value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "text",
|
|
@@ -18,36 +19,42 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "none",
|
|
20
21
|
"prose": "No effects.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-none",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "none"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "capitalize",
|
|
26
28
|
"prose": "Puts the first typographic letter unit of each word, if lowercase, in titlecase; other characters are unaffected.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-capitalize",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "capitalize"
|
|
29
32
|
},
|
|
30
33
|
{
|
|
31
34
|
"name": "uppercase",
|
|
32
35
|
"prose": "Puts all letters in uppercase.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-uppercase",
|
|
33
37
|
"type": "value",
|
|
34
38
|
"value": "uppercase"
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"name": "lowercase",
|
|
38
42
|
"prose": "Puts all letters in lowercase.",
|
|
43
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-lowercase",
|
|
39
44
|
"type": "value",
|
|
40
45
|
"value": "lowercase"
|
|
41
46
|
},
|
|
42
47
|
{
|
|
43
48
|
"name": "full-width",
|
|
44
49
|
"prose": "Puts all typographic character units in full-width form. If a character does not have a corresponding full-width form, it is left as is. This value is typically used to typeset Latin letters and digits as if they were ideographic characters.",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-full-width",
|
|
45
51
|
"type": "value",
|
|
46
52
|
"value": "full-width"
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
"name": "full-size-kana",
|
|
50
56
|
"prose": "Converts all small Kana characters to the equivalent full-size Kana. This value is typically used for ruby annotation text, where authors may want all small Kana to be drawn as large Kana to compensate for legibility issues at the small font sizes typically used in ruby.",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-transform-full-size-kana",
|
|
51
58
|
"type": "value",
|
|
52
59
|
"value": "full-size-kana"
|
|
53
60
|
}
|
|
@@ -59,6 +66,7 @@
|
|
|
59
66
|
},
|
|
60
67
|
{
|
|
61
68
|
"name": "white-space",
|
|
69
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-white-space",
|
|
62
70
|
"value": "normal | pre | nowrap | pre-wrap | break-spaces | pre-line",
|
|
63
71
|
"initial": "normal",
|
|
64
72
|
"appliesTo": "text",
|
|
@@ -71,36 +79,42 @@
|
|
|
71
79
|
{
|
|
72
80
|
"name": "normal",
|
|
73
81
|
"prose": "This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character). Lines may wrap at allowed soft wrap opportunities, as determined by the line-breaking rules in effect, in order to minimize inline-axis overflow.",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-normal",
|
|
74
83
|
"type": "value",
|
|
75
84
|
"value": "normal"
|
|
76
85
|
},
|
|
77
86
|
{
|
|
78
87
|
"name": "pre",
|
|
79
88
|
"prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks. Lines only break at forced line breaks; content that does not fit within the block container overflows it.",
|
|
89
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-pre",
|
|
80
90
|
"type": "value",
|
|
81
91
|
"value": "pre"
|
|
82
92
|
},
|
|
83
93
|
{
|
|
84
94
|
"name": "nowrap",
|
|
85
95
|
"prose": "Like normal, this value collapses white space; but like pre, it does not allow wrapping.",
|
|
96
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-nowrap",
|
|
86
97
|
"type": "value",
|
|
87
98
|
"value": "nowrap"
|
|
88
99
|
},
|
|
89
100
|
{
|
|
90
101
|
"name": "pre-wrap",
|
|
91
102
|
"prose": "Like pre, this value preserves white space; but like normal, it allows wrapping.",
|
|
103
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-pre-wrap",
|
|
92
104
|
"type": "value",
|
|
93
105
|
"value": "pre-wrap"
|
|
94
106
|
},
|
|
95
107
|
{
|
|
96
108
|
"name": "break-spaces",
|
|
97
109
|
"prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. A soft wrap opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces).",
|
|
110
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces",
|
|
98
111
|
"type": "value",
|
|
99
112
|
"value": "break-spaces"
|
|
100
113
|
},
|
|
101
114
|
{
|
|
102
115
|
"name": "pre-line",
|
|
103
116
|
"prose": "Like normal, this value collapses consecutive white space characters and allows wrapping, but it preserves segment breaks in the source as forced line breaks.",
|
|
117
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-white-space-pre-line",
|
|
104
118
|
"type": "value",
|
|
105
119
|
"value": "pre-line"
|
|
106
120
|
}
|
|
@@ -112,6 +126,7 @@
|
|
|
112
126
|
},
|
|
113
127
|
{
|
|
114
128
|
"name": "tab-size",
|
|
129
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-tab-size",
|
|
115
130
|
"value": "<number [0,∞]> | <length [0,∞]>",
|
|
116
131
|
"initial": "8",
|
|
117
132
|
"appliesTo": "text",
|
|
@@ -127,6 +142,7 @@
|
|
|
127
142
|
},
|
|
128
143
|
{
|
|
129
144
|
"name": "word-break",
|
|
145
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-word-break",
|
|
130
146
|
"value": "normal | keep-all | break-all | break-word",
|
|
131
147
|
"initial": "normal",
|
|
132
148
|
"appliesTo": "text",
|
|
@@ -139,24 +155,28 @@
|
|
|
139
155
|
{
|
|
140
156
|
"name": "normal",
|
|
141
157
|
"prose": "Words break according to their customary rules, as described above. Korean, which commonly exhibits two different behaviors, allows breaks between any two consecutive Hangul/Hanja. For Ethiopic, which also exhibits two different behaviors, such breaks within words are not allowed.",
|
|
158
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-break-normal",
|
|
142
159
|
"type": "value",
|
|
143
160
|
"value": "normal"
|
|
144
161
|
},
|
|
145
162
|
{
|
|
146
163
|
"name": "break-all",
|
|
147
164
|
"prose": "Breaking is allowed within “words”: specifically, in addition to soft wrap opportunities allowed for normal, any typographic letter units (and any typographic character units resolving to the NU (“numeric”), AL (“alphabetic”), or SA (“Southeast Asian”) line breaking classes [UAX14]) are instead treated as ID (“ideographic characters”) for the purpose of line-breaking. Hyphenation is not applied.",
|
|
165
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all",
|
|
148
166
|
"type": "value",
|
|
149
167
|
"value": "break-all"
|
|
150
168
|
},
|
|
151
169
|
{
|
|
152
170
|
"name": "keep-all",
|
|
153
171
|
"prose": "Breaking is forbidden within “words”: implicit soft wrap opportunities between typographic letter units (or other typographic character units belonging to the NU, AL, AI, or ID Unicode line breaking classes [UAX14]) are suppressed, i.e. breaks are prohibited between pairs of such characters (regardless of line-break settings other than anywhere) except where opportunities exist due to dictionary-based breaking. Otherwise this option is equivalent to normal. In this style, sequences of CJK characters do not break.",
|
|
172
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-break-keep-all",
|
|
154
173
|
"type": "value",
|
|
155
174
|
"value": "keep-all"
|
|
156
175
|
},
|
|
157
176
|
{
|
|
158
177
|
"name": "break-word",
|
|
159
178
|
"prose": "For compatibility with legacy content, the word-break property also supports a deprecated break-word keyword. When specified, this has the same effect as word-break: normal and overflow-wrap: anywhere, regardless of the actual value of the overflow-wrap property.",
|
|
179
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-break-break-word",
|
|
160
180
|
"type": "value",
|
|
161
181
|
"value": "break-word"
|
|
162
182
|
}
|
|
@@ -168,6 +188,7 @@
|
|
|
168
188
|
},
|
|
169
189
|
{
|
|
170
190
|
"name": "line-break",
|
|
191
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-line-break",
|
|
171
192
|
"value": "auto | loose | normal | strict | anywhere",
|
|
172
193
|
"initial": "auto",
|
|
173
194
|
"appliesTo": "text",
|
|
@@ -180,30 +201,35 @@
|
|
|
180
201
|
{
|
|
181
202
|
"name": "auto",
|
|
182
203
|
"prose": "The UA determines the set of line-breaking restrictions to use, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.",
|
|
204
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-line-break-auto",
|
|
183
205
|
"type": "value",
|
|
184
206
|
"value": "auto"
|
|
185
207
|
},
|
|
186
208
|
{
|
|
187
209
|
"name": "loose",
|
|
188
210
|
"prose": "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.",
|
|
211
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-line-break-loose",
|
|
189
212
|
"type": "value",
|
|
190
213
|
"value": "loose"
|
|
191
214
|
},
|
|
192
215
|
{
|
|
193
216
|
"name": "normal",
|
|
194
217
|
"prose": "Breaks text using the most common set of line-breaking rules.",
|
|
218
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-line-break-normal",
|
|
195
219
|
"type": "value",
|
|
196
220
|
"value": "normal"
|
|
197
221
|
},
|
|
198
222
|
{
|
|
199
223
|
"name": "strict",
|
|
200
224
|
"prose": "Breaks text using the most stringent set of line-breaking rules.",
|
|
225
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-line-break-strict",
|
|
201
226
|
"type": "value",
|
|
202
227
|
"value": "strict"
|
|
203
228
|
},
|
|
204
229
|
{
|
|
205
230
|
"name": "anywhere",
|
|
206
231
|
"prose": "There is a soft wrap opportunity around every typographic character unit, including around any punctuation character or preserved white spaces, or in the middle of words, disregarding any prohibition against line breaks, even those introduced by characters with the GL, WJ, or ZWJ line breaking classes or mandated by the word-break property. [UAX14] The different wrapping opportunities must not be prioritized. Hyphenation is not applied.",
|
|
232
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-line-break-anywhere",
|
|
207
233
|
"type": "value",
|
|
208
234
|
"value": "anywhere"
|
|
209
235
|
}
|
|
@@ -215,6 +241,7 @@
|
|
|
215
241
|
},
|
|
216
242
|
{
|
|
217
243
|
"name": "hyphens",
|
|
244
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-hyphens",
|
|
218
245
|
"value": "none | manual | auto",
|
|
219
246
|
"initial": "manual",
|
|
220
247
|
"appliesTo": "text",
|
|
@@ -227,18 +254,21 @@
|
|
|
227
254
|
{
|
|
228
255
|
"name": "none",
|
|
229
256
|
"prose": "Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.",
|
|
257
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hyphens-none",
|
|
230
258
|
"type": "value",
|
|
231
259
|
"value": "none"
|
|
232
260
|
},
|
|
233
261
|
{
|
|
234
262
|
"name": "manual",
|
|
235
263
|
"prose": "Words are only hyphenated where there are characters inside the word that explicitly suggest hyphenation opportunities. The UA must use the appropriate language-specific hyphenation character(s) and should apply any appropriate spelling changes just as for automatic hyphenation at the same point. In Unicode, U+00AD is a conditional \"soft hyphen\" and U+2010 is an unconditional hyphen. Unicode Standard Annex #14 describes the role of soft hyphens in Unicode line breaking. [UAX14] In HTML, ­ represents the soft hyphen character, which suggests a hyphenation opportunity. ex­ample",
|
|
264
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hyphens-manual",
|
|
236
265
|
"type": "value",
|
|
237
266
|
"value": "manual"
|
|
238
267
|
},
|
|
239
268
|
{
|
|
240
269
|
"name": "auto",
|
|
241
270
|
"prose": "Words may be broken at hyphenation opportunities determined automatically by a language-appropriate hyphenation resource in addition to those indicated explicitly by a conditional hyphen. Automatic hyphenation opportunities elsewhere within a word must be ignored if the word contains a conditional hyphen (­ or U+00AD SOFT HYPHEN), in favor of the conditional hyphen(s). However, if, even after breaking at such opportunities, a portion of that word is still too long to fit on one line, an automatic hyphenation opportunity may be used.",
|
|
271
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hyphens-auto",
|
|
242
272
|
"type": "value",
|
|
243
273
|
"value": "auto"
|
|
244
274
|
}
|
|
@@ -249,6 +279,7 @@
|
|
|
249
279
|
},
|
|
250
280
|
{
|
|
251
281
|
"name": "overflow-wrap",
|
|
282
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-overflow-wrap",
|
|
252
283
|
"value": "normal | break-word | anywhere",
|
|
253
284
|
"initial": "normal",
|
|
254
285
|
"appliesTo": "text",
|
|
@@ -261,18 +292,21 @@
|
|
|
261
292
|
{
|
|
262
293
|
"name": "normal",
|
|
263
294
|
"prose": "Lines may break only at allowed break points. However, the restrictions introduced by word-break: keep-all may be relaxed to match word-break: normal if there are no otherwise-acceptable break points in the line.",
|
|
295
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-normal",
|
|
264
296
|
"type": "value",
|
|
265
297
|
"value": "normal"
|
|
266
298
|
},
|
|
267
299
|
{
|
|
268
300
|
"name": "anywhere",
|
|
269
301
|
"prose": "An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line. Shaping characters are still shaped as if the word were not broken, and grapheme clusters must stay together as one unit. No hyphenation character is inserted at the break point. Soft wrap opportunities introduced by anywhere are considered when calculating min-content intrinsic sizes.",
|
|
302
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-anywhere",
|
|
270
303
|
"type": "value",
|
|
271
304
|
"value": "anywhere"
|
|
272
305
|
},
|
|
273
306
|
{
|
|
274
307
|
"name": "break-word",
|
|
275
308
|
"prose": "As for anywhere except that soft wrap opportunities introduced by break-word are not considered when calculating min-content intrinsic sizes.",
|
|
309
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word",
|
|
276
310
|
"type": "value",
|
|
277
311
|
"value": "break-word"
|
|
278
312
|
}
|
|
@@ -284,6 +318,7 @@
|
|
|
284
318
|
},
|
|
285
319
|
{
|
|
286
320
|
"name": "word-wrap",
|
|
321
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-word-wrap",
|
|
287
322
|
"value": "normal | break-word | anywhere",
|
|
288
323
|
"initial": "normal",
|
|
289
324
|
"appliesTo": "text",
|
|
@@ -299,6 +334,7 @@
|
|
|
299
334
|
},
|
|
300
335
|
{
|
|
301
336
|
"name": "text-align",
|
|
337
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-align",
|
|
302
338
|
"value": "start | end | left | right | center | justify | match-parent | justify-all",
|
|
303
339
|
"initial": "start",
|
|
304
340
|
"appliesTo": "block containers",
|
|
@@ -311,48 +347,56 @@
|
|
|
311
347
|
{
|
|
312
348
|
"name": "start",
|
|
313
349
|
"prose": "Inline-level content is aligned to the start edge of the line box.",
|
|
350
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-start",
|
|
314
351
|
"type": "value",
|
|
315
352
|
"value": "start"
|
|
316
353
|
},
|
|
317
354
|
{
|
|
318
355
|
"name": "end",
|
|
319
356
|
"prose": "Inline-level content is aligned to the end edge of the line box.",
|
|
357
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-end",
|
|
320
358
|
"type": "value",
|
|
321
359
|
"value": "end"
|
|
322
360
|
},
|
|
323
361
|
{
|
|
324
362
|
"name": "left",
|
|
325
363
|
"prose": "Inline-level content is aligned to the line-left edge of the line box. (In vertical writing modes, this can be either the physical top or bottom, depending on writing-mode.) [CSS-WRITING-MODES-4]",
|
|
364
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-left",
|
|
326
365
|
"type": "value",
|
|
327
366
|
"value": "left"
|
|
328
367
|
},
|
|
329
368
|
{
|
|
330
369
|
"name": "right",
|
|
331
370
|
"prose": "Inline-level content is aligned to the line-right edge of the line box. (In vertical writing modes, this can be either the physical top or bottom, depending on writing-mode.) [CSS-WRITING-MODES-4]",
|
|
371
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-right",
|
|
332
372
|
"type": "value",
|
|
333
373
|
"value": "right"
|
|
334
374
|
},
|
|
335
375
|
{
|
|
336
376
|
"name": "center",
|
|
337
377
|
"prose": "Inline-level content is centered within the line box.",
|
|
378
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-center",
|
|
338
379
|
"type": "value",
|
|
339
380
|
"value": "center"
|
|
340
381
|
},
|
|
341
382
|
{
|
|
342
383
|
"name": "justify",
|
|
343
384
|
"prose": "Text is justified according to the method specified by the text-justify property, in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned.",
|
|
385
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-justify",
|
|
344
386
|
"type": "value",
|
|
345
387
|
"value": "justify"
|
|
346
388
|
},
|
|
347
389
|
{
|
|
348
390
|
"name": "justify-all",
|
|
349
391
|
"prose": "Sets both text-align-all and text-align-last to justify, forcing the last line to justify as well.",
|
|
392
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-justify-all",
|
|
350
393
|
"type": "value",
|
|
351
394
|
"value": "justify-all"
|
|
352
395
|
},
|
|
353
396
|
{
|
|
354
397
|
"name": "match-parent",
|
|
355
398
|
"prose": "This value behaves the same as inherit (computes to its parent’s computed value) except that an inherited value of start or end is interpreted against the parent’s direction value and results in a computed value of either left or right. Computes to start when specified on the root element. When specified on the text-align shorthand, sets both text-align-all and text-align-last to match-parent.",
|
|
399
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-match-parent",
|
|
356
400
|
"type": "value",
|
|
357
401
|
"value": "match-parent"
|
|
358
402
|
}
|
|
@@ -364,6 +408,7 @@
|
|
|
364
408
|
},
|
|
365
409
|
{
|
|
366
410
|
"name": "text-align-all",
|
|
411
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-align-all",
|
|
367
412
|
"value": "start | end | left | right | center | justify | match-parent",
|
|
368
413
|
"initial": "start",
|
|
369
414
|
"appliesTo": "block containers",
|
|
@@ -379,6 +424,7 @@
|
|
|
379
424
|
},
|
|
380
425
|
{
|
|
381
426
|
"name": "text-align-last",
|
|
427
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-align-last",
|
|
382
428
|
"value": "auto | start | end | left | right | center | justify | match-parent",
|
|
383
429
|
"initial": "auto",
|
|
384
430
|
"appliesTo": "block containers",
|
|
@@ -391,6 +437,7 @@
|
|
|
391
437
|
{
|
|
392
438
|
"name": "auto",
|
|
393
439
|
"prose": "If auto is specified, content on the affected line is aligned per text-align-all unless text-align-all is set to justify, in which case it is start-aligned. All other values are interpreted as described for text-align.",
|
|
440
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-align-last-auto",
|
|
394
441
|
"type": "value",
|
|
395
442
|
"value": "auto"
|
|
396
443
|
}
|
|
@@ -402,6 +449,7 @@
|
|
|
402
449
|
},
|
|
403
450
|
{
|
|
404
451
|
"name": "text-justify",
|
|
452
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-justify",
|
|
405
453
|
"value": "auto | none | inter-word | inter-character",
|
|
406
454
|
"initial": "auto",
|
|
407
455
|
"appliesTo": "text",
|
|
@@ -414,30 +462,35 @@
|
|
|
414
462
|
{
|
|
415
463
|
"name": "auto",
|
|
416
464
|
"prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems—such as primarily expanding word separators and between CJK typographic letter units along with secondarily expanding between Southeast Asian typographic letter units. Then, in cases where the content language of the paragraph is known, it could choose a more language-tailored justification behavior e.g. following the Requirements for Japanese Text Layout for Japanese [JLREQ], using cursive elongation for Arabic, using inter-word for German, etc. An example of cursively-justified Arabic text, rendered by Tasmeem. Like English, Arabic can be justified by adjusting the spacing between words, but in most styles it can also be justified by calligraphically elongating or compressing the letterforms themselves. In this example, the upper text is extended to fill the line by the use of elongated (kashida) forms and swash forms, while the bottom line is compressed slightly by using a stacked combination for the characters between ت and م. By employing traditional calligraphic techniques, a typesetter can justify the line while preserving flow and color, providing a very high quality justification effect. However, this is by its nature a very script-specific effect. Mixed-script text with text-justify: auto: this interpretation uses a universal-compromise justification method, expanding at spaces as well as between CJK and Southeast Asian letters. This effectively uses inter-word + inter-ideograph spacing for lines that have word-separators and/or CJK characters and falls back to inter-cluster behavior for lines that don’t or for which the space stretches too far.",
|
|
465
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-justify-auto",
|
|
417
466
|
"type": "value",
|
|
418
467
|
"value": "auto"
|
|
419
468
|
},
|
|
420
469
|
{
|
|
421
470
|
"name": "none",
|
|
422
471
|
"prose": "Justification is disabled: there are no justification opportunities within the text. Mixed-script text with text-justify: none",
|
|
472
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-justify-none",
|
|
423
473
|
"type": "value",
|
|
424
474
|
"value": "none"
|
|
425
475
|
},
|
|
426
476
|
{
|
|
427
477
|
"name": "inter-word",
|
|
428
478
|
"prose": "Justification adjusts spacing at word separators only (effectively varying the used word-spacing on the line). This behavior is typical for languages that separate words using spaces, like English or Korean. Mixed-script text with text-justify: inter-word",
|
|
479
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-justify-inter-word",
|
|
429
480
|
"type": "value",
|
|
430
481
|
"value": "inter-word"
|
|
431
482
|
},
|
|
432
483
|
{
|
|
433
484
|
"name": "inter-character",
|
|
434
485
|
"prose": "Justification adjusts spacing between each pair of adjacent typographic character units (effectively varying the used letter-spacing on the line). This value is sometimes used in East Asian systems such as Japanese. Mixed-script text with text-justify: inter-character For legacy reasons, UAs must also support the alternate keyword distribute which must compute to inter-character, thus having the exact same meaning and behavior. UAs may treat this as a legacy value alias.",
|
|
486
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-justify-inter-character",
|
|
435
487
|
"type": "value",
|
|
436
488
|
"value": "inter-character"
|
|
437
489
|
},
|
|
438
490
|
{
|
|
439
491
|
"name": "distribute",
|
|
440
492
|
"prose": "For legacy reasons, UAs must also support the alternate keyword distribute which must compute to inter-character, thus having the exact same meaning and behavior. UAs may treat this as a legacy value alias.",
|
|
493
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-justify-distribute",
|
|
441
494
|
"type": "value",
|
|
442
495
|
"value": "distribute"
|
|
443
496
|
}
|
|
@@ -449,6 +502,7 @@
|
|
|
449
502
|
},
|
|
450
503
|
{
|
|
451
504
|
"name": "word-spacing",
|
|
505
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-word-spacing",
|
|
452
506
|
"value": "normal | <length>",
|
|
453
507
|
"initial": "normal",
|
|
454
508
|
"appliesTo": "text",
|
|
@@ -461,12 +515,14 @@
|
|
|
461
515
|
{
|
|
462
516
|
"name": "normal",
|
|
463
517
|
"prose": "No additional spacing is applied. Computes to zero.",
|
|
518
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-spacing-normal",
|
|
464
519
|
"type": "value",
|
|
465
520
|
"value": "normal"
|
|
466
521
|
},
|
|
467
522
|
{
|
|
468
523
|
"name": "<length>",
|
|
469
524
|
"prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font.",
|
|
525
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-word-spacing-length",
|
|
470
526
|
"type": "value",
|
|
471
527
|
"value": "<length>"
|
|
472
528
|
}
|
|
@@ -478,6 +534,7 @@
|
|
|
478
534
|
},
|
|
479
535
|
{
|
|
480
536
|
"name": "letter-spacing",
|
|
537
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-letter-spacing",
|
|
481
538
|
"value": "normal | <length>",
|
|
482
539
|
"initial": "normal",
|
|
483
540
|
"appliesTo": "inline boxes and text",
|
|
@@ -490,12 +547,14 @@
|
|
|
490
547
|
{
|
|
491
548
|
"name": "normal",
|
|
492
549
|
"prose": "No additional spacing is applied. Computes to zero.",
|
|
550
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-letter-spacing-normal",
|
|
493
551
|
"type": "value",
|
|
494
552
|
"value": "normal"
|
|
495
553
|
},
|
|
496
554
|
{
|
|
497
555
|
"name": "<length>",
|
|
498
556
|
"prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits.",
|
|
557
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-letter-spacing-length",
|
|
499
558
|
"type": "value",
|
|
500
559
|
"value": "<length>"
|
|
501
560
|
}
|
|
@@ -507,6 +566,7 @@
|
|
|
507
566
|
},
|
|
508
567
|
{
|
|
509
568
|
"name": "text-indent",
|
|
569
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-text-indent",
|
|
510
570
|
"value": "[ <length-percentage> ] && hanging? && each-line?",
|
|
511
571
|
"initial": "0",
|
|
512
572
|
"appliesTo": "block containers",
|
|
@@ -519,24 +579,28 @@
|
|
|
519
579
|
{
|
|
520
580
|
"name": "<length>",
|
|
521
581
|
"prose": "Gives the amount of the indent as an absolute length.",
|
|
582
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-indent-length",
|
|
522
583
|
"type": "value",
|
|
523
584
|
"value": "<length>"
|
|
524
585
|
},
|
|
525
586
|
{
|
|
526
587
|
"name": "<percentage>",
|
|
527
588
|
"prose": "Gives the amount of the indent as a percentage of the block container’s own logical width. Percentages must be treated as 0 for the purpose of calculating intrinsic size contributions, but are always resolved normally when performing layout.",
|
|
589
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-indent-percentage",
|
|
528
590
|
"type": "value",
|
|
529
591
|
"value": "<percentage>"
|
|
530
592
|
},
|
|
531
593
|
{
|
|
532
594
|
"name": "each-line",
|
|
533
595
|
"prose": "Indentation affects the first line of each block container and each line after a forced line break (but not lines after a soft wrap break).",
|
|
596
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-indent-each-line",
|
|
534
597
|
"type": "value",
|
|
535
598
|
"value": "each-line"
|
|
536
599
|
},
|
|
537
600
|
{
|
|
538
601
|
"name": "hanging",
|
|
539
602
|
"prose": "Inverts which lines are affected.",
|
|
603
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-text-indent-hanging",
|
|
540
604
|
"type": "value",
|
|
541
605
|
"value": "hanging"
|
|
542
606
|
}
|
|
@@ -548,6 +612,7 @@
|
|
|
548
612
|
},
|
|
549
613
|
{
|
|
550
614
|
"name": "hanging-punctuation",
|
|
615
|
+
"href": "https://drafts.csswg.org/css-text-3/#propdef-hanging-punctuation",
|
|
551
616
|
"value": "none | [ first || [ force-end | allow-end ] || last ]",
|
|
552
617
|
"initial": "none",
|
|
553
618
|
"appliesTo": "text",
|
|
@@ -560,30 +625,35 @@
|
|
|
560
625
|
{
|
|
561
626
|
"name": "none",
|
|
562
627
|
"prose": "No punctuation character is made to hang.",
|
|
628
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hanging-punctuation-none",
|
|
563
629
|
"type": "value",
|
|
564
630
|
"value": "none"
|
|
565
631
|
},
|
|
566
632
|
{
|
|
567
633
|
"name": "first",
|
|
568
634
|
"prose": "An opening bracket, quote, or ideographic space at the start of the first formatted line of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK and the IDEOGRAPHIC SPACE U+3000.",
|
|
635
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hanging-punctuation-first",
|
|
569
636
|
"type": "value",
|
|
570
637
|
"value": "first"
|
|
571
638
|
},
|
|
572
639
|
{
|
|
573
640
|
"name": "last",
|
|
574
641
|
"prose": "A closing bracket or quote at the end of the last formatted line of an element hangs. This applies to all characters in the Unicode categories Pe, Pf, Pi plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 \" QUOTATION MARK.",
|
|
642
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hanging-punctuation-last",
|
|
575
643
|
"type": "value",
|
|
576
644
|
"value": "last"
|
|
577
645
|
},
|
|
578
646
|
{
|
|
579
647
|
"name": "force-end",
|
|
580
648
|
"prose": "A stop or comma at the end of a line hangs.",
|
|
649
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hanging-punctuation-force-end",
|
|
581
650
|
"type": "value",
|
|
582
651
|
"value": "force-end"
|
|
583
652
|
},
|
|
584
653
|
{
|
|
585
654
|
"name": "allow-end",
|
|
586
655
|
"prose": "A stop or comma at the end of a line conditionally hangs.",
|
|
656
|
+
"href": "https://drafts.csswg.org/css-text-3/#valdef-hanging-punctuation-allow-end",
|
|
587
657
|
"type": "value",
|
|
588
658
|
"value": "allow-end"
|
|
589
659
|
}
|