A W3C range identifies a range of content in a Document, DocumentFragment or Attr.
Allows range and selection elements to work on multiple browsers.
It provides a simple standards-based API for performing common DOM Range and Selection tasks.
Tested and working with Internet Explorer 6+, Firefox 2.0+, Google Chrome 5.0+, Safari 3.2+ and Opera 9.6+.
Here are some key features of "Rangy":
· Range and Selection wrappers for all browsers, including IE 6-8, providing a single familiar API;
· Workarounds for several bugs in browser implementations of Range and Selection;
· Mozilla Range extensions such as intersectsNode(), isPointInRange() and compareNode() available on all browsers;
· Custom extensions to Range, including methods to iterate over all nodes within the Range and methods to split and normalize Range boundaries within text nodes;