Skip to content

Commit 392d36f

Browse files
committed
Tweak ocntent-language wording
--HG-- extra : rebase_source : 6d53b4f2f7aa4e082491f1d9678634ee336507f1
1 parent 06c9369 commit 392d36f

2 files changed

Lines changed: 24 additions & 23 deletions

File tree

css3-text/Overview.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,12 @@ <h3 id=terms><span class=secno>1.3. </span> Terminology</h3>
471471
(human) language the element is declared to be in, according to the rules
472472
of the <a
473473
href="http://www.w3.org/TR/CSS21/conform.html#doclanguage">document
474-
language</a>. For example, the rules for determining the content language
475-
of an HTML element use the <code>lang</code> attribute and are defined in
476-
<a href="#HTML5" rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>, and the
477-
rules for determining the content language of an XML element use the
478-
<code>xml:lang</code> attribute and are <a
474+
language</a>. For example, the rules for determining the <a
475+
href="#content-language"><i>content language</i></a> of an HTML element
476+
use the <code>lang</code> attribute and are defined in <a href="#HTML5"
477+
rel=biblioentry>[HTML5]<!--{{HTML5}}--></a>, and the rules for determining
478+
the <a href="#content-language"><i>content language</i></a> of an XML
479+
element use the <code>xml:lang</code> attribute and are <a
479480
href="http://www.w3.org/TR/REC-xml/#sec-lang-tag">defined</a> in <a
480481
href="#XML10" rel=biblioentry>[XML10]<!--{{XML10}}--></a>. Note that it is
481482
possible for the <a href="#content-language"><i>content language</i></a>
@@ -587,8 +588,8 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
587588
href="#UNICODE" rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a>. The UA
588589
must use the full case mappings for Unicode characters, including any
589590
conditional casing rules, as defined in Default Case Algorithm section. If
590-
(and only if) the content language of the element is, according to the
591-
rules of the <a
591+
(and only if) the <a href="#content-language"><i>content language</i></a>
592+
of the element is, according to the rules of the <a
592593
href="http://www.w3.org/CSS21/conform.html#doclanguage">document
593594
language</a>, known, then any appropriate language-specific rules must be
594595
applied as well. These minimally include, but are not limited to, the
@@ -603,10 +604,10 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
603604
with a different set of mappings to their respective undotted/dotted
604605
counterparts, which do not exist in English. This mapping must only take
605606
effect if the <a href="#content-language"><i>content language</i></a> is
606-
known to be Turkish (or another Turkic language that uses Turkish casing
607-
rules); in other languages, the usual mapping of “I” and “i” is
608-
required. This rule is thus conditionally defined in Unicode's
609-
SpecialCasing.txt file.
607+
Turkish (or another Turkic language that uses Turkish casing rules); in
608+
other languages, the usual mapping of “I” and “i” is required.
609+
This rule is thus conditionally defined in Unicode's SpecialCasing.txt
610+
file.
610611
</div>
611612
<!--
612613
<div class="example">
@@ -1319,8 +1320,8 @@ <h3 id=line-break><span class=secno>5.2. </span> Breaking Rules for
13191320
<li>breaks before the Katakana-Hiragana prolonged sound mark:
13201321
ー U+30FC, ー U+FF70
13211322
</ul>
1322-
If the <a href="#content-language"><i>content language</i></a> is known
1323-
to be Chinese or Japanese, then additionally:
1323+
If the <a href="#content-language"><i>content language</i></a> is Chinese
1324+
or Japanese, then additionally:
13241325
<ul>
13251326
<li>breaks before hyphens:<br>
13261327
‐ U+2010, – U+2013, 〜 U+301C, ゠ U+30A0
@@ -1337,8 +1338,8 @@ <h3 id=line-break><span class=secno>5.2. </span> Breaking Rules for
13371338
<li>breaks between some inseparable characters:<br>
13381339
‥ U+2025, … U+2026
13391340
</ul>
1340-
If the <a href="#content-language"><i>content language</i></a> is known
1341-
to be Chinese or Japanese, then additionally:
1341+
If the <a href="#content-language"><i>content language</i></a> is Chinese
1342+
or Japanese, then additionally:
13421343
<ul>
13431344
<li>breaks before certain centered punctuation marks:<br>
13441345
: U+003A, ; U+003B, ・ U+30FB, : U+FF1A, ; U+FF1B,

