W3C home > Mailing lists > Public > public-webevents@w3.org > January to March 2011

Re: WebEvents-ISSUE-7: Targets for touch events: Elements or Nodes? [Touch Events spec]

From: Peter-Paul Koch <pp.koch@gmail.com>
Date: Tue, 15 Feb 2011 21:25:20 +0100
Message-ID: <AANLkTikeMWUJANgVQnyp6Xg0f_n+ZTSPJKHDLHB_VGx0@mail.gmail.com>
To: Olli@pettay.fi
Cc: Web Events Working Group WG <public-webevents@w3.org>
>> This is an ancient bug in WebKit. Very early versions (Safari 1 or
>> thereabouts) had this problem with pretty much all events. It was
>> solved later, and frankly I thought it had disappeared entirely.
>> Apparently not so.
>>
>> Making a text node the target of an event never makes sense from a web
>> development perspective.
>
> Why? Mouse events have element as the target.

Sorry, made a mistake. I advise you to always make the correct *Element*
the target. Not Node, obviously.

--------------------------------------------
ppk, mobile platform strategist
http://quirksmode.org/about/
+.31.6.29585782
--------------------------------------------
Received on Tuesday, 15 February 2011 20:25:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 February 2011 20:25:53 GMT