Bugzilla – Bug 182
Give 'may only' the same treatment as 'must only'.
Last modified: 2008-07-22 17:34:55 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