W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Still some DOM Range comments

From: Vidur Apparao <vidur@netscape.com>
Date: Mon, 24 Jan 2000 14:26:08 -0800
Message-ID: <388CD180.7395D63A@netscape.com>
To: Thierry Kormann <Thierry.Kormann@sophia.inria.fr>
CC: www-dom@w3.org

Attr can be a Range ancestor. The second statement is incorrect and has  (along
with ones similar to it) been fixed.

--Vidur

Thierry Kormann wrote:

> Hi,
>
> May be I'm missing something but in DOM Range, chapter 8.2 you write :
>
> "The boundary-points of a Range must have a common ancestor container
> which is either a Document, DocumentFragment or Attr node."
>
> and in methods description section, I can read :
>
> setStart
>
> - RangeException :
>
> INVALID_NODE_TYPE_ERR: Raised if refNode or an ancestor of refNode is
> an Attr, Entity, Notation, or DocumentType node.
>
> so, the question is : Attr can be a Range ancestor or not ?
>
> Thierry.
>
> --
> Thierry Kormann
> email: Thierry.Kormann@sophia.inria.fr  http://www.inria.fr/koala/tkormann/
> Koala/Dyade/Bull @ INRIA - Sophia Antipolis
Received on Monday, 24 January 2000 17:18:54 GMT

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