🏠 New in Low Baseline Support: document.caretPositionFromPoint()

December 12, 2025

caniuse · mdn · spec

The document.caretPositionFromPoint() method finds an insertion point, represented by a DOM node and an offset within that node, for given coordinates in the viewport.

Source features