Skip to content

Commit 67e1a92

Browse files
committed
Tweak some wording and add more issues for line breaking
1 parent da30cfd commit 67e1a92

1 file changed

Lines changed: 29 additions & 12 deletions

File tree

css3-text/Overview.src.html

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -872,10 +872,20 @@ <h2 id="line-breaking"><span class="secno">4.</span>
872872
Additionally the level of strictness in these restrictions can vary
873873
with the typesetting style.</p>
874874

875-
<p class="issue">Specify that out-of-flow elements do not introduce line
876-
breaking opportunities. Specify whether images introduce line breaking
877-
opportunities. Specify that CSS3 Text does not otherwise specify line
878-
breaking opportunities.</p>
875+
<p>CSS does not fully define where line breaking opportunities occur,
876+
however some controls are provided to distinguish common variations.
877+
878+
<p>Floated and absolutely-positioned elements do not introduce a line
879+
breaking opportunity. The line breaking behavior of a replaced element
880+
is equivalent to that of a Latin character.</p>
881+
882+
<p class="issue">There is a question of what the default line breaking
883+
of Korean should be, and whether dictionary-based breaking is needed
884+
for typical layout (e.g. novels).</p>
885+
886+
<p class="issue">It is not clear whether this section handles Southeast Asian
887+
scripts well. Additionally, some guidance should be provided on how to
888+
break or not break Southeast Asian in the absence of a dictionary.</p>
879889

880890
<h3 id="line-break"><span class="secno">4.1.</span>
881891
Line Breaking Restrictions for CJK Scripts: the 'line-break' property</h3>
@@ -962,18 +972,18 @@ <h3 id="line-break"><span class="secno">4.1.</span>
962972
<dt><dfn title="line-break:auto"><code>auto</code></dfn></dt>
963973
<dd>The UA determines the set of line-breaking restrictions to use for CJK scripts,
964974
and it may vary the restrictions based on the length of the line; e.g.,
965-
use a less restrictive set of line-break restrictions for short lines,
966-
so that justifications works better without adding a lot of extra spaces.</dd>
975+
use a less restrictive set of line-break rules for short lines.</dd>
967976
<dt><dfn title="line-break:newspaper"><code>newspaper</code></dfn></dt>
968-
<dd>Breaks CJK scripts using the least restrictive set of line-breaking restrictions
969-
for short lines, such as newspapers.</dd>
977+
<dd>Breaks CJK scripts using the least restrictive set of line-breaking
978+
rules. Typically used for short lines, such as in newspapers.</dd>
970979
<dt><dfn title="line-break:normal"><code>normal</code></dfn></dt>
971-
<dd>Breaks CJK scripts using a normal set of line-breaking restrictions.</dd>
980+
<dd>Breaks CJK scripts using a normal set of line-breaking rules.</dd>
972981
<dt><dfn title="line-break:strict"><code>strict</code></dfn></dt>
973-
<dd>Breaks CJK scripts using a more restrictive set of line-breaking restrictions than 'normal'.</dd>
982+
<dd>Breaks CJK scripts using a more restrictive set of line-breaking
983+
rules than 'normal'.</dd>
974984
<dt><dfn title="line-break:keep-all"><code>keep-all</code></dfn></dt>
975985
<dd>Sequences of CJK characters can no longer break on implied break points.
976-
This option should only be used where the presence of white space
986+
This option should only be used where the presence of word separator
977987
characters still creates line-breaking opportunities, as in Korean.</dd>
978988
</dl>
979989

@@ -1033,7 +1043,9 @@ <h3 id="word-break"><span class="secno">4.2.</span>
10331043
language of the text being broken.
10341044
<p class="issue">This value is proposed to replace 'hyphenate' property currently defined in
10351045
<a href="http://www.w3.org/TR/2007/WD-css3-gcpm-20070205/#hyphenation">Generated
1036-
Content for Paged Media</a> draft.</p></dd>
1046+
Content for Paged Media</a> draft. Note there are other values in
1047+
the editor's draft, which could be added as ''word-break: hyphenate-all''
1048+
and ''word-break: none''...</p></dd>
10371049
</dl>
10381050

10391051
<p>When shaping scripts such as Arabic are allowed to break within words
@@ -1218,6 +1230,11 @@ <h3 id="word-wrap"><span class="secno">5.2.</span>
12181230
broken, and grapheme clusters must together stay as one unit.</dd>
12191231
</dl>
12201232

1233+
<p class="issue">If Korean is set to keep-all, and the word doesn't
1234+
fit, should it break anyway? Do we need an 'auto' value here for
1235+
scripts where it's OK to break even if it's not ideal vs. scripts
1236+
(like Latin) where breaking in the middle of a word is wrong?</p>
1237+
12211238
<h2 id="justification"><span class="secno">6.</span>
12221239
Alignment and Justification</h2>
12231240

0 commit comments

Comments
 (0)