Re: [SVG Tiny 1.2 CR Comment] interaction of discard and scripting

On Oct 23, 2006, at 08:27, Jean-Claude Dufourd wrote:
> Consider a script with:
>
>     foo = document.getElementById('bar');
>
> And in the scene tree:
>
>     <discard begin="10s" xlink:href="#bar"/>
>
> Assuming that the script line is executed before 10s, what is the  
> content of variable foo after 10s ?

That's really up to how the language you're using does garbage  
collection, but in common cases it'll be holding the element  
identified by bar, removed from the tree.


-- 
Robin Berjon - http://berjon.com/
-----------------------------------------------------------------------
"The future is here, it's just not evenly distributed yet."
                         -- William Gibson

Received on Monday, 23 October 2006 07:46:34 UTC