Re: Deprecating DOMFocusIn/DOMFocusOut

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 UTC