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

Re: [dom3core] getAttribute

From: Brendan Eich <brendan@meer.net>
Date: Tue, 06 Dec 2005 12:55:29 -0800
Message-ID: <4395FAC1.5010601@meer.net>
To: www-dom@w3.org

    Then, after adoption, IE unilaterally changed it,


This is not so.  IE always implemented an odd mixture of nullable string 
valued properties and non-nullable string-valued properties (which when 
missing are returned as ""), and furthermore mapped properties to 
attributes directly, via getAttribute.

So this has everything to do with backward compatibility going back to 
IE 4.  The Mozilla experiment that you describe was much later, and 
suffered the nullability confounder.  I just spoke with Johnny Stenback 
about this and he said there may have been confusion when testing IE 
between nullable and non-nullable attributes mapped from DOM JS properties.

/be
Received on Tuesday, 6 December 2005 20:55:56 GMT

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