Construct the deepest possible point in the DOM that's equivalent
to the given point, expressed as a node and an offset.
Parameters | node | (Node|null) | | The node containing the point.
| offset | number | | The offset of the point from the node.
| opt_trendLeft | boolean= | | Notice that a (node, offset) pair may be
equivalent to more than one descendant (node, offset) pair in the DOM.
By default, we trend rightward. If this parameter is true, then we
trend leftward. The tendency to fall rightward by default is for
consistency with other range APIs (like placeCursorNextTo).
| opt_stopOnChildlessElement | boolean= | | If true, and we encounter
a Node which is an Element that cannot have children, we return a Point
based on its parent rather than that Node itself.
|
|
---|
Returns | |
---|