This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
StaticRange() constructor creates a new
StaticRange object which provides attributes that track the start and end position of a range, and a boolean attribute indicating whether the current range is collapsed into a single position.
var staticRange = new StaticRange(options)
- Options are as follows:
The definition of 'StaticRange()' in that specification.
|Editor's Draft||Initial definition.|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Feature||Android Webview||Chrome for Android||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile|