W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: Deprecating DOMFocusIn/DOMFocusOut

From: Doug Schepers <schepers@w3.org>
Date: Thu, 23 Jul 2009 06:07:48 -0400
Message-ID: <4A683674.9090403@w3.org>
To: Stewart Brodie <stewart.brodie@antplc.com>
CC: www-dom@w3.org
Hi, Stewart-

Stewart Brodie wrote (on 7/23/09 5:31 AM):
>
> Does that mean that for compatibility, I now need to raise focusin,
> DOMFocusIn *and* focus events?  I think that would mean I now need to raise
> 12 separate events just to transfer the focus from one node to another in a
> different document!

Actually, the point of this spec is to increase compatibility and 
decrease the number of events you'd need to use for modern browsers 
(can't do anything about older versions of browsers, alas).

We have commitment to implement DOM3 Events from (at least) Internet 
Explorer and Firefox, and folks from WebKit and Opera are also 
participating (with the intent to implement, I assume).  That means that 
for the next version of each of those browsers, you can simply use 
focus/blur or focusin/focusout (they are slightly different, pick the 
pair you need), and it should work in all of them.

DOMFocusIn/DOMFocusOut were never supported very well in desktop 
browsers (though SVG UAs did implement them), so you shouldn't miss them 
there.

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Thursday, 23 July 2009 10:07:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:03 GMT