|
83 | 83 |
|
84 | 84 | <h1>CSS Text Level 3</h1> |
85 | 85 |
|
86 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 January |
| 86 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 January |
87 | 87 | 2011</h2> |
88 | 88 |
|
89 | 89 | <dl> |
90 | 90 | <dt>This version: |
91 | 91 |
|
92 | 92 | <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date: |
93 | | - 2011/01/26 06:11:27 $ (CVS $Revision$)</a> <!--<dd><a |
| 93 | + 2011/01/28 01:27:35 $ (CVS $Revision$)</a> <!--<dd><a |
94 | 94 | href="http://www.w3.org/TR/2010/WD-css3-text-20101005/">http://www.w3.org/TR/2010/WD-css3-text-20101005/</a></dd> --> |
95 | 95 |
|
96 | 96 |
|
@@ -1337,7 +1337,7 @@ <h3 id=word-break><span class=secno>5.2. </span> Word Breaking Rules: the |
1337 | 1337 | <tr> |
1338 | 1338 | <th>Value: |
1339 | 1339 |
|
1340 | | - <td>normal | keep-all | break-all | hyphenate |
| 1340 | + <td>normal | keep-all | break-all | keep-words |
1341 | 1341 |
|
1342 | 1342 | <tr> |
1343 | 1343 | <th>Initial: |
@@ -1376,41 +1376,37 @@ <h3 id=word-break><span class=secno>5.2. </span> Word Breaking Rules: the |
1376 | 1376 | <dl> |
1377 | 1377 | <dt><dfn id=normal1 title="word-break:normal"><code>normal</code></dfn> |
1378 | 1378 |
|
1379 | | - <dd>Break words according to their usual rules. |
| 1379 | + <dd>Break lines according to their usual rules. |
1380 | 1380 |
|
1381 | 1381 | <dt><dfn id=break-all |
1382 | 1382 | title="word-break:break-all"><code>break-all</code></dfn> |
1383 | 1383 |
|
1384 | | - <dd>Words may break between any two grapheme clusters within words. |
| 1384 | + <dd>Lines may break between any two grapheme clusters within words. |
1385 | 1385 | Hyphenation is not applied. This option is used mostly in a context where |
1386 | 1386 | the text is predominantly using CJK characters with few non-CJK excerpts |
1387 | 1387 | and it is desired that the text be better distributed on each line. |
1388 | 1388 |
|
1389 | 1389 | <dt><dfn id=keep-all |
1390 | | - title="line-break:keep-all"><code>keep-all</code></dfn> |
| 1390 | + title="word-break:keep-all"><code>keep-all</code></dfn> |
1391 | 1391 |
|
1392 | | - <dd><a href="#block-scripts">Block</a> characters no longer create implied |
1393 | | - break points. Otherwise this option is equivalent to ‘<code |
| 1392 | + <dd><a href="#block-scripts">Block</a> characters can no longer create |
| 1393 | + implied break points. Otherwise this option is equivalent to ‘<code |
1394 | 1394 | class=css>normal</code>’. This option is mostly used where the |
1395 | 1395 | presence of word separator characters still creates line-breaking |
1396 | 1396 | opportunities, as in Korean. |
1397 | 1397 |
|
1398 | | - <dt><dfn id=hyphenate |
1399 | | - title="word-break:hyphenate"><code>hyphenate</code></dfn> |
1400 | | - |
1401 | | - <dd>Words may be broken at an appropriate hyphenation point in addition to |
1402 | | - opportunities available under ‘<code |
1403 | | - class=css>normal</code>’. |
1404 | | - <p class=issue>This value is proposed to replace the ‘<a |
1405 | | - href="#hyphens0"><code class=property>hyphens</code></a>’ |
1406 | | - property. Other values could be added as ‘<code |
1407 | | - class=css>word-break: hyphenate-all</code>’ and ‘<code |
1408 | | - class=css>word-break: none</code>’ |
| 1398 | + <dd><dfn id=keep-words |
| 1399 | + title="word-break:keep-words"><code>keep-words</code></dfn> |
| 1400 | + |
| 1401 | + <dd>Lines may not break within words, even in <a |
| 1402 | + href="#block-scripts">block scripts</a> (which would require the use of a |
| 1403 | + dictionary in languages such as Chinese and Japanese). This option is |
| 1404 | + sometimes used in combination with start-aligned (unjustified) text. |
1409 | 1405 | </dl> |
1410 | 1406 |
|
1411 | 1407 | <p>When shaping scripts such as Arabic are allowed to break within words |
1412 | | - due to ‘<code class=css>break-all</code>’ or hyphenation, the |
1413 | | - characters must still be shaped as if the word were not broken. |
| 1408 | + due to ‘<code class=css>break-all</code>’, the characters must |
| 1409 | + still be shaped as if the word were not broken. |
1414 | 1410 |
|
1415 | 1411 | <h2 id=hyphenation><span class=secno>6. </span>Hyphenation</h2> |
1416 | 1412 |
|
@@ -1524,6 +1520,10 @@ <h3 id=hyphens><span class=secno>6.1. </span>Hyphenation Control: the |
1524 | 1520 | <code>xml:lang</code>) and for which it has an appropriate hyphenation |
1525 | 1521 | resource. |
1526 | 1522 |
|
| 1523 | + <p>When shaping scripts such as Arabic are allowed to break within words |
| 1524 | + due to hyphenation, the characters must still be shaped as if the word |
| 1525 | + were not broken. |
| 1526 | + |
1527 | 1527 | <h3 id=hyphenate-character><span class=secno>6.2. </span> Hyphens: the |
1528 | 1528 | ‘<a href="#hyphenate-character0"><code |
1529 | 1529 | class=property>hyphenate-character</code></a>’ property</h3> |
@@ -5138,6 +5138,10 @@ <h3 class=no-num id=recent-changes> Changes from the <a |
5138 | 5138 | class=property>word-break</code></a>’ and adjusted explanation of |
5139 | 5139 | properties to match this split. |
5140 | 5140 |
|
| 5141 | + <li>Added ‘<code class=css>keep-words</code>’ value to |
| 5142 | + ‘<a href="#word-break0"><code |
| 5143 | + class=property>word-break</code></a>’. |
| 5144 | + |
5141 | 5145 | <li>Renamed ‘<code class=css>newspaper</code>’ value of |
5142 | 5146 | ‘<a href="#line-break0"><code |
5143 | 5147 | class=property>line-break</code></a>’ to ‘<code |
@@ -5878,7 +5882,7 @@ <h2 class=no-num id=appendix-b-property-index> Appendix B: Property index</h2> |
5878 | 5882 | <tr valign=baseline> |
5879 | 5883 | <td><a class=property href="#word-break0">word-break</a> |
5880 | 5884 |
|
5881 | | - <td>normal | keep-all | break-all | hyphenate |
| 5885 | + <td>normal | keep-all | break-all | keep-words |
5882 | 5886 |
|
5883 | 5887 | <td>normal |
5884 | 5888 |
|
@@ -6063,9 +6067,6 @@ <h2 class=no-num id=index>Index</h2> |
6063 | 6067 | <li>line-break:auto, <a href="#auto" |
6064 | 6068 | title="line-break:auto"><strong>5.1.</strong></a> |
6065 | 6069 |
|
6066 | | - <li>line-break:keep-all, <a href="#keep-all" |
6067 | | - title="line-break:keep-all"><strong>5.2.</strong></a> |
6068 | | - |
6069 | 6070 | <li>line-break:loose, <a href="#loose" |
6070 | 6071 | title="line-break:loose"><strong>5.1.</strong></a> |
6071 | 6072 |
|
@@ -6364,8 +6365,11 @@ <h2 class=no-num id=index>Index</h2> |
6364 | 6365 | <li>word-break:break-all, <a href="#break-all" |
6365 | 6366 | title="word-break:break-all"><strong>5.2.</strong></a> |
6366 | 6367 |
|
6367 | | - <li>word-break:hyphenate, <a href="#hyphenate" |
6368 | | - title="word-break:hyphenate"><strong>5.2.</strong></a> |
| 6368 | + <li>word-break:keep-all, <a href="#keep-all" |
| 6369 | + title="word-break:keep-all"><strong>5.2.</strong></a> |
| 6370 | + |
| 6371 | + <li>word-break:keep-words, <a href="#keep-words" |
| 6372 | + title="word-break:keep-words"><strong>5.2.</strong></a> |
6369 | 6373 |
|
6370 | 6374 | <li>word-break:normal, <a href="#normal1" |
6371 | 6375 | title="word-break:normal"><strong>5.2.</strong></a> |
|
0 commit comments