W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

Re: SVGT 1.2: no way to remove an attribute

From: Andrew Shellshear <Andrew.Shellshear@research.canon.com.au>
Date: Mon, 08 May 2006 09:37:36 +0200
Message-ID: <445EF540.7040200@research.canon.com.au>
To: www-svg@w3.org
CC: mjs@apple.com

Maciej Stachowiak wrote:
> The uDOM has APIs for getting and setting attributes, but there is no  
> way to remove. This seems like a significant hole, in that you can  
> add attributes but then cannot remove them. It doesm't seem like it  
> would be a huge burden to add the DOM Level 3 Core removeAttributeNS  
> method for completeness.

It would certainly be nice to have hasAttributeNS and removeAttributeNS
both, but it's really too late for this version - sorry.
For this version, it is the same (for all intents and purposes) to 
setting the attribute to the empty string, given the absence of 
hasAttribute.

Thank you for your thorough review.  Please let us know shortly if  
this does not address your concerns.

Andrew.
Received on Monday, 8 May 2006 07:37:48 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:34 GMT