This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dom.spec.whatwg.org/#concept-range-bp-set should check if "node" argument belongs to the same owner document as that of the context object. If not, Gecko and WebKit both collapse the range to the new start/end and change its owner document to the new document.
I don't understand. The context object doesn't have an associated document per the specification.
Ping?
(In reply to Anne from comment #1) > I don't understand. The context object doesn't have an associated document > per the specification. Oh, I see. So DOM4's Range doesn't have an associated document. And we simply guarantee that start & end have the same root. That makes sense. Thanks for pointing that out.