W3C home > Mailing lists > Public > public-webevents@w3.org > April to June 2011

Re: WebEvents-ISSUE-10: relatedTarget attribute [Touch Events spec]

From: Arthur Barstow <art.barstow@nokia.com>
Date: Wed, 13 Apr 2011 07:10:42 -0400
Message-ID: <4DA584B2.7020009@nokia.com>
To: ext Matt Brubeck <mbrubeck@mozilla.com>, Web Events Working Group WG <public-webevents@w3.org>
All - please send comments for Matt's proposal to address Issue-10 by 
April 18.

Matt - if no one responds or no major concerns are raised, please commit 
your proposal and either close this issue or notify me and I'll close it.

-Thanks, AB

On Apr/12/2011 1:02 PM, ext Matt Brubeck wrote:
> On 03/29/2011 12:00 PM, Web Events Working Group Issue Tracker wrote:
>> "mouseover" and "mouseout" events have a relatedTarget attribute.  
>> The target and relatedTarget attributes are the element that the 
>> mouse entered and exited, respectively (or vice-versa for mouseout 
>> events):
>>
>> http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent-relatedTarget 
>>
>>
>> Should "touchenter" and "touchleave" events have the same 
>> relatedTarget attribute?
>
> Here is a proposed relatedTarget attribute for the TouchEvent 
> interface, adapted directly from the language in DOM Level 2 Events:
>
> relatedTarget of type EventTarget, readonly:
>   Used to identify a secondary EventTarget related to a touch event. 
> This attribute is used with the touchenter event to indicate the 
> EventTarget which the touch point exited, and with the touchleave 
> event to indicate the EventTarget which the touch point entered.
>
Received on Wednesday, 13 April 2011 11:11:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 April 2011 11:11:09 GMT