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

Re: Errata for Range.insertNode

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Mon, 25 Aug 2008 08:34:34 +0100
Message-ID: <e72b1b360808250034j6fb9bf26m81f2a76eb6b4718e@mail.gmail.com>
To: "Patrik Dufresne" <ikus060@gmail.com>
Cc: www-dom@w3.org

I don't see any problem with that after reading the spec.
The node is inserted on the document.
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html#Level-2-Range-Inserting-h2
"The node is inserted at the start boundary-point of the Range"

On Sun, Aug 24, 2008 at 6:45 PM, Patrik Dufresne <ikus060@gmail.com> wrote:
>
> Hi,
>
> I'm working on implementation of Range interface and create a test suite for
> this interface. By reading the Technical recommendation about Traversal and
> range Level 2, I identify a missing information.
>
> Witch exception must be raise when the node given to insertNode function
> doesn't have any parent ?
>
>   Patrik Dufresne
>
>
>
Received on Monday, 25 August 2008 07:35:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:59 GMT