Overview
Use the links in the table of contents to the left to access the documentation.
Functions
- cloneContents
- cloneRange
- collapse
- compareBoundaryPoints
- compareNode
- comparePoint
- createContextualFragment
- deleteContents
- detach
- expand
- extractContents
- getBoundingClientRect
- getClientRects
- insertNode
- intersectsNode
- isPointInRange
- selectNode
- selectNodeContents
- setEnd
- setEndAfter
- setEndBefore
- setStart
- setStartAfter
- setStartBefore
- surroundContents
- toString
Range cloneRange() raises(DOMException);
void collapse(
in boolean toStart) raises(DOMException);
short compareBoundaryPoints(
in CompareHow how,
in Range sourceRange) raises(DOMException);
short compareNode(
in Node refNode) raises(RangeException, DOMException);
short comparePoint(
in Node refNode,
in long offset) raises(RangeException, DOMException);
DocumentFragment createContextualFragment(
in DOMString html) raises(DOMException);
void deleteContents() raises(DOMException);
void detach() raises(DOMException);
void insertNode(
in Node newNode) raises(DOMException, RangeException);
boolean intersectsNode(
in Node refNode) raises(RangeException, DOMException);
boolean isPointInRange(
in Node refNode,
in long offset) raises(RangeException, DOMException);
void selectNode(
in Node refNode) raises(RangeException, DOMException);
void selectNodeContents(
in Node refNode) raises(RangeException, DOMException);
void setEnd(
in Node refNode,
in long offset) raises(RangeException, DOMException);
void setEndAfter(
in Node refNode) raises(RangeException, DOMException);
void setEndBefore(
in Node refNode) raises(RangeException, DOMException);
void setStart(
in Node refNode,
in long offset) raises(RangeException, DOMException);
void setStartAfter(
in Node refNode) raises(RangeException, DOMException);
void setStartBefore(
in Node refNode) raises(RangeException, DOMException);
void surroundContents(
in Node newParent) raises(DOMException, RangeException);
DOMString toString() raises(DOMException);
Member Data
- collapsed
- commonAncestorContainer
- END_TO_END
- END_TO_START
- endContainer
- endOffset
- NODE_AFTER
- NODE_BEFORE
- NODE_BEFORE_AND_AFTER
- NODE_INSIDE
- START_TO_END
- START_TO_START
- startContainer
- startOffset
- text
readonly attribute boolean collapsed getter raises(DOMException);
readonly attribute Node commonAncestorContainer getter raises(DOMException);
const unsigned short END_TO_END = 2;
const unsigned short END_TO_START = 3;
readonly attribute Node endContainer getter raises(DOMException);
readonly attribute long endOffset getter raises(DOMException);
const unsigned short NODE_AFTER = 1;
const unsigned short NODE_BEFORE = 0;
const unsigned short NODE_BEFORE_AND_AFTER = 2;
const unsigned short NODE_INSIDE = 3;
const unsigned short START_TO_END = 1;
const unsigned short START_TO_START = 0;
readonly attribute Node startContainer getter raises(DOMException);
readonly attribute long startOffset getter raises(DOMException);
readonly attribute DOMString text;
Last Updated: 2010-05-27