[html5] r1585 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri May 9 01:03:49 PDT 2008


Author: ianh
Date: 2008-05-09 01:03:48 -0700 (Fri, 09 May 2008)
New Revision: 1585

Modified:
   index
   source
Log:
[c] (0) Give 'may only' the same treatment as 'must only'.

Modified: index
===================================================================
--- index	2008-05-09 08:02:15 UTC (rev 1584)
+++ index	2008-05-09 08:03:48 UTC (rev 1585)
@@ -6765,17 +6765,17 @@
    primary language is unknown.
 
   <p>The <code title=attr-lang><a href="#lang">lang</a></code> attribute may
-   only be used on elements of <a href="#html-">HTML documents</a>. Authors
-   must not use the <code title=attr-lang><a href="#lang">lang</a></code>
+   be used on elements of <a href="#html-">HTML documents</a>. Authors must
+   not use the <code title=attr-lang><a href="#lang">lang</a></code>
    attribute in <a href="#xml-documents">XML documents</a>.
 
   <p>The <code title=attr-xml-lang><a href="#xmllang">xml:lang</a></code>
-   attribute may only be used on elements of <a href="#xml-documents">XML
+   attribute may be used on elements of <a href="#xml-documents">XML
    documents</a>. Authors must not use the <code title=attr-xml-lang><a
    href="#xmllang">xml:lang</a></code> attribute in <a href="#html-">HTML
    documents</a>.</p>
-  <!-- technically this
-  is redundant with the XML spec -->
+  <!-- technically this is redundant
+  with the XML spec -->
 
   <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

Modified: source
===================================================================
--- source	2008-05-09 08:02:15 UTC (rev 1584)
+++ source	2008-05-09 08:03:48 UTC (rev 1585)
@@ -5210,16 +5210,16 @@
   parent element. Setting the attribute to the empty string indicates
   that the primary language is unknown.</p>
 
-  <p>The <code title="attr-lang">lang</code> attribute may only be
-  used on elements of <span>HTML documents</span>.  Authors must not
-  use the <code title="attr-lang">lang</code> attribute in <span>XML
+  <p>The <code title="attr-lang">lang</code> attribute may be used on
+  elements of <span>HTML documents</span>.  Authors must not use the
+  <code title="attr-lang">lang</code> attribute in <span>XML
   documents</span>.</p>
 
-  <p>The <code title="attr-xml-lang">xml:lang</code> attribute may
-  only be used on elements of <span>XML documents</span>.  Authors
-  must not use the <code title="attr-xml-lang">xml:lang</code>
-  attribute in <span>HTML documents</span>.</p> <!-- technically this
-  is redundant with the XML spec -->
+  <p>The <code title="attr-xml-lang">xml:lang</code> attribute may be
+  used on elements of <span>XML documents</span>.  Authors must not
+  use the <code title="attr-xml-lang">xml:lang</code> attribute in
+  <span>HTML documents</span>.</p> <!-- technically this is redundant
+  with the XML spec -->
 
   <p>To determine the language of a node, user agents must look at the
   nearest ancestor element (including the element itself if the node




More information about the Commit-Watchers mailing list