- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 23 Feb 2011 05:34:48 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text In directory hutz:/tmp/cvs-serv14302 Modified Files: Overview.html Overview.src.html Log Message: Copy over CSS2.1 wording for 'text-transform: capitalize'. Specify that words boundaries are undefined. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- Overview.html 23 Feb 2011 05:17:13 -0000 1.61 +++ Overview.html 23 Feb 2011 05:34:46 -0000 1.62 @@ -90,7 +90,7 @@ <dt>This version: <dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date: - 2011/02/23 05:09:17 $ (CVS $Revision$)</a> <!-- + 2011/02/23 05:19:30 $ (CVS $Revision$)</a> <!-- <dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110223/">http://www.w3.org/TR/2011/WD-css3-text-20110223/</a></dd> --> @@ -637,7 +637,7 @@ <td>as specified </table> - <p>This property transforms text for the styling purpose. Values have the + <p>This property transforms text for styling purposes. Values have the following meanings: <dl> @@ -648,7 +648,8 @@ <dt><dfn id=capitalize title="text-transform:capitalize"><code>capitalize</code></dfn> - <dd>Puts all words in titlecase. + <dd>Puts the first character of each word in titlecase; other characters + are unaffected. <dt><dfn id=uppercase title="text-transform:uppercase"><code>uppercase</code></dfn> @@ -692,6 +693,18 @@ Unicode consortium web site at <a href="#UAX11" rel=biblioentry>[UAX11]<!--{{!UAX11}}--></a>. + <p>The definition of "word" used for ‘<code + class=css>captilize</code>’ is UA-dependent; <a href="#UAX29" + rel=biblioentry>[UAX29]<!--{{UAX29}}--></a> is suggested (but not + required) for determining such word boundaries. Authors should not expect + ‘<code class=css>capitalize</code>’ to follow + language-specific titlecasing conventions (such as skipping articles in + English). + <!-- www-style notes that UAX29 won't work for 'Tis and similar, so + the UA might want to use UAX29 to split into words, but skip forward + past any starting non-letters (as an example of why UAX29 is not ideal) --> + + <div class=example> <p>The following example converts the ASCII characters in abbreviations in Japanese to their fullwidth variants so that they lay out and line break @@ -5569,6 +5582,15 @@ </dd> <!----> + <dt id=UAX29>[UAX29] + + <dd>Mark Davis. <a + href="http://www.unicode.org/unicode/reports/tr29/tr29-9.html"><cite>Text + Boundaries.</cite></a> 25 March 2005. Unicode Standard Annex #29. URL: <a + href="http://www.unicode.org/unicode/reports/tr29/tr29-9.html">http://www.unicode.org/unicode/reports/tr29/tr29-9.html</a> + </dd> + <!----> + <dt id=ZHMARK>[ZHMARK] <dd><cite>标点符号用法 (Punctuation Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.src.html,v retrieving revision 1.156 retrieving revision 1.157 diff -u -d -r1.156 -r1.157 --- Overview.src.html 23 Feb 2011 05:19:30 -0000 1.156 +++ Overview.src.html 23 Feb 2011 05:34:46 -0000 1.157 @@ -343,7 +343,8 @@ <dt><dfn title="text-transform:none"><code>none</code></dfn></dt> <dd>No effects.</dd> <dt><dfn title="text-transform:capitalize"><code>capitalize</code></dfn></dt> - <dd>Puts all words in titlecase.</dd> + <dd>Puts the first character of each word in titlecase; other characters + are unaffected.</dd> <dt><dfn title="text-transform:uppercase"><code>uppercase</code></dfn></dt> <dd>Puts all characters in uppercase.</dd> <dt><dfn title="text-transform:lowercase"><code>lowercase</code></dfn></dt> @@ -374,6 +375,15 @@ <p>The definition of fullwidth and halfwidth forms can be found on the Unicode consortium web site at [[!UAX11]].</p> + <p>The definition of "word" used for ''captilize'' is UA-dependent; + [[UAX29]] is suggested (but not required) for determining such word + boundaries. Authors should not expect ''capitalize'' to follow + language-specific titlecasing conventions (such as skipping articles + in English). + <!-- www-style notes that UAX29 won't work for 'Tis and similar, so + the UA might want to use UAX29 to split into words, but skip forward + past any starting non-letters (as an example of why UAX29 is not ideal) --> + <div class="example"> <p>The following example converts the ASCII characters in abbreviations in Japanese to their fullwidth variants so that they lay out and line
Received on Wednesday, 23 February 2011 05:34:50 UTC