W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Conceptual modelling of attributes

From: Karl Dubost <karl@w3.org>
Date: Tue, 12 Jun 2007 13:56:01 +0900
Message-Id: <146DD620-BF26-4FBC-8333-5EFBD1BD6D59@w3.org>
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
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

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:22 UTC