NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 182 - Give 'may only' the same treatment as 'must only'.
Give 'may only' the same treatment as 'must only'.
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-12 13:19 CEST by Nobody
Modified: 2008-07-22 17:34 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-05-12 13:19:03 CEST
Index: source
===================================================================
--- source	(revision 1584)
+++ source	(revision 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