> I agree that TakeFocus should work on elements that aren't considered
> focusable.
If TakeFocus would work as expected then perpahs you don't need to fix SetSelectionBounds.
> > Bill, could you please work on mochitests as well? Btw, does a11y
> > mochitests pass?
>
> Sure, but first I'll have to figure out what mochitests are! I'm sure Google
> will show me the pages I need to read. I'll post back here when I find out
> what happens in mochitests, and if this patch causes no failures, I'll start
> working on a new mochitest for this bug.
You will find our mochitests in accessible/tests/mochitest. You could change test_text_caret.html file to test nsIAccessibleText::caretOffset for this case. Please catch us on irc to ask futher questions or file them here.
(In reply to comment #20)
> I agree that TakeFocus should work on elements that aren't considered
> focusable.
If TakeFocus would work as expected then perpahs you don't need to fix SetSelectionBounds.
> > Bill, could you please work on mochitests as well? Btw, does a11y
> > mochitests pass?
>
> Sure, but first I'll have to figure out what mochitests are! I'm sure Google
> will show me the pages I need to read. I'll post back here when I find out
> what happens in mochitests, and if this patch causes no failures, I'll start
> working on a new mochitest for this bug.
You will find our mochitests in accessible/ tests/mochitest . You could change test_text_ caret.html file to test nsIAccessibleTe xt::caretOffset for this case. Please catch us on irc to ask futher questions or file them here.