[html5] r3697 - [c] (0) Clarify that xml:lang shouldn't be used on HTML elements, but is ok on M [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 29 15:14:23 PDT 2009


Author: ianh
Date: 2009-08-29 15:14:22 -0700 (Sat, 29 Aug 2009)
New Revision: 3697

Modified:
   index
   source
Log:
[c] (0) Clarify that xml:lang shouldn't be used on HTML elements, but is ok on MathML and SVG elements in text/html. (also, fix xref)

Modified: index
===================================================================
--- index	2009-08-29 22:12:26 UTC (rev 3696)
+++ index	2009-08-29 22:14:22 UTC (rev 3697)
@@ -6694,7 +6694,7 @@
     address</a> of the <code>Document</code> from which the user
     navigated to this one, unless it was blocked or there was no such
     document, in which case it returns the empty string.</p>
-    <p>The <code title=link-type-noreferrer>noreferrer</code> link
+    <p>The <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> link
     type can be used to block the referrer.</p>
    </dd>
 
@@ -7811,14 +7811,15 @@
   case-insensitive</a> manner.</p>
 
   <p>Authors must not use the <a href=#attr-xml-lang title=attr-xml-lang><code title="">lang</code> attribute in the <span>XML
-  namespace</span></a> in <a href=#html-documents>HTML documents</a>. To ease
-  migration to and from XHTML, authors may specify an attribute in no
-  namespace with no prefix and with the literal localname "<code title="">xml:lang</code>" on <a href=#html-elements>HTML elements</a> in
-  <a href=#html-documents>HTML documents</a>, but such attributes must only be
-  specified if a <code title=attr-lang><a href=#attr-lang>lang</a></code> attribute in no
-  namespace is also specified, and both attributes must have the same
-  value when compared in an <a href=#ascii-case-insensitive>ASCII case-insensitive</a>
-  manner.</p>
+  namespace</span></a> on <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
+  documents</a>. To ease migration to and from XHTML, authors may
+  specify an attribute in no namespace with no prefix and with the
+  literal localname "<code title="">xml:lang</code>" on <a href=#html-elements>HTML
+  elements</a> in <a href=#html-documents>HTML documents</a>, but such attributes
+  must only be specified if a <code title=attr-lang><a href=#attr-lang>lang</a></code>
+  attribute in no namespace is also specified, and both attributes
+  must have the same value when compared in an <a href=#ascii-case-insensitive>ASCII
+  case-insensitive</a> manner.</p>
 
   <div class=impl>
 

Modified: source
===================================================================
--- source	2009-08-29 22:12:26 UTC (rev 3696)
+++ source	2009-08-29 22:14:22 UTC (rev 3697)
@@ -6660,7 +6660,7 @@
     address</span> of the <code>Document</code> from which the user
     navigated to this one, unless it was blocked or there was no such
     document, in which case it returns the empty string.</p>
-    <p>The <code title="link-type-noreferrer">noreferrer</code> link
+    <p>The <code title="rel-noreferrer">noreferrer</code> link
     type can be used to block the referrer.</p>
    </dd>
 
@@ -7941,15 +7941,15 @@
 
   <p>Authors must not use the <span title="attr-xml-lang"><code
   title="">lang</code> attribute in the <span>XML
-  namespace</span></span> in <span>HTML documents</span>. To ease
-  migration to and from XHTML, authors may specify an attribute in no
-  namespace with no prefix and with the literal localname "<code
-  title="">xml:lang</code>" on <span>HTML elements</span> in
-  <span>HTML documents</span>, but such attributes must only be
-  specified if a <code title="attr-lang">lang</code> attribute in no
-  namespace is also specified, and both attributes must have the same
-  value when compared in an <span>ASCII case-insensitive</span>
-  manner.</p>
+  namespace</span></span> on <span>HTML elements</span> in <span>HTML
+  documents</span>. To ease migration to and from XHTML, authors may
+  specify an attribute in no namespace with no prefix and with the
+  literal localname "<code title="">xml:lang</code>" on <span>HTML
+  elements</span> in <span>HTML documents</span>, but such attributes
+  must only be specified if a <code title="attr-lang">lang</code>
+  attribute in no namespace is also specified, and both attributes
+  must have the same value when compared in an <span>ASCII
+  case-insensitive</span> manner.</p>
 
   <div class="impl">
 




More information about the Commit-Watchers mailing list