W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: read-only parentNode -- revisited

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Mon, 7 Sep 1998 07:55:00 -0800
Message-Id: <199809071456.HAA14591@sqwest.bc.ca>
To: www-dom@w3.org
On 7 Sep 98, at 10:57, Kirkpatrick, Alfie wrote:

> A final thought: perhaps a compromise might be to add a document
> context to the cloneNode method. For example:
>  e.cloneNode(TRUE, mydoc)
> That way, if an element didn't support INodeInternal, insertBefore could
> clone the node in the new document context.

One of the things on the list for Level 2 is to look at these sorts of 
methods of cloning Nodes for other documents. That seems to be 
a clean solution to the problem.


Received on Monday, 7 September 1998 10:55:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC