W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

Re: Two questions

From: Philippe Le Hegaret <plh@w3.org>
Date: Thu, 31 Aug 2000 11:11:31 -0400
Message-ID: <39AE75A3.842D5513@w3.org>
To: larsga@garshol.priv.no
CC: www-dom@w3.org
> Date: Sat, 20 May 2000 07:33:22 -0400 (EDT)
> From: Lars Marius Garshol <larsga@garshol.priv.no>
> Subject: Two questions
> 
> 2. What is the result of calling
> element.removeAttribute("non-existent")?
> 
>   The specs (1 and 2) seem to say that nothing should happen, and that
>   is my own interpretation.

Nothing should happen if you try to remove a non-existent attribute. The
methods don't have a return value and explicitly raises no exception for
that case.

Philippe
Received on Thursday, 31 August 2000 11:11:34 GMT

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