@@ -180,8 +180,8 @@ Text Wrap Settings: the 'text-wrap' property</h3>
180
180
181
181
<pre class="propdef">
182
182
Name : text-wrap
183
- Value : normal | nowrap | balance
184
- Initial : normal
183
+ Value : wrap | nowrap | balance
184
+ Initial : wrap
185
185
Applies to : all elements
186
186
Inherited : yes
187
187
Percentages : n/a
@@ -193,32 +193,30 @@ Text Wrap Settings: the 'text-wrap' property</h3>
193
193
Possible values:
194
194
195
195
<dl dfn-for=text-wrap dfn-type=value>
196
- <dt> <dfn>normal </dfn>
196
+ <dt> <dfn>wrap </dfn>
197
197
<dd>
198
198
Lines may break at allowed break points,
199
199
as determined by the line-breaking rules in effect.
200
200
Line breaking behavior defined
201
201
for the WJ, ZW, and GL line-breaking classes
202
202
in [[!UAX14]] must be honored.
203
203
204
- Issue: Should this be called ''text-wrap/wrap'' for consistency with 'flex-wrap' ?
205
-
206
204
<dt> <dfn>nowrap</dfn>
207
205
<dd>
208
206
Lines may not break; text that does not fit within the block container
209
207
overflows it.
210
208
211
209
<dt> <dfn>balance</dfn>
212
210
<dd>
213
- Same as ''text-wrap/normal '' for inline-level elements.
211
+ Same as ''text-wrap/wrap '' for inline-level elements.
214
212
For block-level elements that
215
213
contain line boxes as direct children,
216
214
line breaks are chosen to balance
217
215
the remaining (empty) space in each line box,
218
- if better balance than ''text-wrap/normal '' is possible.
216
+ if better balance than ''text-wrap/wrap '' is possible.
219
217
This must not change the number of line boxes
220
218
the block would contain
221
- if 'text-wrap' were set to ''text-wrap/normal '' .
219
+ if 'text-wrap' were set to ''text-wrap/wrap '' .
222
220
223
221
The remaining space to consider
224
222
is that which remains after placing floats and inline content,
@@ -230,7 +228,7 @@ Text Wrap Settings: the 'text-wrap' property</h3>
230
228
231
229
The exact algorithm is UA-defined.
232
230
233
- UAs may treat this value as ''text-wrap/normal '' if there are more than ten lines to balance.
231
+ UAs may treat this value as ''text-wrap/wrap '' if there are more than ten lines to balance.
234
232
235
233
</dl>
236
234
@@ -470,7 +468,7 @@ Shorthand for White Space and Wrapping: the 'white-space' property</h2>
470
468
<tr>
471
469
<th> ''white-space/normal''
472
470
<td> ''text-space-collapse/collapse''
473
- <td> ''text-wrap/normal ''
471
+ <td> ''text-wrap/wrap ''
474
472
<td> ''text-space-trim/none''
475
473
<tr>
476
474
<th> ''pre''
@@ -485,12 +483,12 @@ Shorthand for White Space and Wrapping: the 'white-space' property</h2>
485
483
<tr>
486
484
<th> ''pre-wrap''
487
485
<td> ''text-space-collapse/preserve''
488
- <td> ''text-wrap/normal ''
486
+ <td> ''text-wrap/wrap ''
489
487
<td> ''text-space-trim/none''
490
488
<tr>
491
489
<th> ''pre-line''
492
490
<td> ''text-space-collapse/preserve-breaks''
493
- <td> ''text-wrap/normal ''
491
+ <td> ''text-wrap/wrap ''
494
492
<td> ''text-space-trim/none''
495
493
</tbody>
496
494
</table>
0 commit comments