Bug 153542

Summary: No contextmenu event dispatch when the target is an <iframe> with `pointer-events: none`
Product: WebKit Reporter: Antoine Quint <graouts>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Antoine Quint
Reported 2016-01-27 05:57:21 PST
Created attachment 269998 [details] Testcase In the attached test case, we have a simple page hosting an <iframe> with its `pointer-events` CSS property set to `none` and an event listener on the document's `window` for the `contextmenu` event. In Chrome and Firefox, regardless of whether we attempt to show the context menu when clicking over the <iframe> or another part of the document, the `contextmenu` comes through. In Safari though, the `contextmenu` event will not come through should we click over the <iframe>.
Attachments
Testcase (545 bytes, text/html)
2016-01-27 05:57 PST, Antoine Quint
no flags
Radar WebKit Bug Importer
Comment 1 2016-01-27 05:57:47 PST
Note You need to log in before you can comment on or make changes to this bug.