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

Re: CfC: FocusEvent Interface

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 22 Sep 2009 18:34:12 -0700
Cc: "www-dom@w3.org" <www-dom@w3.org>
Message-id: <C221D3E8-BB6C-401C-A1B0-E5187FA6EBC1@apple.com>
To: Doug Schepers <schepers@w3.org>

On Sep 22, 2009, at 12:40 AM, Doug Schepers wrote:

> Hi, Folks-
>
> As discussed on this list and in the telcon, I've added a new  
> FocusEvent interface with a 'relatedTarget' attribute, moved focus  
> events there, then moved Basic Events to UIEvents cuz DOMActivate  
> was lonely, and removed the Basic Events category.
>
> You can see my handiwork in the latest ED:
>
> http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-Events-FocusEvent
>
> Please throw flowers or tomatoes.


The FocusEvent interface itself seems fine, and a good solution.

I do think it would be worth doing some cursory research to determine  
whether it is a problem to support "focusin" and "focusout" events  
without 100% API compatibility with IE. Do sites only use these in IE- 
specific code paths currently, or is it possible that they register  
and use IE-specific APIs?

These questions are relevant, because we may want to support IE's  
toElement and fromElement attributes in the standard, depending on the  
results.

Regards,
Maciej
Received on Wednesday, 23 September 2009 01:34:52 GMT

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