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

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