|
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 31 March 2011</h2> |
| 86 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 2 April 2011</h2> |
87 | 87 |
|
88 | 88 | <dl> |
89 | 89 | <dt>This version: |
90 | 90 |
|
91 | 91 | <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date: |
92 | | - 2011/03/30 07:53:26 $ (CVS $Revision$)</a> <!-- |
93 | | - <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110331/">http://www.w3.org/TR/2011/WD-css3-text-20110331/</a></dd> |
| 92 | + 2011/03/31 19:23:21 $ (CVS $Revision$)</a> <!-- |
| 93 | + <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110402/">http://www.w3.org/TR/2011/WD-css3-text-20110402/</a></dd> |
94 | 94 | --> |
95 | 95 |
|
96 | 96 |
|
@@ -2901,6 +2901,10 @@ <h3 id=text-justify><span class=secno>8.3. </span> Justification Method: |
2901 | 2901 |
|
2902 | 2902 | <dd>Justification primarily stretches <a href="#cursive-scripts">cursive |
2903 | 2903 | scripts</a> through the use of kashida or other calligraphic elongation. |
| 2904 | + This value is <em>optional</em> for conformance to CSS3 Text. (UAs that |
| 2905 | + do not support cursive elongation must <a |
| 2906 | + href="http://www.w3.org/TR/css-beijing/#partial">treat the value as |
| 2907 | + invalid</a>.) |
2904 | 2908 | </dl> |
2905 | 2909 |
|
2906 | 2910 | <p>When justifying text, the user agent takes the remaining space between |
@@ -4273,39 +4277,45 @@ <h3 id=hanging-punctuation><span class=secno>10.2. </span> Hanging |
4273 | 4277 |
|
4274 | 4278 | <p>This property determines whether a punctuation mark, if one is present, |
4275 | 4279 | may be placed outside the line box (or in the indent) at the start or at |
4276 | | - the end of a line of text. Values have the following meanings: |
| 4280 | + the end of a line of text. |
| 4281 | + |
| 4282 | + <p class=note>Note that if there is not sufficient padding on the block |
| 4283 | + container, hanging punctuation can trigger overflow. |
| 4284 | + |
| 4285 | + <p>Values have the following meanings: |
4277 | 4286 |
|
4278 | 4287 | <dl> |
4279 | 4288 | <dt><dfn id=first |
4280 | 4289 | title="hanging-punctuation:first"><code>first</code></dfn> |
4281 | 4290 |
|
4282 | 4291 | <dd>An opening bracket or quote at the start of the <a |
4283 | 4292 | href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first |
4284 | | - formatted line</a> of an element hangs outside the line. This applies to |
4285 | | - all characters in the Unicode categories Ps, Pf, Pi. |
| 4293 | + formatted line</a> of an element hangs. This applies to all characters in |
| 4294 | + the Unicode categories Ps, Pf, Pi. |
4286 | 4295 |
|
4287 | 4296 | <dt><dfn id=force-end0 |
4288 | 4297 | title="hanging-punctuation:force-end"><code>force-end</code></dfn> |
4289 | 4298 |
|
4290 | | - <dd>A stop or comma at the end of a line hangs outside the line. |
| 4299 | + <dd>A stop or comma at the end of a line hangs. |
4291 | 4300 |
|
4292 | 4301 | <dt><dfn id=allow-end |
4293 | 4302 | title="hanging-punctuation:allow-end"><code>allow-end</code></dfn> |
4294 | 4303 |
|
4295 | | - <dd>A stop or comma at the end of a line hangs outside the line if it does |
4296 | | - not otherwise fit prior to justification. |
| 4304 | + <dd>A stop or comma at the end of a line hangs if it does not otherwise |
| 4305 | + fit prior to justification. |
4297 | 4306 | </dl> |
4298 | 4307 |
|
4299 | 4308 | <p>When a punctuation mark hangs, it is not considered when measuring the |
4300 | | - line's contents for indentation, alignment, or justification. (The |
4301 | | - punctuation mark is part of the justified contents; it is just not |
4302 | | - measured when determining how much the contents need to be expanded or |
4303 | | - compressed.) Depending on the line's alignment, this can push the mark |
4304 | | - outside the line box. At most one punctuation character may hang outside |
4305 | | - each edge of the line. |
4306 | | - |
4307 | | - <p class=note>Note that if there is not sufficient padding on the block |
4308 | | - container, hanging punctuation can trigger overflow. |
| 4309 | + line's contents for fit, alignment, or justification. Depending on the |
| 4310 | + line's alignment, this can push the mark outside the line box. At most one |
| 4311 | + punctuation character may hang outside each edge of the line. |
| 4312 | + |
| 4313 | + <p class=note>A hanging punctuation mark is still enclosed inside its |
| 4314 | + inline box and participates in text justification: its character advance |
| 4315 | + width is just not measured when determining how much content fits on the |
| 4316 | + line, how much the line's contents need to be expanded or compressed for |
| 4317 | + justification, or how to position the content within the line box for text |
| 4318 | + alignment. |
4309 | 4319 |
|
4310 | 4320 | <p>Non-zero start and end borders or padding on an inline box are not |
4311 | 4321 | allowed to hang. This can sometimes prevent a hangable punctuation mark |
|
0 commit comments