W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

Re: does <set> add an attribute to node.attributes

From: Daniel Holbert <dholbert@mozilla.com>
Date: Sun, 17 Oct 2010 17:06:47 -0700
Message-ID: <4CBB8F97.8070204@mozilla.com>
To: Alex Danilo <alex@abbra.com>
CC: ddailey <ddailey@zoominternet.net>, robert@ocallahan.org, www-svg@w3.org
On 10/17/2010 04:49 PM, Alex Danilo wrote:
> var fooel = document.getElementById("foo");
> fooel.parentNode.removeChild(fooel);
>
> What happens?
>
> Does the rectangle remain visible in (1) but not iin (2)?

No -- the rectangle would disappear in both cases, because you've just
removed the animation node that was (artificially) maintaining it at a
nonzero height.

(I believe all UAs will give that behavior -- if you know of one that
doesn't, I'd be interested to know.)

~Daniel
Received on Monday, 18 October 2010 00:07:23 GMT

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