Skip to content

Commit dc4a24f

Browse files
committed
[css-text-3] Clarifications to line breaking. w3c#2559
1 parent b0ad2ae commit dc4a24f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

css-text-3/Overview.bs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -968,13 +968,13 @@ Line Breaking Details</h3>
968968
i.e. where it is “normal” and permissible to break lines of text.
969969
Specifically it controls whether a <a>soft wrap opportunity</a> exists
970970
between adjacent <a>typographic letter units</a>
971-
(or other <a>typographic character units</a>
971+
(and/or non-<a>letter</a> <a>typographic character units</a>
972972
belonging to the
973973
<code>NU</code>, <code>AL</code>, <code>AI</code>, or <code>ID</code>
974974
Unicode line breaking classes [[!UAX14]]).
975975
It does not affect rules governing the <a>soft wrap opportunities</a>
976-
created by spaces (including U+3000 IDEOGRAPHIC SPACE) and punctuation.
977-
(See 'line-break' for controls affecting punctuation.)
976+
created by spaces (including U+3000 IDEOGRAPHIC SPACE) and around punctuation.
977+
(See 'line-break' for controls affecting punctuation and small kana.)
978978

979979
<div class="example">
980980
<p>For example, in some styles of CJK typesetting, English words are allowed
@@ -1035,13 +1035,13 @@ Line Breaking Details</h3>
10351035
Unicode line breaking classes [[!UAX14]])
10361036
are suppressed,
10371037
i.e. breaks are prohibited between pairs of such characters
1038-
(regardless of 'line-break' settings)
1038+
(regardless of 'line-break' settings other than ''line-break/anywhere'')
10391039
except where opportunities exist due to dictionary-based breaking.
10401040
Otherwise this option is equivalent to ''word-break/normal''.
10411041
In this style, sequences of CJK characters do not break.
10421042
<p class=note>Note: This is the other common behavior for Korean (which uses spaces between words),
10431043
and is also useful for mixed-script text where CJK snippets are mixed
1044-
into another language that uses spaces for separation.</dd>
1044+
into another language that uses spaces for separation.
10451045
</dl>
10461046

10471047
<p>Symbols that line-break the same way as letters of a particular category
@@ -1156,7 +1156,7 @@ Line Breaking Details</h3>
11561156

11571157
<p>This property specifies the strictness of line-breaking rules applied
11581158
within an element:
1159-
particularly how <a>wrapping</a> interacts with punctuation and symbols.
1159+
especially how <a>wrapping</a> interacts with punctuation and symbols.
11601160
Values have the following meanings:</p>
11611161

11621162
<dl dfn-for=line-break dfn-type=value>
@@ -1176,7 +1176,9 @@ Line Breaking Details</h3>
11761176
<dd>There is a <a>soft wrap opportunity</a> around every <a>typographic character unit</a>,
11771177
including around any punctuation character or preserved spaces,
11781178
or in the middle of words,
1179-
disregarding any prohibition against line breaks introduced by characters with the GL, WJ, or ZWJ character class (see [[UAX14]]).
1179+
disregarding any prohibition against line breaks,
1180+
even those introduced by characters with the GL, WJ, or ZWJ character class (see [[UAX14]])
1181+
or mandated by the 'word-break' property.
11801182
The different wrapping opportunities must not be prioritized.
11811183
Hyphenation is not applied.
11821184

0 commit comments

Comments
 (0)