@webref/css 6.23.0 → 7.0.1-alpha
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/CHANGELOG.md +17 -0
- package/README.md +37 -22
- package/css.json +17754 -0
- package/index.js +2 -9
- package/package.json +1 -1
- package/CSS.json +0 -567
- package/SVG.json +0 -387
- package/compat.json +0 -784
- package/compositing.json +0 -178
- package/css-align.json +0 -559
- package/css-anchor-position.json +0 -1042
- package/css-animations-2.json +0 -377
- package/css-animations.json +0 -337
- package/css-backgrounds-4.json +0 -402
- package/css-backgrounds.json +0 -732
- package/css-borders.json +0 -1642
- package/css-box.json +0 -484
- package/css-break.json +0 -444
- package/css-cascade-6.json +0 -31
- package/css-cascade.json +0 -91
- package/css-color-5.json +0 -527
- package/css-color-6.json +0 -60
- package/css-color-adjust.json +0 -151
- package/css-color-hdr.json +0 -183
- package/css-color.json +0 -1759
- package/css-conditional-4.json +0 -23
- package/css-conditional-5.json +0 -505
- package/css-conditional.json +0 -50
- package/css-contain.json +0 -123
- package/css-content.json +0 -466
- package/css-counter-styles.json +0 -613
- package/css-display.json +0 -444
- package/css-easing.json +0 -149
- package/css-env.json +0 -109
- package/css-exclusions.json +0 -108
- package/css-extensions.json +0 -36
- package/css-flexbox.json +0 -259
- package/css-fonts-5.json +0 -385
- package/css-fonts.json +0 -1754
- package/css-forms.json +0 -281
- package/css-gaps.json +0 -544
- package/css-gcpm-4.json +0 -58
- package/css-gcpm.json +0 -138
- package/css-grid-3.json +0 -335
- package/css-grid.json +0 -824
- package/css-images-4.json +0 -367
- package/css-images-5.json +0 -43
- package/css-images.json +0 -373
- package/css-inline.json +0 -903
- package/css-layout-api.json +0 -21
- package/css-line-grid.json +0 -142
- package/css-link-params.json +0 -34
- package/css-lists.json +0 -337
- package/css-logical.json +0 -396
- package/css-masking.json +0 -717
- package/css-mixins.json +0 -58
- package/css-multicol.json +0 -253
- package/css-namespaces.json +0 -25
- package/css-nav.json +0 -121
- package/css-nesting.json +0 -17
- package/css-overflow-4.json +0 -428
- package/css-overflow-5.json +0 -226
- package/css-overflow.json +0 -379
- package/css-overscroll.json +0 -215
- package/css-page-floats.json +0 -296
- package/css-page.json +0 -382
- package/css-paint-api.json +0 -17
- package/css-position-4.json +0 -49
- package/css-position.json +0 -495
- package/css-properties-values-api.json +0 -39
- package/css-pseudo.json +0 -98
- package/css-regions.json +0 -59
- package/css-rhythm.json +0 -181
- package/css-round-display.json +0 -85
- package/css-ruby.json +0 -221
- package/css-scoping.json +0 -38
- package/css-scroll-anchoring.json +0 -43
- package/css-scroll-snap-2.json +0 -74
- package/css-scroll-snap.json +0 -643
- package/css-scrollbars.json +0 -82
- package/css-shadow-parts.json +0 -17
- package/css-shapes-2.json +0 -89
- package/css-shapes.json +0 -384
- package/css-size-adjust.json +0 -50
- package/css-sizing-4.json +0 -601
- package/css-sizing.json +0 -427
- package/css-speech.json +0 -985
- package/css-syntax.json +0 -263
- package/css-tables.json +0 -91
- package/css-text-4.json +0 -1516
- package/css-text-decor-4.json +0 -741
- package/css-text-decor.json +0 -337
- package/css-text.json +0 -670
- package/css-transforms-2.json +0 -329
- package/css-transforms.json +0 -213
- package/css-transitions-2.json +0 -47
- package/css-transitions.json +0 -119
- package/css-ui.json +0 -818
- package/css-values-5.json +0 -854
- package/css-values.json +0 -790
- package/css-variables.json +0 -29
- package/css-view-transitions-2.json +0 -152
- package/css-view-transitions.json +0 -77
- package/css-viewport.json +0 -43
- package/css-will-change.json +0 -64
- package/css-writing-modes.json +0 -256
- package/fill-stroke.json +0 -755
- package/filter-effects-2.json +0 -28
- package/filter-effects.json +0 -220
- package/html.json +0 -29
- package/mathml-core.json +0 -69
- package/mediaqueries-5.json +0 -915
- package/mediaqueries.json +0 -549
- package/motion.json +0 -303
- package/pointer-animations.json +0 -282
- package/scroll-animations.json +0 -519
- package/selectors-5.json +0 -22
- package/selectors.json +0 -604
- package/svg-strokes.json +0 -59
- package/upgrade-insecure-requests.json +0 -28
- package/webvtt.json +0 -33
- package/webxr-dom-overlays.json +0 -17
package/css-text-4.json
DELETED
|
@@ -1,1516 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"title": "CSS Text Module Level 4",
|
|
4
|
-
"url": "https://drafts.csswg.org/css-text-4/"
|
|
5
|
-
},
|
|
6
|
-
"properties": [
|
|
7
|
-
{
|
|
8
|
-
"name": "text-transform",
|
|
9
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-transform",
|
|
10
|
-
"value": "none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana | math-auto",
|
|
11
|
-
"initial": "none",
|
|
12
|
-
"appliesTo": "text",
|
|
13
|
-
"inherited": "yes",
|
|
14
|
-
"percentages": "n/a",
|
|
15
|
-
"computedValue": "specified keyword",
|
|
16
|
-
"canonicalOrder": "n/a",
|
|
17
|
-
"animationType": "discrete",
|
|
18
|
-
"values": [
|
|
19
|
-
{
|
|
20
|
-
"name": "none",
|
|
21
|
-
"prose": "No effects.",
|
|
22
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-none",
|
|
23
|
-
"type": "value",
|
|
24
|
-
"value": "none"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "capitalize",
|
|
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-4/#valdef-text-transform-capitalize",
|
|
30
|
-
"type": "value",
|
|
31
|
-
"value": "capitalize"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "uppercase",
|
|
35
|
-
"prose": "Puts all letters in uppercase.",
|
|
36
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-uppercase",
|
|
37
|
-
"type": "value",
|
|
38
|
-
"value": "uppercase"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "lowercase",
|
|
42
|
-
"prose": "Puts all letters in lowercase.",
|
|
43
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-lowercase",
|
|
44
|
-
"type": "value",
|
|
45
|
-
"value": "lowercase"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "full-width",
|
|
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-4/#valdef-text-transform-full-width",
|
|
51
|
-
"type": "value",
|
|
52
|
-
"value": "full-width"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "full-size-kana",
|
|
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-4/#valdef-text-transform-full-size-kana",
|
|
58
|
-
"type": "value",
|
|
59
|
-
"value": "full-size-kana"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "math-auto",
|
|
63
|
-
"prose": "See MathML Core § 4.2 The math-auto transform.",
|
|
64
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-math-auto",
|
|
65
|
-
"type": "value",
|
|
66
|
-
"value": "math-auto"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"styleDeclaration": [
|
|
70
|
-
"text-transform",
|
|
71
|
-
"textTransform"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "word-space-transform",
|
|
76
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-word-space-transform",
|
|
77
|
-
"value": "none | [ space | ideographic-space ] && auto-phrase?",
|
|
78
|
-
"initial": "none",
|
|
79
|
-
"appliesTo": "text",
|
|
80
|
-
"inherited": "yes",
|
|
81
|
-
"percentages": "N/A",
|
|
82
|
-
"computedValue": "as specified",
|
|
83
|
-
"canonicalOrder": "per grammar",
|
|
84
|
-
"animationType": "discrete",
|
|
85
|
-
"values": [
|
|
86
|
-
{
|
|
87
|
-
"name": "none",
|
|
88
|
-
"prose": "This property has no effect.",
|
|
89
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-space-transform-none",
|
|
90
|
-
"type": "value",
|
|
91
|
-
"value": "none"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "space",
|
|
95
|
-
"prose": "Expandable separators within the child text of this element are replaced by U+0020 SPACE.",
|
|
96
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-space-transform-space",
|
|
97
|
-
"type": "value",
|
|
98
|
-
"value": "space"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "ideographic-space",
|
|
102
|
-
"prose": "Expandable separators within the child text of this element are replaced by U+3000 IDEOGRAPHIC SPACE.",
|
|
103
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-space-transform-ideographic-space",
|
|
104
|
-
"type": "value",
|
|
105
|
-
"value": "ideographic-space"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "auto-phrase",
|
|
109
|
-
"prose": "If the content language is known and the user agent supports linguistic analysis for this language, the user agent must detect phrase boundaries. If a word-separator character, other space separator, or U+200B ZERO WIDTH SPACE character does not already occur at that boundary, then the UA must insert a virtual expandable separator. If this value is omitted, or if the content language is unknown, or if the user agent does not support detecting phrase boundaries for that language, there are no virtual expandable separator.",
|
|
110
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-space-transform-auto-phrase",
|
|
111
|
-
"type": "value",
|
|
112
|
-
"value": "auto-phrase"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"styleDeclaration": [
|
|
116
|
-
"word-space-transform",
|
|
117
|
-
"wordSpaceTransform"
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"name": "white-space",
|
|
122
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-white-space",
|
|
123
|
-
"value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
|
|
124
|
-
"initial": "normal",
|
|
125
|
-
"appliesTo": "text",
|
|
126
|
-
"inherited": "see individual properties",
|
|
127
|
-
"percentages": "n/a",
|
|
128
|
-
"computedValue": "specified keyword",
|
|
129
|
-
"canonicalOrder": "n/a",
|
|
130
|
-
"animationType": "discrete",
|
|
131
|
-
"values": [
|
|
132
|
-
{
|
|
133
|
-
"name": "normal",
|
|
134
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-normal",
|
|
135
|
-
"type": "value",
|
|
136
|
-
"value": "normal"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "pre",
|
|
140
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-pre",
|
|
141
|
-
"type": "value",
|
|
142
|
-
"value": "pre"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "pre-wrap",
|
|
146
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-pre-wrap",
|
|
147
|
-
"type": "value",
|
|
148
|
-
"value": "pre-wrap"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "pre-line",
|
|
152
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-pre-line",
|
|
153
|
-
"type": "value",
|
|
154
|
-
"value": "pre-line"
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"styleDeclaration": [
|
|
158
|
-
"white-space",
|
|
159
|
-
"whiteSpace"
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "white-space-collapse",
|
|
164
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-white-space-collapse",
|
|
165
|
-
"value": "collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",
|
|
166
|
-
"initial": "collapse",
|
|
167
|
-
"appliesTo": "text",
|
|
168
|
-
"inherited": "yes",
|
|
169
|
-
"percentages": "n/a",
|
|
170
|
-
"computedValue": "specified keyword",
|
|
171
|
-
"canonicalOrder": "per grammar",
|
|
172
|
-
"animationType": "discrete",
|
|
173
|
-
"values": [
|
|
174
|
-
{
|
|
175
|
-
"name": "collapse",
|
|
176
|
-
"prose": "This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character).",
|
|
177
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-collapse",
|
|
178
|
-
"type": "value",
|
|
179
|
-
"value": "collapse"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "preserve",
|
|
183
|
-
"prose": "This value prevents user agents from collapsing sequences of white space. Segment breaks such as line feeds are preserved as forced line breaks.",
|
|
184
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-preserve",
|
|
185
|
-
"type": "value",
|
|
186
|
-
"value": "preserve"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "preserve-breaks",
|
|
190
|
-
"prose": "Like collapse, this value collapses consecutive white space characters, but preserves segment breaks in the source as forced line breaks.",
|
|
191
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-preserve-breaks",
|
|
192
|
-
"type": "value",
|
|
193
|
-
"value": "preserve-breaks"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"name": "preserve-spaces",
|
|
197
|
-
"prose": "This value prevents user agents from collapsing sequences of white space, and converts tabs and segment breaks to spaces. (This value is intended to represent the behavior of xml:space=\"preserve\" in SVG.)",
|
|
198
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-preserve-spaces",
|
|
199
|
-
"type": "value",
|
|
200
|
-
"value": "preserve-spaces"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "break-spaces",
|
|
204
|
-
"prose": "The behavior is identical to that of preserve, 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).",
|
|
205
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-break-spaces",
|
|
206
|
-
"type": "value",
|
|
207
|
-
"value": "break-spaces"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"name": "discard",
|
|
211
|
-
"prose": "This value directs user agents to “discard” all white space in the element. Does this preserve line break opportunities or no? Do we need a distinct \"hide\" value? If it preserves line break opportunities, maybe it should be replaced with a word-space-transform value?",
|
|
212
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-collapse-discard",
|
|
213
|
-
"type": "value",
|
|
214
|
-
"value": "discard"
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"styleDeclaration": [
|
|
218
|
-
"white-space-collapse",
|
|
219
|
-
"whiteSpaceCollapse"
|
|
220
|
-
]
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "white-space-trim",
|
|
224
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-white-space-trim",
|
|
225
|
-
"value": "none | discard-before || discard-after || discard-inner",
|
|
226
|
-
"initial": "none",
|
|
227
|
-
"appliesTo": "inline boxes and block containers",
|
|
228
|
-
"inherited": "no",
|
|
229
|
-
"percentages": "n/a",
|
|
230
|
-
"computedValue": "specified keyword(s)",
|
|
231
|
-
"canonicalOrder": "per grammar",
|
|
232
|
-
"animationType": "discrete",
|
|
233
|
-
"values": [
|
|
234
|
-
{
|
|
235
|
-
"name": "discard-before",
|
|
236
|
-
"prose": "This value directs the UA to collapse all collapsible whitespace immediately before the start of the element.",
|
|
237
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-trim-discard-before",
|
|
238
|
-
"type": "value",
|
|
239
|
-
"value": "discard-before"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "discard-after",
|
|
243
|
-
"prose": "This value directs the UA to collapse all collapsible whitespace immediately after the end of the element.",
|
|
244
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-trim-discard-after",
|
|
245
|
-
"type": "value",
|
|
246
|
-
"value": "discard-after"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "discard-inner",
|
|
250
|
-
"prose": "For block containers this value directs UAs to discard all whitespace at the beginning of the element up to and including the last segment break before the first non-white-space character in the element as well as to discard all white space at the end of the element starting with the first segment break after the last non-white-space character in the element. For other elements this value directs UAs to discard all whitespace at the beginning and end of the element.",
|
|
251
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-white-space-trim-discard-inner",
|
|
252
|
-
"type": "value",
|
|
253
|
-
"value": "discard-inner"
|
|
254
|
-
}
|
|
255
|
-
],
|
|
256
|
-
"styleDeclaration": [
|
|
257
|
-
"white-space-trim",
|
|
258
|
-
"whiteSpaceTrim"
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "tab-size",
|
|
263
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-tab-size",
|
|
264
|
-
"value": "<number [0,∞]> | <length [0,∞]>",
|
|
265
|
-
"initial": "8",
|
|
266
|
-
"appliesTo": "text",
|
|
267
|
-
"inherited": "yes",
|
|
268
|
-
"percentages": "n/a",
|
|
269
|
-
"computedValue": "the specified number or absolute length",
|
|
270
|
-
"canonicalOrder": "n/a",
|
|
271
|
-
"animationType": "by computed value type",
|
|
272
|
-
"styleDeclaration": [
|
|
273
|
-
"tab-size",
|
|
274
|
-
"tabSize"
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "text-wrap-mode",
|
|
279
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap-mode",
|
|
280
|
-
"value": "wrap | nowrap",
|
|
281
|
-
"initial": "wrap",
|
|
282
|
-
"appliesTo": "text",
|
|
283
|
-
"inherited": "yes",
|
|
284
|
-
"percentages": "n/a",
|
|
285
|
-
"computedValue": "specified keyword",
|
|
286
|
-
"canonicalOrder": "per grammar",
|
|
287
|
-
"animationType": "discrete",
|
|
288
|
-
"values": [
|
|
289
|
-
{
|
|
290
|
-
"name": "wrap",
|
|
291
|
-
"prose": "Content may break across lines at allowed soft wrap opportunities, as determined by the line-breaking rules in effect, in order to minimize inline-axis overflow.",
|
|
292
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-mode-wrap",
|
|
293
|
-
"type": "value",
|
|
294
|
-
"value": "wrap"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"name": "nowrap",
|
|
298
|
-
"prose": "Inline-level content does not break across lines; content that does not fit within the block container overflows it.",
|
|
299
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-mode-nowrap",
|
|
300
|
-
"type": "value",
|
|
301
|
-
"value": "nowrap"
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"styleDeclaration": [
|
|
305
|
-
"text-wrap-mode",
|
|
306
|
-
"textWrapMode"
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"name": "wrap-inside",
|
|
311
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-wrap-inside",
|
|
312
|
-
"value": "auto | avoid",
|
|
313
|
-
"initial": "auto",
|
|
314
|
-
"appliesTo": "inline boxes",
|
|
315
|
-
"inherited": "no",
|
|
316
|
-
"percentages": "n/a",
|
|
317
|
-
"computedValue": "specified keyword",
|
|
318
|
-
"canonicalOrder": "per grammar",
|
|
319
|
-
"animationType": "discrete",
|
|
320
|
-
"values": [
|
|
321
|
-
{
|
|
322
|
-
"name": "auto",
|
|
323
|
-
"prose": "Lines may break at allowed break points within the box, as determined by the line-breaking rules in effect.",
|
|
324
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-inside-auto",
|
|
325
|
-
"type": "value",
|
|
326
|
-
"value": "auto"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"name": "avoid",
|
|
330
|
-
"prose": "Line breaking is suppressed within the box: the UA may only break within the box if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto. If boxes with avoid are nested and the UA must break within these boxes, a break in an outer box must be used before a break within an inner box may be used.",
|
|
331
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-inside-avoid",
|
|
332
|
-
"type": "value",
|
|
333
|
-
"value": "avoid"
|
|
334
|
-
}
|
|
335
|
-
],
|
|
336
|
-
"styleDeclaration": [
|
|
337
|
-
"wrap-inside",
|
|
338
|
-
"wrapInside"
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"name": "wrap-before",
|
|
343
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-wrap-before",
|
|
344
|
-
"value": "auto | avoid | avoid-line | avoid-flex | line | flex",
|
|
345
|
-
"initial": "auto",
|
|
346
|
-
"appliesTo": "inline-level boxes and flex items",
|
|
347
|
-
"inherited": "no",
|
|
348
|
-
"percentages": "n/a",
|
|
349
|
-
"computedValue": "specified keyword",
|
|
350
|
-
"canonicalOrder": "per grammar",
|
|
351
|
-
"animationType": "discrete",
|
|
352
|
-
"values": [
|
|
353
|
-
{
|
|
354
|
-
"name": "auto",
|
|
355
|
-
"prose": "Lines may break at allowed break points before and after the box, as determined by the line-breaking rules in effect.",
|
|
356
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-auto",
|
|
357
|
-
"type": "value",
|
|
358
|
-
"value": "auto"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"name": "avoid",
|
|
362
|
-
"prose": "Line breaking is suppressed immediately before/after the box: the UA may only break there if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto.",
|
|
363
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid",
|
|
364
|
-
"type": "value",
|
|
365
|
-
"value": "avoid"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"name": "avoid-line",
|
|
369
|
-
"prose": "Same as avoid, but only for line breaks.",
|
|
370
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid-line",
|
|
371
|
-
"type": "value",
|
|
372
|
-
"value": "avoid-line"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"name": "avoid-flex",
|
|
376
|
-
"prose": "Same as avoid, but only for flex line breaks.",
|
|
377
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid-flex",
|
|
378
|
-
"type": "value",
|
|
379
|
-
"value": "avoid-flex"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"name": "line",
|
|
383
|
-
"prose": "Force a line break immediately before/after the box if the box is an inline-level box.",
|
|
384
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-line",
|
|
385
|
-
"type": "value",
|
|
386
|
-
"value": "line"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"name": "flex",
|
|
390
|
-
"prose": "Force a flex line break immediately before/after the box if the box is a flex item in a multi-line flex container.",
|
|
391
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-flex",
|
|
392
|
-
"type": "value",
|
|
393
|
-
"value": "flex"
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"styleDeclaration": [
|
|
397
|
-
"wrap-before",
|
|
398
|
-
"wrapBefore"
|
|
399
|
-
]
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"name": "wrap-after",
|
|
403
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-wrap-after",
|
|
404
|
-
"value": "auto | avoid | avoid-line | avoid-flex | line | flex",
|
|
405
|
-
"initial": "auto",
|
|
406
|
-
"appliesTo": "inline-level boxes and flex items",
|
|
407
|
-
"inherited": "no",
|
|
408
|
-
"percentages": "n/a",
|
|
409
|
-
"computedValue": "specified keyword",
|
|
410
|
-
"canonicalOrder": "per grammar",
|
|
411
|
-
"animationType": "discrete",
|
|
412
|
-
"values": [
|
|
413
|
-
{
|
|
414
|
-
"name": "auto",
|
|
415
|
-
"prose": "Lines may break at allowed break points before and after the box, as determined by the line-breaking rules in effect.",
|
|
416
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-auto",
|
|
417
|
-
"type": "value",
|
|
418
|
-
"value": "auto"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"name": "avoid",
|
|
422
|
-
"prose": "Line breaking is suppressed immediately before/after the box: the UA may only break there if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for auto.",
|
|
423
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid",
|
|
424
|
-
"type": "value",
|
|
425
|
-
"value": "avoid"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"name": "avoid-line",
|
|
429
|
-
"prose": "Same as avoid, but only for line breaks.",
|
|
430
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid-line",
|
|
431
|
-
"type": "value",
|
|
432
|
-
"value": "avoid-line"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"name": "avoid-flex",
|
|
436
|
-
"prose": "Same as avoid, but only for flex line breaks.",
|
|
437
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-avoid-flex",
|
|
438
|
-
"type": "value",
|
|
439
|
-
"value": "avoid-flex"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"name": "line",
|
|
443
|
-
"prose": "Force a line break immediately before/after the box if the box is an inline-level box.",
|
|
444
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-line",
|
|
445
|
-
"type": "value",
|
|
446
|
-
"value": "line"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"name": "flex",
|
|
450
|
-
"prose": "Force a flex line break immediately before/after the box if the box is a flex item in a multi-line flex container.",
|
|
451
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-wrap-before-flex",
|
|
452
|
-
"type": "value",
|
|
453
|
-
"value": "flex"
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
"styleDeclaration": [
|
|
457
|
-
"wrap-after",
|
|
458
|
-
"wrapAfter"
|
|
459
|
-
]
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"name": "text-wrap-style",
|
|
463
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap-style",
|
|
464
|
-
"value": "auto | balance | stable | pretty | avoid-orphans",
|
|
465
|
-
"initial": "auto",
|
|
466
|
-
"appliesTo": "block containers hat establish an inline formatting context",
|
|
467
|
-
"inherited": "yes",
|
|
468
|
-
"percentages": "n/a",
|
|
469
|
-
"computedValue": "specified keyword",
|
|
470
|
-
"canonicalOrder": "per grammar",
|
|
471
|
-
"animationType": "discrete",
|
|
472
|
-
"values": [
|
|
473
|
-
{
|
|
474
|
-
"name": "auto",
|
|
475
|
-
"prose": "The exact algorithm for selecting which soft wrap opportunity to break at is UA-defined. The algorithm may consider multiple lines when making break decisions. The UA may bias for speed over best layout. The UA must not attempt to even out all lines (including the last) as for balance. This value selects the UA’s preferred (or most Web-compatible) wrapping algorithm.",
|
|
476
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-auto",
|
|
477
|
-
"type": "value",
|
|
478
|
-
"value": "auto"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "balance",
|
|
482
|
-
"prose": "Line breaks are chosen to balance the remaining (empty) space in each line box, if better balance than auto is possible. This should avoid changing—and in the case of 5 or fewer lines must not change—the number of line boxes the block would contain if text-wrap were set to auto. The remaining space to consider is that which remains after placing floats and inline content, but before any adjustments due to text justification. Line boxes are balanced when the standard deviation from the average inline-size of the remaining space in each line box is reduced over the block (including lines that end in a forced break). Groups of lines separated by a forced line break are processed separately. If the element is affected by line-clamp, the clamping effect is applied first, then the remaining lines are balanced. The exact algorithm is UA-defined. UAs may treat this value as auto if there are more than ten lines to balance.",
|
|
483
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-balance",
|
|
484
|
-
"type": "value",
|
|
485
|
-
"value": "balance"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"name": "stable",
|
|
489
|
-
"prose": "Specifies that content on subsequent lines should not be considered when making break decisions so that when editing text any content before the cursor remains stable; otherwise equivalent to auto,",
|
|
490
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-stable",
|
|
491
|
-
"type": "value",
|
|
492
|
-
"value": "stable"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"name": "pretty",
|
|
496
|
-
"prose": "Specifies the UA should bias for better layout over speed, and is expected to consider multiple lines when making break decisions. Otherwise equivalent to auto. The user agent may among other things attempt to avoid excessively short last lines, similarly to avoid-orphans, but it should also improve the layout in additional ways. The precise set of improvements is user agent dependent, and may include things such as: reducing the variation in length between lines; avoiding typographic rivers; prioritizing different classes of soft wrap opportunities, hyphenation opportunities, or justification opportunities; avoiding hyphenation on too many consecutive lines… The necessary computations may be expensive, especially when applied to large amounts of text. Authors are encouraged to assess the impact on performance when using text-wrap-style: pretty, and possibly use it selectively where it matters most.",
|
|
497
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-pretty",
|
|
498
|
-
"type": "value",
|
|
499
|
-
"value": "pretty"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"name": "avoid-orphans",
|
|
503
|
-
"prose": "Specifies the UA should avoid excessively short last lines, and is expected to consider more than one line when making break decisions (for example, to avoid \"fixing\" an orphan by making the previous line too short). The user agent may decide against improving the last line when it would make some prior line(s) substantially unbalanced. The user agent should not attempt to improve other aspects of the layout beyond what auto if those improvements come at a significant performance cost. For instance, with the given line length, the following test would be wrapped with a single word on the last line, which could be judged too short. ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. Applying text-wrap-style: avoid-orphans could yield something like this instead, which is arguably more pleasing: ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. However, the following fragment is more vexing: Circumnavigating the Mississippi river An attempt to make the last line less short by wrapping the previous line earlier would result in the following: Circumnavigating the Mississippi river While the last line would indeed no longer be short, the penultimate line would be unsightly. In such cases, user agents are expected to prefer the first rendering despite text-wrap-style: avoid-orphans being set.",
|
|
504
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-avoid-orphans",
|
|
505
|
-
"type": "value",
|
|
506
|
-
"value": "avoid-orphans"
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
"styleDeclaration": [
|
|
510
|
-
"text-wrap-style",
|
|
511
|
-
"textWrapStyle"
|
|
512
|
-
]
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"name": "text-wrap",
|
|
516
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap",
|
|
517
|
-
"value": "<'text-wrap-mode'> || <'text-wrap-style'>",
|
|
518
|
-
"initial": "wrap",
|
|
519
|
-
"appliesTo": "see individual properties",
|
|
520
|
-
"inherited": "see individual properties",
|
|
521
|
-
"percentages": "see individual properties",
|
|
522
|
-
"computedValue": "see individual properties",
|
|
523
|
-
"canonicalOrder": "per grammar",
|
|
524
|
-
"animationType": "see individual properties",
|
|
525
|
-
"styleDeclaration": [
|
|
526
|
-
"text-wrap",
|
|
527
|
-
"textWrap"
|
|
528
|
-
]
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "word-break",
|
|
532
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-word-break",
|
|
533
|
-
"value": "normal | break-all | keep-all | manual | auto-phrase | break-word",
|
|
534
|
-
"initial": "normal",
|
|
535
|
-
"appliesTo": "text",
|
|
536
|
-
"inherited": "yes",
|
|
537
|
-
"percentages": "n/a",
|
|
538
|
-
"computedValue": "specified keyword",
|
|
539
|
-
"canonicalOrder": "n/a",
|
|
540
|
-
"animationType": "discrete",
|
|
541
|
-
"values": [
|
|
542
|
-
{
|
|
543
|
-
"name": "normal",
|
|
544
|
-
"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. Some writing systems require specific processing to obtain the customarily expected soft wrap opportunities, as described in § 6.1.1 Analytical Word Breaking.",
|
|
545
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-normal",
|
|
546
|
-
"type": "value",
|
|
547
|
-
"value": "normal"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"name": "break-all",
|
|
551
|
-
"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.",
|
|
552
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-break-all",
|
|
553
|
-
"type": "value",
|
|
554
|
-
"value": "break-all"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"name": "keep-all",
|
|
558
|
-
"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 § 6.1.1.1 Lexical Word Breaking. Otherwise this option is equivalent to normal. In this style, sequences of CJK characters do not break.",
|
|
559
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-keep-all",
|
|
560
|
-
"type": "value",
|
|
561
|
-
"value": "keep-all"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "manual",
|
|
565
|
-
"prose": "Behaves the same as normal, except that § 6.1.1.1 Lexical Word Breaking must not be performed. Specifically, typographic character units with class SA in [UAX14] must be treated as if they had class AL (i.e. assuming a value of line-break other than anywhere, there is no soft wrap opportunity between pairs of such characters). alternatively, this value could be based on keep-all rather than normal. Yet another variant is to merge this behavior with keep-all.",
|
|
566
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-manual",
|
|
567
|
-
"type": "value",
|
|
568
|
-
"value": "manual"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "auto-phrase",
|
|
572
|
-
"prose": "Behaves the same as normal, except that this value directs the user agent to perform language-specific content analysis to prioritize keeping natural phrases (of multiple words) together. If the content language of the element is unknown, or if the user agent does not know how to detect phrase boundaries for that particular language, this value must behave as normal. Otherwise, the user agent should detect phrase boundaries and suppress soft wrap opportunities within each phrase. Regardless of the content language and support for phrase boundary detection, hyphenation opportunities are suppressed as if hyphens: none had been specified.",
|
|
573
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-auto-phrase",
|
|
574
|
-
"type": "value",
|
|
575
|
-
"value": "auto-phrase"
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "break-word",
|
|
579
|
-
"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.",
|
|
580
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-break-break-word",
|
|
581
|
-
"type": "value",
|
|
582
|
-
"value": "break-word"
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"styleDeclaration": [
|
|
586
|
-
"word-break",
|
|
587
|
-
"wordBreak"
|
|
588
|
-
]
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "line-break",
|
|
592
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-line-break",
|
|
593
|
-
"value": "auto | loose | normal | strict | anywhere",
|
|
594
|
-
"initial": "auto",
|
|
595
|
-
"appliesTo": "text",
|
|
596
|
-
"inherited": "yes",
|
|
597
|
-
"percentages": "n/a",
|
|
598
|
-
"computedValue": "specified keyword",
|
|
599
|
-
"canonicalOrder": "n/a",
|
|
600
|
-
"animationType": "discrete",
|
|
601
|
-
"values": [
|
|
602
|
-
{
|
|
603
|
-
"name": "auto",
|
|
604
|
-
"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.",
|
|
605
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-line-break-auto",
|
|
606
|
-
"type": "value",
|
|
607
|
-
"value": "auto"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "loose",
|
|
611
|
-
"prose": "Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.",
|
|
612
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-line-break-loose",
|
|
613
|
-
"type": "value",
|
|
614
|
-
"value": "loose"
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"name": "normal",
|
|
618
|
-
"prose": "Breaks text using the most common set of line-breaking rules.",
|
|
619
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-line-break-normal",
|
|
620
|
-
"type": "value",
|
|
621
|
-
"value": "normal"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "strict",
|
|
625
|
-
"prose": "Breaks text using the most stringent set of line-breaking rules.",
|
|
626
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-line-break-strict",
|
|
627
|
-
"type": "value",
|
|
628
|
-
"value": "strict"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "anywhere",
|
|
632
|
-
"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.",
|
|
633
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-line-break-anywhere",
|
|
634
|
-
"type": "value",
|
|
635
|
-
"value": "anywhere"
|
|
636
|
-
}
|
|
637
|
-
],
|
|
638
|
-
"styleDeclaration": [
|
|
639
|
-
"line-break",
|
|
640
|
-
"lineBreak"
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "hyphens",
|
|
645
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphens",
|
|
646
|
-
"value": "none | manual | auto",
|
|
647
|
-
"initial": "manual",
|
|
648
|
-
"appliesTo": "text",
|
|
649
|
-
"inherited": "yes",
|
|
650
|
-
"percentages": "n/a",
|
|
651
|
-
"computedValue": "specified keyword",
|
|
652
|
-
"canonicalOrder": "n/a",
|
|
653
|
-
"animationType": "discrete",
|
|
654
|
-
"values": [
|
|
655
|
-
{
|
|
656
|
-
"name": "none",
|
|
657
|
-
"prose": "Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.",
|
|
658
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphens-none",
|
|
659
|
-
"type": "value",
|
|
660
|
-
"value": "none"
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"name": "manual",
|
|
664
|
-
"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",
|
|
665
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphens-manual",
|
|
666
|
-
"type": "value",
|
|
667
|
-
"value": "manual"
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"name": "auto",
|
|
671
|
-
"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.",
|
|
672
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphens-auto",
|
|
673
|
-
"type": "value",
|
|
674
|
-
"value": "auto"
|
|
675
|
-
}
|
|
676
|
-
],
|
|
677
|
-
"styleDeclaration": [
|
|
678
|
-
"hyphens"
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "hyphenate-character",
|
|
683
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-character",
|
|
684
|
-
"value": "auto | <string>",
|
|
685
|
-
"initial": "auto",
|
|
686
|
-
"appliesTo": "text",
|
|
687
|
-
"inherited": "yes",
|
|
688
|
-
"percentages": "n/a",
|
|
689
|
-
"computedValue": "specified keyword",
|
|
690
|
-
"canonicalOrder": "per grammar",
|
|
691
|
-
"animationType": "discrete",
|
|
692
|
-
"values": [
|
|
693
|
-
{
|
|
694
|
-
"name": "auto",
|
|
695
|
-
"prose": "Specifies that the user agent should find an appropriate string based on the content language’s typographic conventions, possibly from the same source as the hyphenation dictionary.",
|
|
696
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-character-auto",
|
|
697
|
-
"type": "value",
|
|
698
|
-
"value": "auto"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"name": "<string>",
|
|
702
|
-
"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.",
|
|
703
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-character-string",
|
|
704
|
-
"type": "value",
|
|
705
|
-
"value": "<string>"
|
|
706
|
-
}
|
|
707
|
-
],
|
|
708
|
-
"styleDeclaration": [
|
|
709
|
-
"hyphenate-character",
|
|
710
|
-
"hyphenateCharacter"
|
|
711
|
-
]
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"name": "hyphenate-limit-zone",
|
|
715
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-zone",
|
|
716
|
-
"value": "<length-percentage>",
|
|
717
|
-
"initial": "0",
|
|
718
|
-
"appliesTo": "block containers",
|
|
719
|
-
"inherited": "yes",
|
|
720
|
-
"percentages": "refers to length of the line box",
|
|
721
|
-
"computedValue": "computed <length-percentage> value",
|
|
722
|
-
"canonicalOrder": "per grammar",
|
|
723
|
-
"animationType": "by computed value type",
|
|
724
|
-
"styleDeclaration": [
|
|
725
|
-
"hyphenate-limit-zone",
|
|
726
|
-
"hyphenateLimitZone"
|
|
727
|
-
]
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"name": "hyphenate-limit-chars",
|
|
731
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-chars",
|
|
732
|
-
"value": "[ auto | <integer> ]{1,3}",
|
|
733
|
-
"initial": "auto",
|
|
734
|
-
"appliesTo": "text",
|
|
735
|
-
"inherited": "yes",
|
|
736
|
-
"percentages": "n/a",
|
|
737
|
-
"computedValue": "three values, each either the auto keyword or an integer",
|
|
738
|
-
"canonicalOrder": "per grammar",
|
|
739
|
-
"animationType": "by computed value type",
|
|
740
|
-
"values": [
|
|
741
|
-
{
|
|
742
|
-
"name": "auto",
|
|
743
|
-
"prose": "If three values are specified, the first value is the required minimum for the total characters in a word, the second value is the minimum for characters before the hyphenation point, and the third value is the minimum for characters after the hyphenation point. If the third value is missing, it is the same as the second. If the second value is missing, then it is auto. The auto value means that the UA chooses a value that adapts to the current layout.",
|
|
744
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-chars-auto",
|
|
745
|
-
"type": "value",
|
|
746
|
-
"value": "auto"
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"styleDeclaration": [
|
|
750
|
-
"hyphenate-limit-chars",
|
|
751
|
-
"hyphenateLimitChars"
|
|
752
|
-
]
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"name": "hyphenate-limit-lines",
|
|
756
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-lines",
|
|
757
|
-
"value": "no-limit | <integer>",
|
|
758
|
-
"initial": "no-limit",
|
|
759
|
-
"appliesTo": "block containers",
|
|
760
|
-
"inherited": "yes",
|
|
761
|
-
"percentages": "n/a",
|
|
762
|
-
"computedValue": "specified keyword or integer",
|
|
763
|
-
"canonicalOrder": "per grammar",
|
|
764
|
-
"animationType": "by computed value type",
|
|
765
|
-
"values": [
|
|
766
|
-
{
|
|
767
|
-
"name": "none",
|
|
768
|
-
"prose": "No restrictions imposed.",
|
|
769
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-lines-none",
|
|
770
|
-
"type": "value",
|
|
771
|
-
"value": "none"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"name": "always",
|
|
775
|
-
"prose": "The last full line of the element, or the last line before any column, page, or spread break inside the element should not be hyphenated.",
|
|
776
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-lines-always",
|
|
777
|
-
"type": "value",
|
|
778
|
-
"value": "always"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "column",
|
|
782
|
-
"prose": "The last line before any column, page, or spread break inside the element should not be hyphenated.",
|
|
783
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-lines-column",
|
|
784
|
-
"type": "value",
|
|
785
|
-
"value": "column"
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"name": "page",
|
|
789
|
-
"prose": "The last line before page or spread break inside the element should not be hyphenated.",
|
|
790
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-lines-page",
|
|
791
|
-
"type": "value",
|
|
792
|
-
"value": "page"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "spread",
|
|
796
|
-
"prose": "The last line before any spread break inside the element should not be hyphenated.",
|
|
797
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hyphenate-limit-lines-spread",
|
|
798
|
-
"type": "value",
|
|
799
|
-
"value": "spread"
|
|
800
|
-
}
|
|
801
|
-
],
|
|
802
|
-
"styleDeclaration": [
|
|
803
|
-
"hyphenate-limit-lines",
|
|
804
|
-
"hyphenateLimitLines"
|
|
805
|
-
]
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"name": "hyphenate-limit-last",
|
|
809
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-last",
|
|
810
|
-
"value": "none | always | column | page | spread",
|
|
811
|
-
"initial": "none",
|
|
812
|
-
"appliesTo": "block containers",
|
|
813
|
-
"inherited": "yes",
|
|
814
|
-
"percentages": "n/a",
|
|
815
|
-
"computedValue": "specified keyword",
|
|
816
|
-
"canonicalOrder": "per grammar",
|
|
817
|
-
"animationType": "discrete",
|
|
818
|
-
"styleDeclaration": [
|
|
819
|
-
"hyphenate-limit-last",
|
|
820
|
-
"hyphenateLimitLast"
|
|
821
|
-
]
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
"name": "overflow-wrap",
|
|
825
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-overflow-wrap",
|
|
826
|
-
"value": "normal | break-word | anywhere",
|
|
827
|
-
"initial": "normal",
|
|
828
|
-
"appliesTo": "text",
|
|
829
|
-
"inherited": "yes",
|
|
830
|
-
"percentages": "n/a",
|
|
831
|
-
"computedValue": "specified keyword",
|
|
832
|
-
"canonicalOrder": "n/a",
|
|
833
|
-
"animationType": "discrete",
|
|
834
|
-
"values": [
|
|
835
|
-
{
|
|
836
|
-
"name": "normal",
|
|
837
|
-
"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. Also, the restrictions introduced by word-break: auto-phrase are relaxed if there are no otherwise-acceptable break points in the line: If suppressing soft wrap opportunities within a particular phrase would cause that phrase to overflow even when placed on an otherwise empty line, the user agent must fall back to the same soft wrap opportunities as normal within that phrase. If that is not enough to prevent overflow, suppression of hyphenation opportunities must also be abandoned within each line that would overflow. As an intermediary measure, user agents may also detect multiple levels of phrases, choosing to shorter ones (possibly down to individual words) when longer ones would lead to overflow. The soft wrap opportunities obtained by relaxing the restrictions introduced by word-break: keep-all and word-break: auto-phrase are not considered when calculating min-content intrinsic sizes.",
|
|
838
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-overflow-wrap-normal",
|
|
839
|
-
"type": "value",
|
|
840
|
-
"value": "normal"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "anywhere",
|
|
844
|
-
"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. In the case of word-break: auto-phrase, these additional soft wrap opportunities are only introduced if relaxing the restrictions introduced by word-break: auto-phrase as described in overflow-wrap: normal is insufficient to prevent overflow.",
|
|
845
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-overflow-wrap-anywhere",
|
|
846
|
-
"type": "value",
|
|
847
|
-
"value": "anywhere"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"name": "break-word",
|
|
851
|
-
"prose": "As for anywhere except that soft wrap opportunities introduced by break-word are not considered when calculating min-content intrinsic sizes.",
|
|
852
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-overflow-wrap-break-word",
|
|
853
|
-
"type": "value",
|
|
854
|
-
"value": "break-word"
|
|
855
|
-
}
|
|
856
|
-
],
|
|
857
|
-
"styleDeclaration": [
|
|
858
|
-
"overflow-wrap",
|
|
859
|
-
"overflowWrap"
|
|
860
|
-
]
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"name": "word-wrap",
|
|
864
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-word-wrap",
|
|
865
|
-
"value": "normal | break-word | anywhere",
|
|
866
|
-
"initial": "normal",
|
|
867
|
-
"appliesTo": "text",
|
|
868
|
-
"inherited": "yes",
|
|
869
|
-
"percentages": "n/a",
|
|
870
|
-
"computedValue": "specified keyword",
|
|
871
|
-
"canonicalOrder": "n/a",
|
|
872
|
-
"animationType": "discrete",
|
|
873
|
-
"styleDeclaration": [
|
|
874
|
-
"word-wrap",
|
|
875
|
-
"wordWrap"
|
|
876
|
-
]
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"name": "text-align",
|
|
880
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-align",
|
|
881
|
-
"value": "start | end | left | right | center | <string> | justify | match-parent | justify-all",
|
|
882
|
-
"initial": "start",
|
|
883
|
-
"appliesTo": "block containers",
|
|
884
|
-
"inherited": "yes",
|
|
885
|
-
"percentages": "see individual properties",
|
|
886
|
-
"computedValue": "see individual properties",
|
|
887
|
-
"animationType": "discrete",
|
|
888
|
-
"canonicalOrder": "n/a",
|
|
889
|
-
"values": [
|
|
890
|
-
{
|
|
891
|
-
"name": "start",
|
|
892
|
-
"prose": "Inline-level content is aligned to the start edge of the line box.",
|
|
893
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-start",
|
|
894
|
-
"type": "value",
|
|
895
|
-
"value": "start"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "end",
|
|
899
|
-
"prose": "Inline-level content is aligned to the end edge of the line box.",
|
|
900
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-end",
|
|
901
|
-
"type": "value",
|
|
902
|
-
"value": "end"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"name": "left",
|
|
906
|
-
"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]",
|
|
907
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-left",
|
|
908
|
-
"type": "value",
|
|
909
|
-
"value": "left"
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "right",
|
|
913
|
-
"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]",
|
|
914
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-right",
|
|
915
|
-
"type": "value",
|
|
916
|
-
"value": "right"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "center",
|
|
920
|
-
"prose": "Inline-level content is centered within the line box.",
|
|
921
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-center",
|
|
922
|
-
"type": "value",
|
|
923
|
-
"value": "center"
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "<string>",
|
|
927
|
-
"prose": "The string must be a single character; otherwise the declaration is invalid and must be ignored. When applied to a table cell, specifies the alignment character around which the cell’s contents will align. See below for further details and how this value combines with keywords.",
|
|
928
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-string",
|
|
929
|
-
"type": "value",
|
|
930
|
-
"value": "<string>"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"name": "alignment character",
|
|
934
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-alignment-character",
|
|
935
|
-
"type": "value",
|
|
936
|
-
"value": "alignment character"
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"name": "justify",
|
|
940
|
-
"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.",
|
|
941
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-justify",
|
|
942
|
-
"type": "value",
|
|
943
|
-
"value": "justify"
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"name": "justify-all",
|
|
947
|
-
"prose": "Sets both text-align-all and text-align-last to justify, forcing the last line to justify as well.",
|
|
948
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-justify-all",
|
|
949
|
-
"type": "value",
|
|
950
|
-
"value": "justify-all"
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"name": "match-parent",
|
|
954
|
-
"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.",
|
|
955
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-match-parent",
|
|
956
|
-
"type": "value",
|
|
957
|
-
"value": "match-parent"
|
|
958
|
-
}
|
|
959
|
-
],
|
|
960
|
-
"styleDeclaration": [
|
|
961
|
-
"text-align",
|
|
962
|
-
"textAlign"
|
|
963
|
-
]
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"name": "text-align-all",
|
|
967
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-align-all",
|
|
968
|
-
"value": "start | end | left | right | center | <string> | justify | match-parent",
|
|
969
|
-
"initial": "start",
|
|
970
|
-
"appliesTo": "block containers",
|
|
971
|
-
"inherited": "yes",
|
|
972
|
-
"percentages": "n/a",
|
|
973
|
-
"computedValue": "keyword as specified, except for match-parent which computes as defined above",
|
|
974
|
-
"canonicalOrder": "n/a",
|
|
975
|
-
"animationType": "discrete",
|
|
976
|
-
"styleDeclaration": [
|
|
977
|
-
"text-align-all",
|
|
978
|
-
"textAlignAll"
|
|
979
|
-
]
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"name": "text-align-last",
|
|
983
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-align-last",
|
|
984
|
-
"value": "auto | start | end | left | right | center | justify | match-parent",
|
|
985
|
-
"initial": "auto",
|
|
986
|
-
"appliesTo": "block containers",
|
|
987
|
-
"inherited": "yes",
|
|
988
|
-
"percentages": "n/a",
|
|
989
|
-
"computedValue": "keyword as specified, except for match-parent which computes as defined above",
|
|
990
|
-
"canonicalOrder": "n/a",
|
|
991
|
-
"animationType": "discrete",
|
|
992
|
-
"values": [
|
|
993
|
-
{
|
|
994
|
-
"name": "auto",
|
|
995
|
-
"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.",
|
|
996
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-align-last-auto",
|
|
997
|
-
"type": "value",
|
|
998
|
-
"value": "auto"
|
|
999
|
-
}
|
|
1000
|
-
],
|
|
1001
|
-
"styleDeclaration": [
|
|
1002
|
-
"text-align-last",
|
|
1003
|
-
"textAlignLast"
|
|
1004
|
-
]
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
"name": "text-justify",
|
|
1008
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-justify",
|
|
1009
|
-
"value": "[ auto | none | inter-word | inter-character | ruby ] || no-compress",
|
|
1010
|
-
"initial": "auto",
|
|
1011
|
-
"appliesTo": "text",
|
|
1012
|
-
"inherited": "yes",
|
|
1013
|
-
"percentages": "n/a",
|
|
1014
|
-
"computedValue": "specified keyword (except for the distribute legacy value)",
|
|
1015
|
-
"canonicalOrder": "n/a",
|
|
1016
|
-
"animationType": "discrete",
|
|
1017
|
-
"values": [
|
|
1018
|
-
{
|
|
1019
|
-
"name": "auto",
|
|
1020
|
-
"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.",
|
|
1021
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-auto",
|
|
1022
|
-
"type": "value",
|
|
1023
|
-
"value": "auto"
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
"name": "none",
|
|
1027
|
-
"prose": "Justification is disabled: there are no justification opportunities within the text. Mixed-script text with text-justify: none",
|
|
1028
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-none",
|
|
1029
|
-
"type": "value",
|
|
1030
|
-
"value": "none"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"name": "inter-word",
|
|
1034
|
-
"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",
|
|
1035
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-inter-word",
|
|
1036
|
-
"type": "value",
|
|
1037
|
-
"value": "inter-word"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "inter-character",
|
|
1041
|
-
"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.",
|
|
1042
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-inter-character",
|
|
1043
|
-
"type": "value",
|
|
1044
|
-
"value": "inter-character"
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
"name": "distribute",
|
|
1048
|
-
"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.",
|
|
1049
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-distribute",
|
|
1050
|
-
"type": "value",
|
|
1051
|
-
"value": "distribute"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"name": "ruby",
|
|
1055
|
-
"prose": "Justification adjusts spacing as for auto except: Justification opportunities are disabled at word separators. Justification opportunities are disabled between Bopomofo characters",
|
|
1056
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-ruby",
|
|
1057
|
-
"type": "value",
|
|
1058
|
-
"value": "ruby"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "no-compress",
|
|
1062
|
-
"prose": "Justification must not compress spacing controlled by text-spacing-trim or text-autospace. (If this value is not specified, the justification process may reduce such spacing except when the spacing is at the start or end of the line.) This keyword used to be part of text-spacing; it might need renaming to be more specific now that it’s here, as it implies that e.g. U+0020 cannot be compressed. [Issue #7079]",
|
|
1063
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-justify-no-compress",
|
|
1064
|
-
"type": "value",
|
|
1065
|
-
"value": "no-compress"
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"styleDeclaration": [
|
|
1069
|
-
"text-justify",
|
|
1070
|
-
"textJustify"
|
|
1071
|
-
]
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "text-group-align",
|
|
1075
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-group-align",
|
|
1076
|
-
"value": "none | start | end | left | right | center",
|
|
1077
|
-
"initial": "none",
|
|
1078
|
-
"appliesTo": "block containers",
|
|
1079
|
-
"inherited": "no",
|
|
1080
|
-
"percentages": "N/A",
|
|
1081
|
-
"computedValue": "specified keyword",
|
|
1082
|
-
"canonicalOrder": "per grammar",
|
|
1083
|
-
"animationType": "discrete",
|
|
1084
|
-
"values": [
|
|
1085
|
-
{
|
|
1086
|
-
"name": "none",
|
|
1087
|
-
"prose": "Text alignment happens normally: group alignment is not performed.",
|
|
1088
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-none",
|
|
1089
|
-
"type": "value",
|
|
1090
|
-
"value": "none"
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
"name": "start",
|
|
1094
|
-
"prose": "Inline-level content is group-aligned to the inline start side, by padding the inline end side of each line box.",
|
|
1095
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-start",
|
|
1096
|
-
"type": "value",
|
|
1097
|
-
"value": "start"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"name": "end",
|
|
1101
|
-
"prose": "Inline-level content is group-aligned to the inline end side, by padding the inline start side of each line box.",
|
|
1102
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-end",
|
|
1103
|
-
"type": "value",
|
|
1104
|
-
"value": "end"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"name": "left",
|
|
1108
|
-
"prose": "Inline-level content is group-aligned to the line-left side, by padding the line-right side of each line box.",
|
|
1109
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-left",
|
|
1110
|
-
"type": "value",
|
|
1111
|
-
"value": "left"
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
"name": "right",
|
|
1115
|
-
"prose": "Inline-level content is group-aligned to the line-right side, by padding the line-left side of each line box.",
|
|
1116
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-right",
|
|
1117
|
-
"type": "value",
|
|
1118
|
-
"value": "right"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"name": "center",
|
|
1122
|
-
"prose": "Inline-level content is group-aligned to the center, by padding both sides of each line box, half the spacing to each side.",
|
|
1123
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-group-align-center",
|
|
1124
|
-
"type": "value",
|
|
1125
|
-
"value": "center"
|
|
1126
|
-
}
|
|
1127
|
-
],
|
|
1128
|
-
"styleDeclaration": [
|
|
1129
|
-
"text-group-align",
|
|
1130
|
-
"textGroupAlign"
|
|
1131
|
-
]
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
"name": "word-spacing",
|
|
1135
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-word-spacing",
|
|
1136
|
-
"value": "normal | <length-percentage>",
|
|
1137
|
-
"initial": "normal",
|
|
1138
|
-
"appliesTo": "text",
|
|
1139
|
-
"inherited": "yes",
|
|
1140
|
-
"percentages": "relative to computed font-size, i.e. 1em",
|
|
1141
|
-
"computedValue": "an absolute length and/or a percentage",
|
|
1142
|
-
"canonicalOrder": "n/a",
|
|
1143
|
-
"animationType": "by computed value type",
|
|
1144
|
-
"values": [
|
|
1145
|
-
{
|
|
1146
|
-
"name": "normal",
|
|
1147
|
-
"prose": "No additional spacing is applied. Computes to zero.",
|
|
1148
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-spacing-normal",
|
|
1149
|
-
"type": "value",
|
|
1150
|
-
"value": "normal"
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"name": "<length-percentage>",
|
|
1154
|
-
"prose": "Specifies extra spacing in addition to the intrinsic inter-word spacing defined by the font.",
|
|
1155
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-word-spacing-length-percentage",
|
|
1156
|
-
"type": "value",
|
|
1157
|
-
"value": "<length-percentage>"
|
|
1158
|
-
}
|
|
1159
|
-
],
|
|
1160
|
-
"styleDeclaration": [
|
|
1161
|
-
"word-spacing",
|
|
1162
|
-
"wordSpacing"
|
|
1163
|
-
]
|
|
1164
|
-
},
|
|
1165
|
-
{
|
|
1166
|
-
"name": "letter-spacing",
|
|
1167
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-letter-spacing",
|
|
1168
|
-
"value": "normal | <length-percentage>",
|
|
1169
|
-
"initial": "normal",
|
|
1170
|
-
"appliesTo": "inline boxes and text",
|
|
1171
|
-
"inherited": "yes",
|
|
1172
|
-
"percentages": "relative to computed font-size, i.e. 1em",
|
|
1173
|
-
"computedValue": "an absolute length and/or a percentage",
|
|
1174
|
-
"canonicalOrder": "n/a",
|
|
1175
|
-
"animationType": "by computed value type",
|
|
1176
|
-
"values": [
|
|
1177
|
-
{
|
|
1178
|
-
"name": "normal",
|
|
1179
|
-
"prose": "No additional spacing is applied. Computes to zero.",
|
|
1180
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-letter-spacing-normal",
|
|
1181
|
-
"type": "value",
|
|
1182
|
-
"value": "normal"
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"name": "<length-percentage>",
|
|
1186
|
-
"prose": "Specifies additional spacing between typographic character units. Values may be negative, but there may be implementation-dependent limits.",
|
|
1187
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-letter-spacing-length-percentage",
|
|
1188
|
-
"type": "value",
|
|
1189
|
-
"value": "<length-percentage>"
|
|
1190
|
-
}
|
|
1191
|
-
],
|
|
1192
|
-
"styleDeclaration": [
|
|
1193
|
-
"letter-spacing",
|
|
1194
|
-
"letterSpacing"
|
|
1195
|
-
]
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"name": "line-padding",
|
|
1199
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-line-padding",
|
|
1200
|
-
"value": "<length>",
|
|
1201
|
-
"initial": "0",
|
|
1202
|
-
"appliesTo": "inline boxes",
|
|
1203
|
-
"inherited": "yes",
|
|
1204
|
-
"percentages": "N/A",
|
|
1205
|
-
"computedValue": "absolute length",
|
|
1206
|
-
"canonicalOrder": "per grammar",
|
|
1207
|
-
"animationType": "by computed value type",
|
|
1208
|
-
"styleDeclaration": [
|
|
1209
|
-
"line-padding",
|
|
1210
|
-
"linePadding"
|
|
1211
|
-
]
|
|
1212
|
-
},
|
|
1213
|
-
{
|
|
1214
|
-
"name": "text-autospace",
|
|
1215
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-autospace",
|
|
1216
|
-
"value": "normal | <autospace> | auto",
|
|
1217
|
-
"initial": "normal",
|
|
1218
|
-
"appliesTo": "text",
|
|
1219
|
-
"inherited": "yes",
|
|
1220
|
-
"percentages": "N/A",
|
|
1221
|
-
"computedValue": "specified keyword(s)",
|
|
1222
|
-
"canonicalOrder": "per grammar",
|
|
1223
|
-
"animationType": "discrete",
|
|
1224
|
-
"values": [
|
|
1225
|
-
{
|
|
1226
|
-
"name": "normal",
|
|
1227
|
-
"prose": "Same behavior as ideograph-alpha ideograph-numeric.",
|
|
1228
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-normal",
|
|
1229
|
-
"type": "value",
|
|
1230
|
-
"value": "normal"
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"name": "no-autospace",
|
|
1234
|
-
"prose": "No automatic space is inserted.",
|
|
1235
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-no-autospace",
|
|
1236
|
-
"type": "value",
|
|
1237
|
-
"value": "no-autospace"
|
|
1238
|
-
},
|
|
1239
|
-
{
|
|
1240
|
-
"name": "insert",
|
|
1241
|
-
"prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. If neither insert nor replace are specified, the behavior is the same as insert.",
|
|
1242
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-insert",
|
|
1243
|
-
"type": "value",
|
|
1244
|
-
"value": "insert"
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
"name": "replace",
|
|
1248
|
-
"prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
|
|
1249
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-replace",
|
|
1250
|
-
"type": "value",
|
|
1251
|
-
"value": "replace"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"name": "ideograph-alpha",
|
|
1255
|
-
"prose": "Creates extra spacing between runs of ideographs and non-ideographic letters, see § 8.4.1 Inter-script Spacing.",
|
|
1256
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-ideograph-alpha",
|
|
1257
|
-
"type": "value",
|
|
1258
|
-
"value": "ideograph-alpha"
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"name": "ideograph-numeric",
|
|
1262
|
-
"prose": "Creates extra spacing between runs of ideographs and non-ideographic numerals, see § 8.4.1 Inter-script Spacing.",
|
|
1263
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-ideograph-numeric",
|
|
1264
|
-
"type": "value",
|
|
1265
|
-
"value": "ideograph-numeric"
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
"name": "punctuation",
|
|
1269
|
-
"prose": "Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions. In this level, if the element’s content language is French, narrow no-break space (U+202F) and no-break space (U+00A0) is inserted where required by French typographic guidelines. Otherwise this value has no effect. However future specifications may add automatic spacing behavior for other languages.",
|
|
1270
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-punctuation",
|
|
1271
|
-
"type": "value",
|
|
1272
|
-
"value": "punctuation"
|
|
1273
|
-
},
|
|
1274
|
-
{
|
|
1275
|
-
"name": "auto",
|
|
1276
|
-
"prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
|
|
1277
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-auto",
|
|
1278
|
-
"type": "value",
|
|
1279
|
-
"value": "auto"
|
|
1280
|
-
}
|
|
1281
|
-
],
|
|
1282
|
-
"styleDeclaration": [
|
|
1283
|
-
"text-autospace",
|
|
1284
|
-
"textAutospace"
|
|
1285
|
-
]
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"name": "text-spacing-trim",
|
|
1289
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-spacing-trim",
|
|
1290
|
-
"value": "<spacing-trim> | auto",
|
|
1291
|
-
"initial": "normal",
|
|
1292
|
-
"appliesTo": "text",
|
|
1293
|
-
"inherited": "yes",
|
|
1294
|
-
"percentages": "N/A",
|
|
1295
|
-
"computedValue": "specified keyword(s)",
|
|
1296
|
-
"canonicalOrder": "per grammar",
|
|
1297
|
-
"animationType": "discrete",
|
|
1298
|
-
"values": [
|
|
1299
|
-
{
|
|
1300
|
-
"name": "space-all",
|
|
1301
|
-
"prose": "All fullwidth punctuation characters are set with full-width glyphs (spaced).",
|
|
1302
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-all",
|
|
1303
|
-
"type": "value",
|
|
1304
|
-
"value": "space-all"
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
"name": "normal",
|
|
1308
|
-
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, else set the punctuation with full-width glyphs; and collapse spacing between punctuation glyphs as described below.",
|
|
1309
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-normal",
|
|
1310
|
-
"type": "value",
|
|
1311
|
-
"value": "normal"
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
"name": "trim-both",
|
|
1315
|
-
"prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line; and collapse spacing between punctuation glyphs as described below.",
|
|
1316
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-both",
|
|
1317
|
-
"type": "value",
|
|
1318
|
-
"value": "trim-both"
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "space-first",
|
|
1322
|
-
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line of the block container and each line after a forced line break. Otherwise as normal.",
|
|
1323
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first",
|
|
1324
|
-
"type": "value",
|
|
1325
|
-
"value": "space-first"
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "trim-start",
|
|
1329
|
-
"prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line. Otherwise as normal.",
|
|
1330
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-start",
|
|
1331
|
-
"type": "value",
|
|
1332
|
-
"value": "trim-start"
|
|
1333
|
-
},
|
|
1334
|
-
{
|
|
1335
|
-
"name": "trim-all",
|
|
1336
|
-
"prose": "Set fullwidth opening punctuation, fullwidth closing punctuation, and fullwidth middle dot punctuation with half-width glyphs, without regards for the position within the line nor for adjacent characters.",
|
|
1337
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-trim-all",
|
|
1338
|
-
"type": "value",
|
|
1339
|
-
"value": "trim-all"
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
"name": "auto",
|
|
1343
|
-
"prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values. Do we need auto? It would be weird for the author to choose platform-dependent behavior at the start of the first line, and it should otherwise use trim-both.",
|
|
1344
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-auto",
|
|
1345
|
-
"type": "value",
|
|
1346
|
-
"value": "auto"
|
|
1347
|
-
}
|
|
1348
|
-
],
|
|
1349
|
-
"styleDeclaration": [
|
|
1350
|
-
"text-spacing-trim",
|
|
1351
|
-
"textSpacingTrim"
|
|
1352
|
-
]
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"name": "text-spacing",
|
|
1356
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-spacing",
|
|
1357
|
-
"value": "none | auto | <spacing-trim> || <autospace>",
|
|
1358
|
-
"initial": "see individual properties",
|
|
1359
|
-
"appliesTo": "text",
|
|
1360
|
-
"inherited": "yes",
|
|
1361
|
-
"percentages": "N/A",
|
|
1362
|
-
"computedValue": "specified keyword(s)",
|
|
1363
|
-
"animationType": "discrete",
|
|
1364
|
-
"canonicalOrder": "per grammar",
|
|
1365
|
-
"values": [
|
|
1366
|
-
{
|
|
1367
|
-
"name": "none",
|
|
1368
|
-
"prose": "Turns off all text-spacing features: sets text-spacing-trim to space-all and text-autospace to no-autospace.",
|
|
1369
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-none",
|
|
1370
|
-
"type": "value",
|
|
1371
|
-
"value": "none"
|
|
1372
|
-
},
|
|
1373
|
-
{
|
|
1374
|
-
"name": "auto",
|
|
1375
|
-
"prose": "Sets both text-spacing-trim and text-autospace to auto.",
|
|
1376
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-auto",
|
|
1377
|
-
"type": "value",
|
|
1378
|
-
"value": "auto"
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
"name": "<spacing-trim>",
|
|
1382
|
-
"prose": "Sets text-spacing-trim to the specified value. If no <autospace> value is given, text-autospace is set to its initial value.",
|
|
1383
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-spacing-trim",
|
|
1384
|
-
"type": "value",
|
|
1385
|
-
"value": "<spacing-trim>"
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"name": "<autospace>",
|
|
1389
|
-
"prose": "Sets text-autospace to the specified value. If no <spacing-trim> value is given, text-spacing-trim is set to its initial value.",
|
|
1390
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-autospace",
|
|
1391
|
-
"type": "value",
|
|
1392
|
-
"value": "<autospace>"
|
|
1393
|
-
}
|
|
1394
|
-
],
|
|
1395
|
-
"styleDeclaration": [
|
|
1396
|
-
"text-spacing",
|
|
1397
|
-
"textSpacing"
|
|
1398
|
-
]
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
"name": "text-indent",
|
|
1402
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-text-indent",
|
|
1403
|
-
"value": "[ <length-percentage> ] && hanging? && each-line?",
|
|
1404
|
-
"initial": "0",
|
|
1405
|
-
"appliesTo": "block containers",
|
|
1406
|
-
"inherited": "yes",
|
|
1407
|
-
"percentages": "refers to block container’s own inline-axis inner size",
|
|
1408
|
-
"computedValue": "computed <length-percentage> value, plus any specified keywords",
|
|
1409
|
-
"canonicalOrder": "per grammar",
|
|
1410
|
-
"animationType": "by computed value type",
|
|
1411
|
-
"values": [
|
|
1412
|
-
{
|
|
1413
|
-
"name": "<length>",
|
|
1414
|
-
"prose": "Gives the amount of the indent as an absolute length.",
|
|
1415
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-indent-length",
|
|
1416
|
-
"type": "value",
|
|
1417
|
-
"value": "<length>"
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"name": "<percentage>",
|
|
1421
|
-
"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.",
|
|
1422
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-indent-percentage",
|
|
1423
|
-
"type": "value",
|
|
1424
|
-
"value": "<percentage>"
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
"name": "each-line",
|
|
1428
|
-
"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).",
|
|
1429
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-indent-each-line",
|
|
1430
|
-
"type": "value",
|
|
1431
|
-
"value": "each-line"
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"name": "hanging",
|
|
1435
|
-
"prose": "Inverts which lines are affected.",
|
|
1436
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-indent-hanging",
|
|
1437
|
-
"type": "value",
|
|
1438
|
-
"value": "hanging"
|
|
1439
|
-
}
|
|
1440
|
-
],
|
|
1441
|
-
"styleDeclaration": [
|
|
1442
|
-
"text-indent",
|
|
1443
|
-
"textIndent"
|
|
1444
|
-
]
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"name": "hanging-punctuation",
|
|
1448
|
-
"href": "https://drafts.csswg.org/css-text-4/#propdef-hanging-punctuation",
|
|
1449
|
-
"value": "none | [ first || [ force-end | allow-end ] || last ]",
|
|
1450
|
-
"initial": "none",
|
|
1451
|
-
"appliesTo": "text",
|
|
1452
|
-
"inherited": "yes",
|
|
1453
|
-
"percentages": "n/a",
|
|
1454
|
-
"computedValue": "specified keyword(s)",
|
|
1455
|
-
"canonicalOrder": "per grammar",
|
|
1456
|
-
"animationType": "discrete",
|
|
1457
|
-
"values": [
|
|
1458
|
-
{
|
|
1459
|
-
"name": "none",
|
|
1460
|
-
"prose": "No punctuation character is made to hang.",
|
|
1461
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hanging-punctuation-none",
|
|
1462
|
-
"type": "value",
|
|
1463
|
-
"value": "none"
|
|
1464
|
-
},
|
|
1465
|
-
{
|
|
1466
|
-
"name": "first",
|
|
1467
|
-
"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.",
|
|
1468
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hanging-punctuation-first",
|
|
1469
|
-
"type": "value",
|
|
1470
|
-
"value": "first"
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
"name": "last",
|
|
1474
|
-
"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.",
|
|
1475
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hanging-punctuation-last",
|
|
1476
|
-
"type": "value",
|
|
1477
|
-
"value": "last"
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"name": "force-end",
|
|
1481
|
-
"prose": "A stop or comma at the end of a line hangs.",
|
|
1482
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hanging-punctuation-force-end",
|
|
1483
|
-
"type": "value",
|
|
1484
|
-
"value": "force-end"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"name": "allow-end",
|
|
1488
|
-
"prose": "A stop or comma at the end of a line conditionally hangs.",
|
|
1489
|
-
"href": "https://drafts.csswg.org/css-text-4/#valdef-hanging-punctuation-allow-end",
|
|
1490
|
-
"type": "value",
|
|
1491
|
-
"value": "allow-end"
|
|
1492
|
-
}
|
|
1493
|
-
],
|
|
1494
|
-
"styleDeclaration": [
|
|
1495
|
-
"hanging-punctuation",
|
|
1496
|
-
"hangingPunctuation"
|
|
1497
|
-
]
|
|
1498
|
-
}
|
|
1499
|
-
],
|
|
1500
|
-
"atrules": [],
|
|
1501
|
-
"selectors": [],
|
|
1502
|
-
"values": [
|
|
1503
|
-
{
|
|
1504
|
-
"name": "<autospace>",
|
|
1505
|
-
"href": "https://drafts.csswg.org/css-text-4/#typedef-autospace",
|
|
1506
|
-
"type": "type",
|
|
1507
|
-
"value": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]"
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"name": "<spacing-trim>",
|
|
1511
|
-
"href": "https://drafts.csswg.org/css-text-4/#typedef-spacing-trim",
|
|
1512
|
-
"type": "type",
|
|
1513
|
-
"value": "space-all | normal | space-first | trim-start | trim-both | trim-all"
|
|
1514
|
-
}
|
|
1515
|
-
]
|
|
1516
|
-
}
|