The middle click pan scroll icon that is painted on the page is painted at incorrect coordinates when it's in an iframe. Tested with Chrome stable, Chrome canary and Safari 5 on Windows. I didn't test on Linux but it should be buggy there too. I attached a repro file with instructions.
Created attachment 128503 [details] Repro
Created attachment 128521 [details] Patch
Waiting for review
Attachment 128521 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files']" exit_code: 1 Total errors found: 0 in 0 files If any of these errors are false positives, please file a bug against check-webkit-style.
do you want the Pan Icon to be painted in mainframe contents coordinates? or mainframe viewport coordinates?
(In reply to comment #5) > do you want the Pan Icon to be painted in mainframe contents coordinates? or mainframe viewport coordinates? It seems like the parent frame (not the owner, its parent) is doing the painting. I'm converting the main frame viewport coordinates to the parent frame's content coordinates. (I see that there are many ScrollView/Widget methods to do some conversions, but I couldn't find the right one. Please inform me if there is such method.)
Created attachment 130124 [details] Patch
Created attachment 131045 [details] Screenshots before and after
Comment on attachment 130124 [details] Patch Looks sane to me. I wish we had a way to test it.
Comment on attachment 130124 [details] Patch Rejecting attachment 130124 [details] from commit-queue. cem.kocagil+webkit@gmail.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Comment on attachment 130124 [details] Patch Clearing flags on attachment: 130124 Committed r110366: <http://trac.webkit.org/changeset/110366>
All reviewed patches have been landed. Closing bug.