Skip to content

Commit

Permalink
[e] (0) Clarify xml:lang nonsense.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3698 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 29, 2009
1 parent e7e1da6 commit 3f7ad5e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions index
Expand Up @@ -7821,6 +7821,10 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
must have the same value when compared in an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> manner.</p>

<p class=note>The attribute in no namespace with no prefix and
with the literal localname "<code title="">xml:lang</code>" has no
effect on language processing.</p>

<div class=impl>

<hr><p>To determine the language of a node, user agents must look at the
Expand All @@ -7838,9 +7842,10 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
<a href=#ignore title=ignore>ignored</a> for the purposes of determining
the element's language.</p>

<p>If no explicit language is given for the <a href=#root-element>root
element</a>, but there is a <a href=#document-wide-default-language>document-wide default
language</a> set, then that is the language of the node.</p>
<p>If no explicit language is given for any ancestors of the node,
including the <a href=#root-element>root element</a>, but there is a
<a href=#document-wide-default-language>document-wide default language</a> set, then that is the
language of the node.</p>

<p>If there is no <a href=#document-wide-default-language>document-wide default language</a>, then
language information from a higher-level protocol (such as HTTP), if
Expand Down
11 changes: 8 additions & 3 deletions source
Expand Up @@ -7951,6 +7951,10 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
must have the same value when compared in an <span>ASCII
case-insensitive</span> manner.</p>

<p class="note">The attribute in no namespace with no prefix and
with the literal localname "<code title="">xml:lang</code>" has no
effect on language processing.</p>

<div class="impl">

<hr>
Expand All @@ -7974,9 +7978,10 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
<span title="ignore">ignored</span> for the purposes of determining
the element's language.</p>

<p>If no explicit language is given for the <span>root
element</span>, but there is a <span>document-wide default
language</span> set, then that is the language of the node.</p>
<p>If no explicit language is given for any ancestors of the node,
including the <span>root element</span>, but there is a
<span>document-wide default language</span> set, then that is the
language of the node.</p>

<p>If there is no <span>document-wide default language</span>, then
language information from a higher-level protocol (such as HTTP), if
Expand Down

0 comments on commit 3f7ad5e

Please sign in to comment.