- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 29 Mar 2011 21:43:31 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text In directory hutz:/tmp/cvs-serv6878 Modified Files: Overview.html Overview.src.html Log Message: Clarifications to hanging-justification Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.html,v retrieving revision 1.79 retrieving revision 1.80 diff -u -d -r1.79 -r1.80 --- Overview.html 29 Mar 2011 21:40:41 -0000 1.79 +++ Overview.html 29 Mar 2011 21:43:29 -0000 1.80 @@ -89,7 +89,7 @@ <dt>This version: <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date: - 2011/03/23 01:21:18 $ (CVS $Revision$)</a> <!-- + 2011/03/29 21:40:41 $ (CVS $Revision$)</a> <!-- <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110329/">http://www.w3.org/TR/2011/WD-css3-text-20110329/</a></dd> --> @@ -4171,7 +4171,7 @@ <tr> <th>Value: - <td>none | [ first || last || [ allow-end | force-end ] ] + <td>none | [ first || [ force-end | allow-end ] ] <tr> <th>Initial: @@ -4206,40 +4206,42 @@ <p>This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at - the end of a full line of text. Such hanging punctuation is not considered - when measuring the line's contents for indentation, alignment, or - justification. Values have the following meanings: + the end of a line of text. Values have the following meanings: <dl> <dt><dfn id=first title="hanging-punctuation:first"><code>first</code></dfn> - <dd>Punctuation (specifically, opening brackets and quotes) may hang - outside the start edge of the first line. This applies to all characters - in the Unicode categories Ps, Pf, Pi. + <dd>An opening bracket or quote at the start of the <a + href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first + formatted line</a> of an element hangs outside the line. This applies to + all characters in the Unicode categories Ps, Pf, Pi. - <dt><dfn id=last title="hanging-punctuation:last"><code>last</code></dfn> + <dt><dfn id=force-end0 + title="hanging-punctuation:force-end"><code>force-end</code></dfn> - <dd>Punctuation (specifically, closing brackets and quotes) may hang - outside the start edge of the first line. This applies to all characters - in the Unicode categories Pe, Pf, and Pi. <span class=issue>This value <a - href="http://lists.w3.org/Archives/Public/www-style/2011Feb/0569.html">appears</a> - to have no use cases. If none are submitted, it will be dropped in the - next draft.</span> + <dd>A stop or comma at the end of a line hangs outside the line. <dt><dfn id=allow-end title="hanging-punctuation:allow-end"><code>allow-end</code></dfn> - <dd>Punctuation (specifically, stops and commas) may hang outside the end - edge of any line if the punctuation does not otherwise fit prior to - justification. + <dd>A stop or comma at the end of a line hangs outside the line if it does + not otherwise fit prior to justification. + </dl> - <dt><dfn id=force-end0 - title="hanging-punctuation:force-end"><code>force-end</code></dfn> + <p>A hanging punctuation mark is not considered when measuring the line's + contents for indentation, alignment, or justification. (Depending on the + line's alignment, this can push the mark outside the line box.) In all + cases only one punctuation character may hang outside the edge of the + line. - <dd>Punctuation (specifically, stops and commas) may hang outside the end - edge of any line. - </dl> + <p class=note>Note that if there is not sufficient padding on the block + container, hanging punctuation can trigger overflow. + + <p>Non-zero start and end borders or padding on an inline box are not + allowed to hang. This can sometimes prevent a hangable punctuation mark + from hanging: for example, a period at the end of an inline box with end + padding cannot hang outside the end edge of a line. <p>Stops and commas allowed to hang include: U+002C COMMA, U+002E FULL STOP, U+060C ARABIC COMMA, U+06D4 ARABIC FULL STOP, U+3001 IDEOGRAPHIC @@ -4251,15 +4253,9 @@ <p class=issue>Should other characters be included? - <p class=note>The CSS Working Group would appreciate if such UAs would - inform the working group of such additional characters. - - <p>In all cases only one punctuation character may hang outside the edge of - the line. Furthermore, start and end borders or padding on an inline - element are never allowed to hang. - - <p class=note>Note that if there is not sufficient padding on the block - container, hanging punctuation may trigger overflow. + <p class=note>The CSS Working Group would appreciate if UAs including other + characters would <a href="#status">inform the working group</a> of such + additions. <p>Support for this property is <em>optional</em>. It is recommended for UAs that wish to support CJK typography, particularly those in the @@ -6020,7 +6016,7 @@ <td><a class=property href="#hanging-punctuation0">hanging-punctuation</a> - <td>none | [ first || last || [ allow-end | force-end ] ] + <td>none | [ first || [ force-end | allow-end ] ] <td>none @@ -6668,9 +6664,6 @@ <li>hanging-punctuation:force-end, <a href="#force-end0" title="hanging-punctuation:force-end"><strong>10.2.</strong></a> - <li>hanging-punctuation:last, <a href="#last" - title="hanging-punctuation:last"><strong>10.2.</strong></a> - <li>hyphenate-character, <a href="#hyphenate-character0" title=hyphenate-character><strong>6.2.</strong></a> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.src.html,v retrieving revision 1.177 retrieving revision 1.178 diff -u -d -r1.177 -r1.178 --- Overview.src.html 29 Mar 2011 21:40:41 -0000 1.177 +++ Overview.src.html 29 Mar 2011 21:43:29 -0000 1.178 @@ -3075,7 +3075,7 @@ </tr> <tr> <th>Value:</th> - <td>none | [ first || last || [ allow-end | force-end ] ] + <td>none | [ first || [ force-end | allow-end ] ] </td> </tr> <tr> @@ -3107,33 +3107,36 @@ <p>This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start - or at the end of a full line of text. Such hanging punctuation is not - considered when measuring the line's contents for indentation, alignment, - or justification. + or at the end of a line of text. Values have the following meanings:</p> <dl> <dt><dfn title="hanging-punctuation:first"><code>first</code></dfn></dt> - <dd>Punctuation (specifically, opening brackets and quotes) may hang - outside the start edge of the first line. + <dd>An opening bracket or quote at the start of the + <a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first + formatted line</a> of an element hangs outside the line. This applies to all characters in the Unicode categories Ps, Pf, Pi.</dd> - <dt><dfn title="hanging-punctuation:last"><code>last</code></dfn></dt> - <dd>Punctuation (specifically, closing brackets and quotes) may hang - outside the start edge of the first line. - This applies to all characters in the Unicode categories Pe, Pf, and Pi. - <span class="issue">This value <a href="http://lists.w3.org/Archives/Public/www-style/2011Feb/0569.html">appears</a> - to have no use cases. If none are submitted, it will be dropped in the - next draft.</span> - </dd> - <dt><dfn title="hanging-punctuation:allow-end"><code>allow-end</code></dfn></dt> - <dd>Punctuation (specifically, stops and commas) may hang outside the - end edge of any line if the punctuation does not otherwise fit - prior to justification.</dd> <dt><dfn title="hanging-punctuation:force-end"><code>force-end</code></dfn></dt> - <dd>Punctuation (specifically, stops and commas) may hang outside the - end edge of any line.</dd> + <dd>A stop or comma at the end of a line hangs outside the line.</dd> + <dt><dfn title="hanging-punctuation:allow-end"><code>allow-end</code></dfn></dt> + <dd>A stop or comma at the end of a line hangs outside the line if it + does not otherwise fit prior to justification.</dd> </dl> + <p>A hanging punctuation mark is not considered when measuring the line's + contents for indentation, alignment, or justification. (Depending on the + line's alignment, this can push the mark outside the line box.) + In all cases only one punctuation character may hang outside the edge of + the line. + + <p class="note">Note that if there is not sufficient padding on the + block container, hanging punctuation can trigger overflow.</p> + + <p>Non-zero start and end borders or padding on an inline box are not + allowed to hang. This can sometimes prevent a hangable punctuation mark + from hanging: for example, a period at the end of an inline box with + end padding cannot hang outside the end edge of a line.</p> + <p>Stops and commas allowed to hang include: U+002C COMMA, U+002E FULL STOP, @@ -3150,14 +3153,10 @@ U+FF64 HALFWIDTH IDEOGRAPHIC COMMA. The UA may include other characters as appropriate. <p class="issue">Should other characters be included?</p> - <p class="note">The CSS Working Group would appreciate if such UAs would - inform the working group of such additional characters.</p> - <p>In all cases only one punctuation character may hang outside the edge - of the line. Furthermore, start and end borders or padding on an inline - element are never allowed to hang.</p> - <p class="note">Note that if there is not sufficient padding on the - block container, hanging punctuation may trigger overflow.</p> + <p class="note">The CSS Working Group would appreciate if UAs including + other characters would <a href="#status">inform the working group</a> + of such additions.</p> <p>Support for this property is <em>optional</em>. It is recommended for UAs that wish to support CJK typography, particularly those in
Received on Tuesday, 29 March 2011 21:43:33 UTC