Showing results for 
Show  only  | Search instead for 
Did you mean: 
Making moves
Status: New idea

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


Status changed to: New idea
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.


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.

Making moves

Honza, Thank you for information.