Implement Range.setStart()/setEnd().
Implement Range.commonAncestorContainer.