Baseline Newly other
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
Newly Available
Since 2025-12-12
First Core Launch
Firefox 20
2013-04-02
Core-3 Stability
4,637d (12.7y)
Last: Safari (2025-12-12)
BCD Keys Mapped
6
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 20 | 2013-04-02 |
| Firefox for Android | mobile | 20 | 2013-04-02 |
| Chrome | desktop | 128 | 2024-08-20 |
| Chrome Android | mobile | 128 | 2024-08-20 |
| Edge | desktop | 128 | 2024-08-22 |
| Safari | desktop | 26.2 | 2025-12-12 |
| Safari on iOS | mobile | 26.2 | 2025-12-12 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.CaretPosition | DOM API | 4,637d (12.7y) |
| api.CaretPosition.getClientRect | DOM API | 4,511d (12.4y) |
| api.CaretPosition.offset | DOM API | 4,637d (12.7y) |
| api.CaretPosition.offsetNode | DOM API | 4,637d (12.7y) |
| api.Document.caretPositionFromPoint | DOM API | 4,637d (12.7y) |
| api.Document.caretPositionFromPoint.options_parameter | DOM API | 609d (1.7y) |