- From: Daniel Holbert <dholbert@mozilla.com>
 - Date: Sun, 17 Oct 2010 17:06:47 -0700
 - 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 UTC