Re: [D3E] focusin/focusout

On Sep 14, 2009, at 11:21 PM, Doug Schepers wrote:

>
> I did adapt focusin and focusout to the existing DOM event  
> interfaces a little: rather than add the orginal (and useful) IE  
> 'toElement' and 'fromElement' properties, I mapped them to to the  
> 'target' and 'currentTarget' properties, respectively.

Instead of 'currentTarget', I'd suggest adding the 'relatedTarget'  
attribute from mouse events to focus events. 'target' and  
'currentTarget' already have well-defined and useful meanings for all  
events, so I don't think we should change the meaning of these for  
focus events.

Regards,
Maciej

Received on Tuesday, 15 September 2009 07:18:04 UTC