css3-text/Overview.src.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ <h3 id="terms">
203203
<p>The <dfn>content language</dfn> of an element is the (human) language
204204
the element is declared to be in, according to the rules of the
205205
<a href="http://www.w3.org/TR/CSS21/conform.html#doclanguage">document language</a>.
206-
For example, the rules for determining the content language of an HTML
206+
For example, the rules for determining the <i>content language</i> of an HTML
207207
element use the <code>lang</code> attribute and are defined in [[HTML5]],
208-
and the rules for determining the content language of an XML element use
208+
and the rules for determining the <i>content language</i> of an XML element use
209209
the <code>xml:lang</code> attribute and are
210210
<a href="http://www.w3.org/TR/REC-xml/#sec-lang-tag">defined</a> in [[XML10]].
211211
Note that it is possible for the <i>content language</i> of an element
@@ -298,11 +298,11 @@ <h3 id="text-transform">
298298
Unicode Standard can be found on the Unicode Consortium Web site
299299
[[!UNICODE]]. The UA must use the full case mappings for Unicode
300300
characters, including any conditional casing rules, as defined in
301-
Default Case Algorithm section. If (and only if) the content language
301+
Default Case Algorithm section. If (and only if) the <i>content language</i>
302302
of the element is, according to the rules of the
303303
<a href="http://www.w3.org/CSS21/conform.html#doclanguage">document language</a>,
304-
known, then any appropriate language-specific rules must be applied
305-
as well.
304+
known,
305+
then any appropriate language-specific rules must be applied as well.
306306
These minimally include, but are not limited to, the language-specific
307307
rules in Unicode's
308308
<a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>.
@@ -314,7 +314,7 @@ <h3 id="text-transform">
314314
case mappings between &ldquo;I&rdquo; and &ldquo;i&rdquo; are
315315
replaced with a different set of mappings to their respective
316316
undotted/dotted counterparts, which do not exist in English. This
317-
mapping must only take effect if the <i>content language</i> is known to be Turkish
317+
mapping must only take effect if the <i>content language</i> is Turkish
318318
(or another Turkic language that uses Turkish casing rules);
319319
in other languages, the usual mapping of &ldquo;I&rdquo;
320320
and &ldquo;i&rdquo; is required. This rule is thus conditionally
@@ -885,7 +885,7 @@ <h3 id="line-break">
885885
<li>breaks before the Katakana-Hiragana prolonged sound mark:
886886
&#x30FC;&nbsp;U+30FC, &#xFF70&nbsp;U+FF70
887887
</ul>
888-
If the <i>content language</i> is known to be Chinese or Japanese, then additionally:
888+
If the <i>content language</i> is Chinese or Japanese, then additionally:
889889
<ul>
890890
<li>breaks before hyphens:<br>
891891
&#x2010;&nbsp;U+2010, &#x2013;&nbsp;U+2013, &#x301C;&nbsp;U+301C,
@@ -900,7 +900,7 @@ <h3 id="line-break">
900900
<li>breaks between some inseparable characters:<br>
901901
&#x2025;&nbsp;U+2025, &#x2026;&nbsp;U+2026
902902
</ul>
903-
If the <i>content language</i> is known to be Chinese or Japanese, then additionally:
903+
If the <i>content language</i> is Chinese or Japanese, then additionally:
904904
<ul>
905905
<li>breaks before certain centered punctuation marks:<br>
906906
&#x003A;&nbsp;U+003A, &#x003B;&nbsp;U+003B, &#x30FB;&nbsp;U+30FB,

0 commit comments

Comments
 (0)