[Webkit-unassigned] [Bug 108426] New: Use TouchEvent.targetTouches rather than TouchEvent.touches since the order of Touches in TouchList is not guaranteed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 30 21:52:14 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108426

           Summary: Use TouchEvent.targetTouches rather than
                    TouchEvent.touches since the order of Touches in
                    TouchList is not guaranteed.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hayato at chromium.org
                CC: webcomponents-bugzilla at chromium.org
            Blocks: 107796


Neat fix for LayoutTest in http://trac.webkit.org/changeset/141054.

In this LayoutTest context, the length of touchEvent.touches is 2. The Touch order in TouchList is not guaranteed. So touchEvent.touches[0] can be another touch.
Rather, we should use touchEvent.targetTouches here since its length is 1 in this context.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list