Skip to content

Commit

Permalink
[e] (0) Make the 'language' dfn more clearly the UA requirement.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4612 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 19, 2010
1 parent eb34197 commit 4554ee3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
22 changes: 11 additions & 11 deletions complete.html
Expand Up @@ -110,7 +110,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 18 January 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 19 January 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -7980,12 +7980,12 @@ <h5 id=the-title-attribute><span class=secno>3.2.3.2 </span>The <dfn title=attr-
<h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <code title=attr-lang><a href=#attr-lang>lang</a></code> and <code title=attr-xml-lang><a href=#attr-xml-lang>xml:lang</a></code> attributes</h5>

<p>The <dfn id=attr-lang title=attr-lang><code>lang</code></dfn> attribute (in
no namespace) specifies the primary <dfn id=language>language</dfn> for the
element's contents and for any of the element's attributes that
contain text. Its value must be a valid BCP 47 language code, or the
empty string. Setting the attribute to the empty string indicates
that the primary language is unknown<!-- UA conformance requirements
for this are below -->. <a href=#refsBCP47>[BCP47]</a></p>
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href=#refsBCP47>[BCP47]</a></p>

<p>The <dfn id=attr-xml-lang title=attr-xml-lang><code title="">lang</code></dfn>
attribute in the <a href=#xml-namespace>XML namespace</a> is defined in XML. <a href=#refsXML>[XML]</a></p>
Expand Down Expand Up @@ -8027,10 +8027,10 @@ <h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <co

<div class=impl>

<hr><p>To determine the language of a node, user agents must look at the
nearest ancestor element (including the element itself if the node
is an element) that has a <a href=#attr-xml-lang title=attr-xml-lang><code title="">lang</code> attribute in the <span>XML
namespace</span></a> set or is an <a href=#html-elements title="HTML
<hr><p>To determine the <dfn id=language>language</dfn> of a node, user agents must
look at the nearest ancestor element (including the element itself
if the node is an element) that has a <a href=#attr-xml-lang title=attr-xml-lang><code title="">lang</code> attribute in the
<span>XML namespace</span></a> set or is an <a href=#html-elements title="HTML
elements">HTML element</a> and has a <code title=attr-lang><a href=#attr-lang>lang</a></code> in no namespace attribute set. That
attribute specifies the language of the node.</p>

Expand Down
22 changes: 11 additions & 11 deletions index
Expand Up @@ -112,7 +112,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 18 January 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 19 January 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -7880,12 +7880,12 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
<h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <code title=attr-lang><a href=#attr-lang>lang</a></code> and <code title=attr-xml-lang><a href=#attr-xml-lang>xml:lang</a></code> attributes</h5>

<p>The <dfn id=attr-lang title=attr-lang><code>lang</code></dfn> attribute (in
no namespace) specifies the primary <dfn id=language>language</dfn> for the
element's contents and for any of the element's attributes that
contain text. Its value must be a valid BCP 47 language code, or the
empty string. Setting the attribute to the empty string indicates
that the primary language is unknown<!-- UA conformance requirements
for this are below -->. <a href=#refsBCP47>[BCP47]</a></p>
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href=#refsBCP47>[BCP47]</a></p>

<p>The <dfn id=attr-xml-lang title=attr-xml-lang><code title="">lang</code></dfn>
attribute in the <a href=#xml-namespace>XML namespace</a> is defined in XML. <a href=#refsXML>[XML]</a></p>
Expand Down Expand Up @@ -7927,10 +7927,10 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>

<div class=impl>

<hr><p>To determine the language of a node, user agents must look at the
nearest ancestor element (including the element itself if the node
is an element) that has a <a href=#attr-xml-lang title=attr-xml-lang><code title="">lang</code> attribute in the <span>XML
namespace</span></a> set or is an <a href=#html-elements title="HTML
<hr><p>To determine the <dfn id=language>language</dfn> of a node, user agents must
look at the nearest ancestor element (including the element itself
if the node is an element) that has a <a href=#attr-xml-lang title=attr-xml-lang><code title="">lang</code> attribute in the
<span>XML namespace</span></a> set or is an <a href=#html-elements title="HTML
elements">HTML element</a> and has a <code title=attr-lang><a href=#attr-lang>lang</a></code> in no namespace attribute set. That
attribute specifies the language of the node.</p>

Expand Down
22 changes: 11 additions & 11 deletions source
Expand Up @@ -7951,12 +7951,12 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
title="attr-xml-lang">xml:lang</code> attributes</h5>

<p>The <dfn title="attr-lang"><code>lang</code></dfn> attribute (in
no namespace) specifies the primary <dfn>language</dfn> for the
element's contents and for any of the element's attributes that
contain text. Its value must be a valid BCP 47 language code, or the
empty string. Setting the attribute to the empty string indicates
that the primary language is unknown<!-- UA conformance requirements
for this are below -->. <a href="#refsBCP47">[BCP47]</a></p>
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href="#refsBCP47">[BCP47]</a></p>

<p>The <dfn title="attr-xml-lang"><code title="">lang</code></dfn>
attribute in the <span>XML namespace</span> is defined in XML. <a
Expand Down Expand Up @@ -8004,11 +8004,11 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>

<hr>

<p>To determine the language of a node, user agents must look at the
nearest ancestor element (including the element itself if the node
is an element) that has a <span title="attr-xml-lang"><code
title="">lang</code> attribute in the <span>XML
namespace</span></span> set or is an <span title="HTML
<p>To determine the <dfn>language</dfn> of a node, user agents must
look at the nearest ancestor element (including the element itself
if the node is an element) that has a <span
title="attr-xml-lang"><code title="">lang</code> attribute in the
<span>XML namespace</span></span> set or is an <span title="HTML
elements">HTML element</span> and has a <code
title="attr-lang">lang</code> in no namespace attribute set. That
attribute specifies the language of the node.</p>
Expand Down

0 comments on commit 4554ee3

Please sign in to comment.