[Webkit-unassigned] [Bug 147740] New: TouchEvent and Touch should have constructors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 12:14:55 PDT 2015


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

            Bug ID: 147740
           Summary: TouchEvent and Touch should have constructors
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rbyers at chromium.org

Most UIEvents at this point have a DOM Event constructor.  TouchEvent is a notable exception.  It's not a big use case, but JS-generated events are sometimes useful and (IMHO) ideally all event types would be consistent in this regard.  Is there any interest in adding constructors to WebKit?  Should be trivial.

We (Touch Event Community Group) have recently added constructor definitions to the draft TouchEvents level 2 spec: http://w3c.github.io/touch-events/touchevents.html#touchevent-interface (bug: https://github.com/w3c/touch-events/issues/10).  Any feedback on the design?  I'm happy to make changes before pages start depending on the API.

http://crbug.com/508675 tracks shipping these in blink.

-- 
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/20150806/cac733a9/attachment-0001.html>


More information about the webkit-unassigned mailing list