Summary: | <div> has higher z-index than <iframe> but context menu etc. is for <iframe> | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Bill Keese <bill> | ||||
Component: | Frames | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||
Severity: | Normal | CC: | ahmad.saleem792, ap, koivisto, martin.pucala, rniwa, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Bill Keese
2009-06-23 07:15:46 PDT
Created attachment 31719 [details]
test case showing how iframe gets events even though it's hidden behind a div
It looks like iframes have somehow priority among contextmenu event listeners - even if the iframe is hidden, page's main contextmenu handler is overriden. In the show case attached below there is contextmenu event handler on main document element that displays alert and suppresses default browser menu display by returning false. However, in the area where _hidden_ iframe resides, main page's handler is ignored. I am not able to reproduce this in Safari 15.5 on macOS 12.4 based on attached test case. When clicking on "Grey" area, it does not show me any "frame" specific context menu, which might have been the case in the past. Can we mark it as "RESOLVED CONFIGURATION CHANGED", if it was fixed along the ways? Thanks! Yeah, not reproducing now. |