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

Re: [D3E] focusin/focusout

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 15 Sep 2009 00:17:22 -0700
Cc: www-dom@w3.org
Message-id: <E13AF10B-AA77-40A3-A91D-511626A1A598@apple.com>
To: Doug Schepers <schepers@w3.org>

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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:55 UTC