Re: Conceptual modelling of attributes

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  
> <> 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 -
W3C Conformance Manager, QA Activity Lead
   QA Weblog -
      *** Be Strict To Be Cool ***

Received on Tuesday, 12 June 2007 04:56:05 UTC