Re: Is 'DOMFocusIn' supported?

Stanimir Stamenkov <[email protected]> Sun, 18 Jul 2010 20:15:48 +0300
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Sun, 18 Jul 2010 19:05:05 +0200, /Martin Honnen/:
> Stanimir Stamenkov wrote:
>
>> Is 'DOMFocusIn' supported and specifically in web pages?
>
> It doesn't seem to be implemented in Mozilla, as
> https://bugzilla.mozilla.org/show_bug.cgi?id=396927 suggests. The
> comments there conclude that you could instead use a capturing event
> listener for the focus event.

Thanks for pointing it out and yes, for my purposes (tracking last 
focused element) I've used capturing 'focus' handler and I generally 
think it is better this way.  For IE support I've used the bubbling 
'focusin' ('onfocusin') event I've just experimented with the 
'DOMFocusIn' which appears specified by DOM Level 2 Events (and 
still appears in the latest DOM Level 3 Events draft, although 
deprecated in favor of 'focusin').

-- 
Stanimir