Home

Class goog.dom.browserrange.WebKitRange

The constructor for WebKit specific browser ranges.

extends goog.dom.browserrange.W3cRange
Instance Method Summary
compareBrowserRangeEndpoints((Range|TextRange|null) range, ?goog.dom.RangeEndpoint thisEndpoint, ?goog.dom.RangeEndpoint otherEndpoint) ⇒ number

Compares one endpoint of this range with the endpoint of another browser native range object.

selectInternal(?Selection selection, <Any Type> reverse)

Select this range.

Static Method Summary
createFromNodeContents(?Node node) ⇒ ?goog.dom.browserrange.WebKitRange

Creates a range object that selects the given node's text.

createFromNodes(?Node startNode, number startOffset, ?Node endNode, number endOffset) ⇒ ?goog.dom.browserrange.WebKitRange

Creates a range object that selects between the given nodes.