W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

Re: [dom3core] getAttribute

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 01 Dec 2005 10:00:44 +0100
To: "Maciej Stachowiak" <mjs@apple.com>
Cc: "DOM mailing list" <www-dom@w3.org>, "vicki Murley" <vicki@apple.com>, andersca@mac.com
Message-ID: <op.s03kniuo64w2qv@id-c0020.oslo.opera.com>

On Thu, 01 Dec 2005 01:18:54 +0100, Maciej Stachowiak <mjs@apple.com>  
wrote:
>> Opera will probably change its behavior to be in line with the above  
>> mentioned browsers.

We changed our behavior. (Release is not yet public.)


> Both "" and null are reasonable things to return for a nonexistent  
> attribute, there is no deep principle at stake here. In fact one could  
> argue that it's better to distinguish empty attribute value from absent  
> attribute. So it seems better to update the formal spec to the de facto  
> standard behavior.

Agreed. (Not sure if it can be done though without a DOM WG.)

Kind regards,

Anne van Kesteren


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 1 December 2005 09:01:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT