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

Re: TouchList interface

From: Arthur Barstow <art.barstow@nokia.com>
Date: Mon, 18 Mar 2013 08:03:00 -0400
Message-ID: <51470274.6000809@nokia.com>
To: ext Ms2ger <ms2ger@gmail.com>
CC: public-webevents@w3.org
On 3/17/13 5:19 PM, ext Ms2ger wrote:
> Hi all,
> Looking at the definition of the TouchList interface [1], I noticed a 
> few issues.
> First, WebIDL requires [2]:
>> If an interface supports indexed properties, then the interface
>> definition MUST be accompanied by a description of what indices the
>> object can be indexed with at any given time. These indices are
>> called the supported property indices.
> This description is missing.
> Second, it is not defined what item() should return when called with 
> an out-of-bounds index. Typically, null is returned; in that case, the 
> return value should be made nullable (i.e., 'Touch?' instead of 'Touch').

Boris mentioned these bugs in 
and I proposed resolutions for these bugs in 

I would appreciate it, if you would please review that thread and let us 
know if you are OK or not with the proposed resolutions (and please 
reply to the previous thread i.e. 0078.html).

> Third, Gecko implements an identifiedTouch() method on this interface; 
> it appears to be missing from the specification.

Because that method was not widely implemented, the group agreed to 
remove it from v1. Please see the related CfC and voices of support for 
more information: 


> Ms2ger
> [1] 
> https://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html#touchlist-interface
> [2] http://dev.w3.org/2006/webapi/WebIDL/#idl-indexed-properties
Received on Monday, 18 March 2013 12:03:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:34 UTC