- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 May 2009 00:48:28 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17748
Modified Files:
Overview.html
Log Message:
getAttribute() and getAttributeNode() convert their argument to lowercase. (whatwg r3148)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2303
retrieving revision 1.2304
diff -u -d -r1.2303 -r1.2304
--- Overview.html 29 May 2009 00:38:44 -0000 1.2303
+++ Overview.html 29 May 2009 00:48:24 -0000 1.2304
@@ -8330,6 +8330,27 @@
</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>
Received on Friday, 29 May 2009 00:48:34 UTC