BASELINE NowYouCanUse.com
Newly Available
id: document-caretpositionfrompoint

document.caretPositionFromPoint()

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.
Baseline Status: Achieved Newly Available on Dec 12, 2025 across core engines.
Desktop Browser Engine Support
Google Chrome
128
Supported
Mozilla Firefox
20
Supported
Apple Safari
26.2
Supported
Microsoft Edge
128
Supported
Mobile Browser Engine Support
Chrome Android
128
Firefox Android
20
Safari iOS
26.2
Specifications and References