DOM2 Range: should Set* throw WRONG_DOCUMENT_ERR?

The DOM2 Range spec doesn't say what should happen if selectNode,
selectNodeContents, setStart, setStartAfter, setStartBefore, setEnd,
setEndAfter, or setEndBefore are given a node whose ownerDocument is
different from the range's.  I would assume (based on the last
paragraph of section 2.3) that they should throw a WRONG_DOCUMENT_ERR.
Is this correct?


L. David Baron        <URL: >
Mozilla Contributor                      <URL: >
Invited Expert, W3C CSS WG          <URL: >

Received on Sunday, 7 January 2001 19:14:01 UTC