2929
3030 < h1 > CSS Text Level 3</ h1 >
3131
32- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 6 January 2012</ h2 >
32+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 7 January 2012</ h2 >
3333
3434 < dl >
3535 < dt > This version:
3636
3737 < dd > < a href ="http://dev.w3.org/csswg/css3-text/ "> $Date: 2012/01/06
38- 22:56:54 $ (CVS $Revision$)</ a > <!--
39- <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120106 /">http://www.w3.org/TR/2012/WD-css3-text-20120106 /</a></dd>
38+ 22:59:32 $ (CVS $Revision$)</ a > <!--
39+ <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120107 /">http://www.w3.org/TR/2012/WD-css3-text-20120107 /</a></dd>
4040 -->
4141
4242
@@ -1414,10 +1414,11 @@ <h3 id=word-break><span class=secno>4.2. </span> Word Breaking Rules: the
14141414 < dt > < dfn id =break-all title ="word-break:break-all "> ‘< code
14151415 class =css > break-all</ code > ’</ dfn >
14161416
1417- < dd > Lines may break between any two characters within words. Hyphenation
1418- is not applied. This option is used mostly in a context where the text is
1419- predominantly using CJK characters with few non-CJK excerpts and it is
1420- desired that the text be better distributed on each line.
1417+ < dd > In addition to normal opportunities, lines may break between any two
1418+ letters within words. Hyphenation is not applied. This option is used
1419+ mostly in a context where the text is predominantly using CJK characters
1420+ with few non-CJK excerpts and it is desired that the text be better
1421+ distributed on each line.
14211422
14221423 < dt > < dfn id =keep-all title ="word-break:keep-all "> ‘< code
14231424 class =css > keep-all</ code > ’</ dfn >
@@ -1429,6 +1430,40 @@ <h3 id=word-break><span class=secno>4.2. </span> Word Breaking Rules: the
14291430 line-breaking opportunities, as in Korean.
14301431 </ dl >
14311432
1433+ < div class =example >
1434+ < p > Here's a mixed-script sample text:
1435+
1436+ < pre > 这是一些汉字, and some Latin text,<!--
1437+ --> و کمی نوشتنن عربی, <!--
1438+ --> and some complex LTR.</ pre >
1439+
1440+ < p > The break-points are determined as follows (indicated by
1441+ ‘·’):
1442+
1443+ < dl >
1444+ < dt > ‘< code class =css > word-break: normal</ code > ’
1445+
1446+ < dd >
1447+ < pre > 这·是·一·些·汉·字,·and·some·Latin·text,<!--
1448+ --> ·و·کمی·نوشتنن·عربی·<!--
1449+ --> and·some·complex·LTR.</ pre >
1450+
1451+ < dt > ‘< code class =css > word-break: break-all</ code > ’
1452+
1453+ < dd >
1454+ < pre > 这·是·一·些·汉·字·a·n·d·s·o·m·e·L·a·t·i·n·t·e·x·t,<!--
1455+ --> ·و·ﮐ·ﻤ·ﻰ·ﻧ·ﻮ·ﺷ·ﺘ·ﻦ·ﻋ·ﺮ·ﺑ·ﻰ,·<!--
1456+ --> a·n·d·s·o·m·e·c·o·m·p·l·e·x·L·T·R.</ pre >
1457+
1458+ < dt > ‘< code class =css > word-break: keep-all</ code > ’
1459+
1460+ < dd >
1461+ < pre > 这是一些汉字,·and·some·Latin·text,<!--
1462+ --> ·و·کمی·نوشتنن·عربی,·<!--
1463+ --> and·some·complex·LTR.</ pre >
1464+ </ dl >
1465+ </ div >
1466+
14321467 < p > When shaping scripts such as Arabic are allowed to break within words
14331468 due to ‘< code class =css > break-all</ code > ’, the characters must
14341469 still be shaped as if the word were not broken.
@@ -1516,12 +1551,9 @@ <h3 id=hyphens><span class=secno>5.1. </span>Hyphenation Control: the
15161551 explicit hyphen. Unicode Standard Annex #14 describes the < a
15171552 href ="http://unicode.org/reports/tr14/#SoftHyphen "> role of soft hyphens
15181553 in</ a > Unicode line breaking. < a href ="#UAX14 "
1519- rel =biblioentry > [UAX14]<!--{{!UAX14}}--> </ a >
1520- </ div >
1521-
1522- < div class =example >
1523- < p > In HTML, &shy; represents the soft hyphen character which
1524- suggests a line break opportunity.
1554+ rel =biblioentry > [UAX14]<!--{{!UAX14}}--> </ a > In HTML, &shy;
1555+ represents the soft hyphen character which suggests a hyphenation
1556+ opportunity.
15251557
15261558 < pre > ex&shy;ample</ pre >
15271559 </ div >
@@ -1547,6 +1579,14 @@ <h3 id=hyphens><span class=secno>5.1. </span>Hyphenation Control: the
15471579 due to hyphenation, the characters must still be shaped as if the word
15481580 were not broken.
15491581
1582+ < div class =example >
1583+ < p > For example, if the word
1584+ “نوشتنن” were
1585+ hyphenated, it would appear as
1586+ “ﻧﻮﺷ-ﺘﻦ” not as
1587+ “ﻧﻮﺵ-ﺗﻦ”.
1588+ </ div >
1589+
15501590 < h2 id =wrapping > < span class =secno > 6. </ span > Text Wrapping</ h2 >
15511591
15521592 < p > Text wrapping is controlled by the ‘< a href ="#text-wrap0 "> < code
0 commit comments