[html5] r4612 - [e] (0) Make the 'language' dfn more clearly the UA requirement.

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 18 23:18:29 PST 2010


Author: ianh
Date: 2010-01-18 23:18:26 -0800 (Mon, 18 Jan 2010)
New Revision: 4612

Modified:
   complete.html
   index
   source
Log:
[e] (0) Make the 'language' dfn more clearly the UA requirement.

Modified: complete.html
===================================================================
--- complete.html	2010-01-18 12:58:01 UTC (rev 4611)
+++ complete.html	2010-01-19 07:18:26 UTC (rev 4612)
@@ -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 — 18 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 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>-->
@@ -7980,12 +7980,12 @@
   <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>
@@ -8027,10 +8027,10 @@
 
   <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>
 

Modified: index
===================================================================
--- index	2010-01-18 12:58:01 UTC (rev 4611)
+++ index	2010-01-19 07:18:26 UTC (rev 4612)
@@ -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 — 18 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 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>-->
@@ -7880,12 +7880,12 @@
   <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>
@@ -7927,10 +7927,10 @@
 
   <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>
 

Modified: source
===================================================================
--- source	2010-01-18 12:58:01 UTC (rev 4611)
+++ source	2010-01-19 07:18:26 UTC (rev 4612)
@@ -7951,12 +7951,12 @@
   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
@@ -8004,11 +8004,11 @@
 
   <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>




More information about the Commit-Watchers mailing list