Bug 97418
Summary: | document.createTouchList should support taking an array of Touch objects | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rick Byers <rbyers> |
Component: | UI Events | Assignee: | Rick Byers <rbyers> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | aelias, rjkroege |
Priority: | P2 | Keywords: | WebExposed |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Rick Byers
According to the TouchEvents version 1 spec (http://www.w3.org/TR/touch-events/), document.createTouchList should support two forms:
TouchList createTouchList (Touch[] touches);
TouchList createTouchList (Touch touch);
Instead, WebKit takes a variable number of Touch parameters (supporting only the 2nd form), not the array form. We should also add support for the Array form in order to conform to the spec.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Rick Byers
The specification has been changed to match the implementation, see http://www.w3.org/2010/webevents/track/issues/27. Mozilla will continue to support the array form, but there's probably not much value in doing so in WebKit.