- From: <msabin@cromwellmedia.co.uk>
- Date: Thu, 1 Oct 1998 18:42:47 +0100
- To: <cowan@locke.ccil.org>, <www-dom@w3.org>
John Cowan wrote, > msabin@cromwellmedia.co.uk wrote: > > > > * added text about HIERARCHY_REQUEST_ERR being raised > > > by Node.insertBefore/replaceChild/appendChild when the > > > specified node is one of this node's ancestors. > > > > Oh, thank-you *very* much (not) ... bang goes O(1) insert. > > Better that than allowing loops in the tree. What's wrong with a documented precondition for the method? That's been deemed good enough in all the APIs I've ever seen. How much hand-holding do DOM users need? Cheers, Miles
Received on Thursday, 1 October 1998 13:46:46 UTC