Comment 63 for bug 602877

Revision history for this message
In , Alexander Surkov (surkov-alexander) wrote :

(In reply to comment #56)
> (In reply to comment #52)
> > Before I lost this patch surkov and I did some time ago, I'm attaching it.
> >
> > The idea is to clear the focus on every blur event, cleaning our global
> > gLastFocusedNode. And for nsHyperTextAccessible::SetSelectionRange still do
> > the ClearFocus().
> >
> > However we would need to rework how popup/menu end events are fired.
>
> Honestly I don't recall my complicity in this idea development for this bug
> and failed to see how it works to make this bug fixed. Maybe it's indented
> for something else, I'm not sure.

Got it, maybe that was *this* bug that we talked about this solution for since this makes sure we fire focus event for document accessible when caret moves to non focusable content. Though we should deal with it separately since this bug can be reproduced easily out of this bug context (for example, shift tab from focused first focusable element).