W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: Reinitializing OBJECT and EMBED - data and type changes

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Wed, 23 Apr 2008 23:33:54 -0400
Message-ID: <6b9c91b20804232033x9db8a09l2cd11b6a569bb74a@mail.gmail.com>
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: public-html@w3.org

On 4/23/08, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Michael A. Puls II wrote:
>
> > What I was asking is, if you implemented a reinitialize() for OBJECT
> > natively that did the clone, insert, remove deal just like I did,
> > would you have any trouble making it so I wouldn't have to do:
> > obj = obj.reinitialize()
> > and instead could do just:
> > obj.reinitialize();
> > and still make 'obj' point to the new object?
> >
>
>  Yeah, that wouldn't really work very easily, especially since the old
> object is still around.
>
>  It's maybe _possible_ to do that, but it's not easy at all in Gecko, and I
> doubt it's easy in other UAs.

O.K.

>  Of course if we implemented reinitialize() internally, there would be no
> cloning involved, I would think.

O.K.

Thanks.

-- 
Michael
Received on Thursday, 24 April 2008 03:34:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:16 GMT