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.)

-David

[ 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 GMT

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