[Webkit-unassigned] [Bug 185001] New: Click events on outer page are not being dispatched correctly after touch-zooming within an iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 14:46:30 PDT 2018


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

            Bug ID: 185001
           Summary: Click events on outer page are not being dispatched
                    correctly after touch-zooming within an iframe
           Product: WebKit
           Version: Safari 11
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wkalata at gmail.com

Created attachment 338799

  --> https://bugs.webkit.org/attachment.cgi?id=338799&action=review

Iframe Zoom Click Repro

The attached file has an anchor labelled "Click Me" containing an onclick attribute of "alert('Clicked');", as well as an iframe sourced to a youtube video.

Repro:

1.  Focus the video in the iframe
2.  Zoom In
3.  Zoom Out
4.  Click "Click Me" on the parent page

Expectation: "alert('Clicked');" is executed and an alert box displays

Observed:  The click event only seems to dispatch (and the alert box display) a fraction of the time.


Anecdotally, although the link should be at position 0,0 during all of the steps above, document.elementFromPoint(0, 0).click() also fails to result in a dispatched click event to the anchor element during the zoom operation as well.

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


More information about the webkit-unassigned mailing list