Skip to content

Commit 119b9da

Browse files
committed
Use jdaggett's proposed wording for text-transform's language-specific rules <http://lists.w3.org/Archives/Public/www-style/2011Sep/0212.html>
1 parent 6fb6255 commit 119b9da

2 files changed

Lines changed: 57 additions & 10 deletions

File tree

css3-text/Overview.html

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
<h1>CSS Text Level 3</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 October 2011</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 5 October 2011</h2>
3333

3434
<dl>
3535
<dt>This version:
3636

3737
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2011/10/04
38-
00:51:39 $ (CVS $Revision$)</a> <!--
39-
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20111004/">http://www.w3.org/TR/2011/WD-css3-text-20111004/</a></dd>
38+
00:56:48 $ (CVS $Revision$)</a> <!--
39+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20111005/">http://www.w3.org/TR/2011/WD-css3-text-20111005/</a></dd>
4040
-->
4141

4242

@@ -606,11 +606,34 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
606606
href="#UNICODE" rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a>. The UA
607607
must use the full case mappings for Unicode characters, including any
608608
conditional casing rules, as defined in Default Case Algorithm section. If
609-
(and only if) the content language of the element is known, then any
610-
applicable language-specific rules must be used as well. (See e.g. <a
611-
href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>)
609+
(and only if) the content language of the element is, according to the
610+
rules of the document language, known, then any appropriate
611+
language-specific rules must be applied as well. These minimally include,
612+
but are not limited to, the language-specific rules in Unicode's <a
613+
href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>.
612614

613615

616+
<div class=example>
617+
<p>For example, in Turkish there are two &ldquo;i&rdquo;s, one with a
618+
dot&mdash;&ldquo;İ&rdquo; and &ldquo;i&rdquo;&mdash; and one
619+
without&mdash;&ldquo;I&rdquo; and &ldquo;ı&rdquo;. Thus the usual case
620+
mappings between &ldquo;I&rdquo; and &ldquo;i&rdquo; are replaced with a
621+
different set of mappings to their respective undotted/dotted
622+
counterparts, which do not exist in English. This mapping must only take
623+
effect if the language is known to be Turkish or Azeri; in other
624+
languages, the usual mapping of &ldquo;I&rdquo; and &ldquo;i&rdquo; is
625+
required. This rule is thus conditionally defined in Unicode's
626+
SpecialCasing.txt file.
627+
</div>
628+
<!--
629+
<div class="example">
630+
<p>An example where the UA may choose to include rules beyond those
631+
in Unicode is Greek. In Greek, if the entire word is in upper case,
632+
accents are dropped or transformed
633+
http://blogs.msdn.com/b/michkap/archive/2006/08/18/706383.aspx
634+
</div>
635+
-->
636+
614637
<p>The definition of "word" used for &lsquo;<code
615638
class=css>capitalize</code>&rsquo; is UA-dependent; <a href="#UAX29"
616639
rel=biblioentry>[UAX29]<!--{{!UAX29}}--></a> is suggested (but not

css3-text/Overview.src.html

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,34 @@ <h3 id="text-transform">
264264
[[!UNICODE]]. The UA must use the full case mappings for Unicode
265265
characters, including any conditional casing rules, as defined in
266266
Default Case Algorithm section. If (and only if) the content language
267-
of the element is known, then any applicable language-specific rules
268-
must be used as well. (See e.g.
269-
<a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>)
270-
</p>
267+
of the element is, according to the rules of the document language,
268+
known, then any appropriate language-specific rules must be applied
269+
as well.
270+
These minimally include, but are not limited to, the language-specific
271+
rules in Unicode's
272+
<a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>.
273+
274+
<div class="example">
275+
<p>For example, in Turkish there are two &ldquo;i&rdquo;s, one with
276+
a dot&mdash;&ldquo;İ&rdquo; and &ldquo;i&rdquo;&mdash; and one
277+
without&mdash;&ldquo;I&rdquo; and &ldquo;ı&rdquo;. Thus the usual
278+
case mappings between &ldquo;I&rdquo; and &ldquo;i&rdquo; are
279+
replaced with a different set of mappings to their respective
280+
undotted/dotted counterparts, which do not exist in English. This
281+
mapping must only take effect if the language is known to be Turkish
282+
or Azeri; in other languages, the usual mapping of &ldquo;I&rdquo;
283+
and &ldquo;i&rdquo; is required. This rule is thus conditionally
284+
defined in Unicode's SpecialCasing.txt file.
285+
</div>
286+
287+
<!--
288+
<div class="example">
289+
<p>An example where the UA may choose to include rules beyond those
290+
in Unicode is Greek. In Greek, if the entire word is in upper case,
291+
accents are dropped or transformed
292+
http://blogs.msdn.com/b/michkap/archive/2006/08/18/706383.aspx
293+
</div>
294+
-->
271295

272296
<p>The definition of "word" used for ''capitalize'' is UA-dependent;
273297
[[!UAX29]] is suggested (but not required) for determining such word

0 commit comments

Comments
 (0)