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.
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 nsHyperTextAcce ssible: :SetSelectionRa nge still do the ClearFocus().
However we would need to rework how popup/menu end events are fired.