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

[D3E] focusin/focusout

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Mon, 14 Sep 2009 13:13:29 +0300
Message-ID: <4AAE1749.7080206@helsinki.fi>
To: www-dom@w3.org
Hi all,

the current draft says that DOMFocusIn/DOMFocusOut are deprecated in 
favor of "equivalent event type" focusin/focusout.
And indeed the draft specifies those events similarly, but IE
(in which focusin/focusout are implemented) doesn't handle
the events what way.
focusin is dispatched just before the target gets the focus and
focusout is dispatched just before some other target gets focus.
And if those events are added to the spec, that is how they should work.

See also http://lists.w3.org/Archives/Public/www-dom/2009JulSep/0072.html

DOMFocusIn/DOMFocusOut work more like focus/blur.
The only difference is that they bubble.




-Olli
Received on Monday, 14 September 2009 10:24:01 GMT

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