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

Re: Object identity

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Thu, 05 May 2011 16:11:30 +0300
Message-ID: <4DC2A202.1040505@helsinki.fi>
To: Matt Brubeck <mbrubeck@mozilla.com>
CC: "public-webevents@w3.org" <public-webevents@w3.org>
On 04/26/2011 08:39 PM, Matt Brubeck wrote:
> Should the Touch Events standard specify whether certain operations
> return the same object?

Yes.


>
>
> Example 1: Should changedTouches and targetTouches refer to the same
> objects as the "touches" attribute for the same event?

If they have the same identifier, they should be, IMO, the same objects.

>
> Example 2: Should different touch events refer to the same objects?

IMO yes, but there was that comment[1] that for some reason
Webkit or Apple might want to change that behavior. I wonder why.

-Olli


[1] http://www.quirksmode.org/blog/archives/2010/02/persistent_touc.html
Received on Thursday, 5 May 2011 13:12:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 May 2011 13:12:10 GMT