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

DOM2 Range: set(Start|End)(After|Before) and null parents

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 25 Feb 2000 20:02:17 -0500 (EST)
Message-Id: <200002260102.UAA13422@is04.fas.harvard.edu>
To: www-dom@w3.org

In the DOM2 Range, should the functions set(Start|End)(After|Before)
[1] throw an exception if the parent of their refNode argument is
null?  If so, which?

(While I mention it, should setStart and setEnd throw an exception if
the refNode is null?  The current spec only says it can't be null, not
what to do if it is.)


[ Sorry if this has been brought up before.  I've been off the list for
a while. ]

[1] http://www.w3.org/TR/DOM-Level-2/range.html#Level-2-Range-idl

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Friday, 25 February 2000 20:02:18 UTC

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