RESOLVED FIXED 16827
REGRESSION: Context menu appears at wrong place when clicking in iframe whose parent is scrolled
https://bugs.webkit.org/show_bug.cgi?id=16827
Summary REGRESSION: Context menu appears at wrong place when clicking in iframe whose...
Peter Kasting
Reported 2008-01-10 15:07:22 PST
Load the testcase I'll attach shortly in Safari for Windows using a current trunk build of WebKit. Make sure the window is small enough so that your page has a scrollbar, and scroll down until the iframe is visible. Right-click in the iframe and notice the context menu appears at the wrong spot. I have not tested on a Mac so I don't know whether this is a problem there. This bug does not seem to occur in Safari for Windows 3.0.4, so it seems like a regression. Some very brief perusal of the code makes me wonder about the way hitTestResultForPoint() passes "true" for the "fixed" parameter when calling absolutePosition(), which seems possibly bogus. But this code hasn't changed in ages.
Attachments
Testcase demonstrating bogus behavior (332 bytes, text/html)
2008-01-10 15:07 PST, Peter Kasting
no flags
Peter Kasting
Comment 1 2008-01-10 15:07:53 PST
Created attachment 18380 [details] Testcase demonstrating bogus behavior
Adam Roben (:aroben)
Comment 2 2008-01-10 15:13:20 PST
Peter Kasting
Comment 3 2008-01-19 01:02:48 PST
A fix for this was checked in in r29657, so I'm going to assume (w/o retesting) that this is FIXED
Note You need to log in before you can comment on or make changes to this bug.