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

Re: Focus

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 15 Sep 2009 20:42:21 -0400
Message-ID: <4AB0346D.1060608@mit.edu>
To: Doug Schepers <schepers@w3.org>
CC: www-dom@w3.org
On 9/15/09 4:02 PM, Doug Schepers wrote:
> I do see the functionality as needed... it provides the best way to
> intercept changes in focus before they happen, and to find both the "to"
> and "from" elements.

As long as we define what happens on focus changes from these event 
handlers, right?

> In fact, it's worth thinking about changing focusin and focusout to be
> cancelable, to prevent the focus from changing. I doubt there is any
> content that relies on them not being cancelable... what would people
> think of this idea?

Focus changes can already be messed with from focus/blur handlers by 
manually redirecting focus.  I doubt this would make it any worse...

-Boris
Received on Wednesday, 16 September 2009 00:43:10 GMT

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