W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Still some DOM Range comments

From: Thierry Kormann <Thierry.Kormann@sophia.inria.fr>
Date: Tue, 28 Dec 1999 18:18:54 +0100
Message-Id: <199912281718.SAA24908@quokka.inria.fr>
To: www-dom@w3.org
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 Tuesday, 28 December 1999 12:18:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:45 UTC