[Webkit-unassigned] [Bug 157269] New: TouchEvent objects shouldn't contain co-ordinates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 10:12:07 PDT 2016


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

            Bug ID: 157269
           Summary: TouchEvent objects shouldn't contain co-ordinates
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: iOS
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tdresser at chromium.org
                CC: benjamin at webkit.org, dino at apple.com,
                    rbyers at chromium.org, simon.fraser at apple.com

TouchEvent objects shouldn't contain co-ordinates, co-ordinates should only reside on the associated Touch objects.

See:
https://www.w3.org/TR/uievents/#interface-UIEvent
https://w3c.github.io/touch-events/#idl-def-TouchEvent

To reproduce, visit jsbin.com/jalomi/quiet, and touch the screen.
Nothing should be written to the screen, but the x co-ordinate of the first pointer is written to the screen.

This behavior isn't spec compliant, and may cause compatibility issues. It also encourages sharing code for touch and mouse events, which seems to be something that isn't desired by Apple engineers.

"The premise of the specification is that using mouse event and touch events
interchangeably is needed. In reality, nobody was really asking for that
because it is a terrible idea."
https://lists.webkit.org/pipermail/webkit-dev/2012-November/022957.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160502/60152202/attachment.html>


More information about the webkit-unassigned mailing list