- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 15 Sep 2009 20:43:34 -0400
- To: Travis Leithead <travil@microsoft.com>
- CC: "www-dom@w3.org" <www-dom@w3.org>
On 9/15/09 4:21 PM, Travis Leithead wrote: > Do we really need eventTarget? It seems to me that focusin/focusout can remain UIEvents, and if web developers want to know what the "releatedTarget" is, then can simply register for both: focusout is the element loosing focus, focusin is the element gaining focus. You don't even have to know which Node to register them on because these events bubble, you can simply listen at the document level. That doesn't really work reliably if there are focus/blur listeners involved that call focus()/blur() on various DOM nodes (something that's actually pretty common). -Boris
Received on Wednesday, 16 September 2009 00:44:22 UTC