- From: Karl Dubost <karl@w3.org>
- Date: Tue, 12 Jun 2007 13:56:01 +0900
- To: HTML WG <public-html@w3.org>
Le 12 juin 2007 à 01:11, Boris Zbarsky a écrit : > Henrik Dvergsdal wrote: >> getAttribute must the same value that has ben set with setAttribute. > > Modulo normalization. For example, some UAs perform case > normalization on the "type" attribute of <input>. [[[ In an HTML document the return value of an attribute that has a data type that is a value list is normalized to lowercase (independent of the case of the value in the source document). ]]]-- Document Object Model HTML http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-642250288 Wed, 08 Jan 2003 01:27:38 GMT Le 12 juin 2007 à 01:54, Anne van Kesteren a écrit : > On Mon, 11 Jun 2007 17:20:39 +0200, Henrik Dvergsdal > <henrik.dvergsdal@hibo.no> wrote: >> getAttribute must return null if the attribute is not present. > > It is correct that user agents have to do that, but there is no > specification so far that supports that assertion. Hmmm, it sounds strange, to be able to retrieve the value of something which doesn't exist. Because in this case getAttributeNode = Null http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ core.html#ID-745549614 -- Karl Dubost - http://www.w3.org/People/karl/ W3C Conformance Manager, QA Activity Lead QA Weblog - http://www.w3.org/QA/ *** Be Strict To Be Cool ***
Received on Tuesday, 12 June 2007 04:56:05 UTC