Open Bug 2017248 Opened 3 months ago Updated 3 months ago

Make nsCoreUtils::GetDOMNodeFromDOMPoint deal with text controls by returning the anonymous text node.

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 2 open bugs)

Details

In bug 2016280, I made nsCoreUtils::GetDOMNodeFromDOMPoint return the <input> / <textarea> element itself. This is an improvement on what used to happen, which is that it returned the regular (non-rendered) text node for the textarea (only at offset 0).

To make caret work with TextLeafRange this would need to look at the editor root's text node. The good thing is that it shouldn't be hard to do after bug 2016280, but didn't want to deal with it in that bug.

You need to log in before you can comment on or make changes to this bug.