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

Re: removeChild and <use> question

From: Jeff Schiller <codedread@gmail.com>
Date: Tue, 12 Jan 2010 15:31:12 -0600
Message-ID: <da131fde1001121331t56645debq31d2c139c1f4a08e@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>, www-svg <www-svg@w3.org>

Thanks for the explanations.

On Tue, Jan 12, 2010 at 3:28 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/12/10 4:08 PM, Jeff Schiller wrote:
>> would result in someUsePointingToFoo still holding a reference to a
>> <use>  element, but it is now detached from the DOM
> Not at all.  It's in the DOM just fine.  However its cloned instance tree is
> now gone.  It's the same as if you had a <use xlink:href="#foo"> and had no
> node with id="foo" in the document.

Ok, I took Patrick's email to mean that the use element itself was
removed from the DOM.  This is what I found odd.

Received on Tuesday, 12 January 2010 21:31:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:19 UTC