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

Re: Need test results against Jan 2013 Touch Events LC

From: Matt Brubeck <mbrubeck@mozilla.com>
Date: Fri, 22 Feb 2013 13:36:20 -0800
Message-ID: <5127E4D4.90500@mozilla.com>
To: Cathy.Chan@nokia.com, Art.Barstow@nokia.com, public-webevents@w3.org
On 2/22/2013 1:03 PM, Cathy.Chan@nokia.com wrote:
> With Firefox on Android (v19.0):
> * create-touch-touchlist - 51 passes + 2 fails
> - document.createTouch exists and creates a Touch object with requested
> properties | assert_equals: touch.clientY is touch.pageY-window.pageYOffset.
> | expected 15 but got 0
In the latest Firefox Nightly (22.0a1) on both Android and Windows, I do 
not see this failure but I see an almost identical one ("assert_equals: 
touch.clientX is touch.pageX - window.pageXOffset. expected 15 but got 0").

This is a Firefox bug.  Gecko defines createTouch differently from the 
v1 spec:
http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/events/nsIDOMTouchEvent.idl#83

> - document.createTouchList exists and correctly creates a TouchList from two
> Touch objects | assert_equals: touchList.length is 2 | expected 2 but got 1
> ---> This arises from the API change and is something we expect to be
> updated in the next release.
I verified this is fixed in Firefox Nightly 22 (and in the 
soon-to-be-released Firefox Aurora 21).
Received on Friday, 22 February 2013 21:36:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 February 2013 21:36:54 GMT