cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
michalroman
Making moves
Status: In development

Dear Firefox Support Team,
I am writing to bring to your attention an issue that I, along with many other developers, have encountered while developing web applications that are intended to be cross-browser compatible.

Specifically, the issue pertains to the lack of support for the caretRangeFromPoint method in Firefox. This method is crucial for many applications as it provides the ability to get a range object from a specific point in the viewport, which is extremely useful for features such as drag-and-drop, among others.

The caretRangeFromPoint method is supported by most other major browsers, including Chrome, Safari, and Edge. However, its absence in Firefox has made it challenging to ensure our applications function consistently across all browsers.

We understand that each browser has its unique implementation and standards. However, we believe that the addition of caretRangeFromPoint support in Firefox would greatly benefit the developer community and enhance the user experience by ensuring consistent behavior across all platforms.

We kindly request you to consider adding support for the caretRangeFromPoint method in future updates of Firefox. We believe that this addition would be a significant improvement that would be greatly appreciated by the web development community.

Best Regards

Michal

5 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

Honza
Employee
Employee

Thank you for reaching out!

Support for caretRangeFromPoint is tracked in this bug:
Bug 1550635 - window.document.caretRangeFromPoint is not supported in Firefox

Someone recently contributed a patch, so there is chance it could be supported soon. You might want to monitor the bug to see progress.

michalroman
Making moves

Honza, Thank you for information.

Honza
Employee
Employee

Support for the caretRangeFromPoint method is planned for the first half of 2025, though the timeline could change.

Status changed to: In development
Jon
Community Manager
Community Manager

Quick update...

This is being worked on—see @Honza's recent comment in the thread.

Stay tuned for more updates 🙌