Skip to content

Commit ce32012

Browse files
committed
Clarify word-break: keep-all
1 parent f537b21 commit ce32012

2 files changed

Lines changed: 12 additions & 14 deletions

File tree

css3-text/Overview.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,19 +1343,18 @@ <h3 id=word-break><span class=secno>5.2. </span> Word Breaking Rules: the
13431343
<dt><dfn id=keep-all
13441344
title="line-break:keep-all"><code>keep-all</code></dfn>
13451345

1346-
<dd>Sequences of <a href="#block-scripts">block characters can no longer
1347-
break on implied break points. This option is mostly used where the
1346+
<dd><a href="#block-scripts">Block</a> characters no longer create implied
1347+
break points. Otherwise this option is equivalent to &lsquo;<code
1348+
class=css>normal</code>&rsquo;. This option is mostly used where the
13481349
presence of word separator characters still creates line-breaking
1349-
opportunities, as in Korean.</a>
1350+
opportunities, as in Korean.
13501351

13511352
<dt><dfn id=hyphenate
13521353
title="word-break:hyphenate"><code>hyphenate</code></dfn>
13531354

13541355
<dd>Words may be broken at an appropriate hyphenation point in addition to
13551356
opportunities available under &lsquo;<code
1356-
class=css>normal</code>&rsquo;. Hyphenation requires that the user agent
1357-
have an hyphenation resource appropriate to the language of the text
1358-
being broken.
1357+
class=css>normal</code>&rsquo;.
13591358
<p class=issue>This value is proposed to replace the &lsquo;<a
13601359
href="#hyphens0"><code class=property>hyphens</code></a>&rsquo;
13611360
property. Other values could be added as &lsquo;<code
@@ -1364,8 +1363,8 @@ <h3 id=word-break><span class=secno>5.2. </span> Word Breaking Rules: the
13641363
</dl>
13651364

13661365
<p>When shaping scripts such as Arabic are allowed to break within words
1367-
due to &lsquo;<code class=property>break-all</code>&rsquo; or hyphenation,
1368-
the characters must still be shaped as if the word were not broken.
1366+
due to &lsquo;<code class=css>break-all</code>&rsquo; or hyphenation, the
1367+
characters must still be shaped as if the word were not broken.
13691368

13701369
<h2 id=hyphenation><span class=secno>6. </span>Hyphenation</h2>
13711370

css3-text/Overview.src.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -907,22 +907,21 @@ <h3 id="word-break">
907907
the text is predominantly using CJK characters with few non-CJK excerpts
908908
and it is desired that the text be better distributed on each line.</dd>
909909
<dt><dfn title="line-break:keep-all"><code>keep-all</code></dfn></dt>
910-
<dd>Sequences of <a href="#block-scripts">block</i> characters
911-
can no longer break on implied break points.
910+
<dd><a href="#block-scripts">Block</a> characters no longer create
911+
implied break points. Otherwise this option is equivalent to
912+
''normal''.
912913
This option is mostly used where the presence of word separator
913914
characters still creates line-breaking opportunities, as in Korean.</dd>
914915
<dt><dfn title="word-break:hyphenate"><code>hyphenate</code></dfn></dt>
915916
<dd>Words may be broken at an appropriate hyphenation point in addition
916-
to opportunities available under ''normal''. Hyphenation requires
917-
that the user agent have an hyphenation resource appropriate to the
918-
language of the text being broken.
917+
to opportunities available under ''normal''.
919918
<p class="issue">This value is proposed to replace the 'hyphens'
920919
property. Other values could be added as ''word-break: hyphenate-all''
921920
and ''word-break: none''</p></dd>
922921
</dl>
923922

924923
<p>When shaping scripts such as Arabic are allowed to break within words
925-
due to 'break-all' or hyphenation, the characters must still be shaped
924+
due to ''break-all'' or hyphenation, the characters must still be shaped
926925
as if the word were not broken.</p>
927926

928927
<h2 id="hyphenation">Hyphenation</h2>

0 commit comments

Comments
 (0)