Skip to content

Commit

Permalink
[ac] (0) Allow xml:lang='' and lang='' to differ in case only.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2091 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 21, 2008
1 parent 68bf0c5 commit 1447f88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions index
Expand Up @@ -28,7 +28,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 20 August
<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 21 August
2008</h2>

<p>You can take part in this work. <a
Expand Down Expand Up @@ -8032,7 +8032,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
elements). If both the <code title=attr-lang><a
href="#lang">lang</a></code> attribute and the <code
title=attr-xml-lang><a href="#xmllang">xml:lang</a></code> attribute are
specified on the same element, they must have exactly the same value.
specified on the same element, they must have exactly the same value when
compared in an <a href="#ascii">ASCII case-insensitive</a> manner.

<p>Authors must not use the <code title=attr-xml-lang><a
href="#xmllang">xml:lang</a></code> attribute (that is, the <code
Expand All @@ -8044,7 +8045,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
href="#html-elements">HTML elements</a> in <a href="#html-">HTML
documents</a>, but such attributes must only be specified if a <code
title=attr-lang><a href="#lang">lang</a></code> attribute is also
specified, and both attributes must have the same value.
specified, and both attributes must have the same value when compared in
an <a href="#ascii">ASCII case-insensitive</a> manner.

<hr>

Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -5868,7 +5868,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
their elements). If both the <code title="attr-lang">lang</code>
attribute and the <code title="attr-xml-lang">xml:lang</code>
attribute are specified on the same element, they must have exactly
the same value.</p>
the same value when compared in an <span>ASCII
case-insensitive</span> manner.</p>

<p>Authors must not use the <code
title="attr-xml-lang">xml:lang</code> attribute (that is, the <code
Expand All @@ -5881,7 +5882,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
elements</span> in <span>HTML documents</span>, but such attributes
must only be specified if a <code title="attr-lang">lang</code>
attribute is also specified, and both attributes must have the same
value.</p>
value when compared in an <span>ASCII case-insensitive</span>
manner.</p>

<hr>

Expand Down

0 comments on commit 1447f88

Please sign in to comment.