Skip to content

Commit

Permalink
[] (0) getAttribute() and getAttributeNode() convert their argument t…
Browse files Browse the repository at this point in the history
…o lowercase.

git-svn-id: http://svn.whatwg.org/webapps@3148 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 29, 2009
1 parent 52189e8 commit 26bbb92
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
21 changes: 21 additions & 0 deletions index
Expand Up @@ -9360,6 +9360,27 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
</dd>


<dt><code title="">Element.getAttribute()</code></dt>
<dt><code title="">Element.getAttributeNode()</code></dt>

<dd>

<p>Attribute names are <a href=#converted-to-lowercase>converted to lowercase</a>.</p>

<div class=impl>

<p>Specifically: When the <code title="">Element.getAttribute()</code> method or the <code title="">Element.getAttributeNode()</code> method is invoked on
an <a href=#html-elements title="HTML elements">HTML element</a>, the name
argument must be <a href=#converted-to-lowercase>converted to lowercase</a> before the
element's attributes are examined.</p>

</div>

<p class=note>This doesn't apply to <code title="">Document.getAttributeNS()</code> and <code title="">Document.getAttributeNodeNS()</code>.</p>

</dd>


<dt><code title="">Document.getElementsByTagName()</code></dt>
<dt><code title="">Element.getElementsByTagName()</code></dt>

Expand Down
25 changes: 25 additions & 0 deletions source
Expand Up @@ -9700,6 +9700,31 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
</dd>


<dt><code title="">Element.getAttribute()</code></dt>
<dt><code title="">Element.getAttributeNode()</code></dt>

<dd>

<p>Attribute names are <span>converted to lowercase</span>.</p>

<div class="impl">

<p>Specifically: When the <code
title="">Element.getAttribute()</code> method or the <code
title="">Element.getAttributeNode()</code> method is invoked on
an <span title="HTML elements">HTML element</span>, the name
argument must be <span>converted to lowercase</span> before the
element's attributes are examined.</p>

</div>

<p class="note">This doesn't apply to <code
title="">Document.getAttributeNS()</code> and <code
title="">Document.getAttributeNodeNS()</code>.</p>

</dd>


<dt><code title="">Document.getElementsByTagName()</code></dt>
<dt><code title="">Element.getElementsByTagName()</code></dt>

Expand Down

0 comments on commit 26bbb92

Please sign in to comment.