From discussion in bug #24722, it is possible to enter auto scroll when the area isn't scrollable. To reproduce, 1. Load http://google.com 2. Size the page until there are no scroll bars 3. Middle-click the page The auto scroll icon and cursor show, but the page is not scrollable.
<rdar://problem/6933057>
Created attachment 31701 [details] Cancels the scroll if there are no vertical or horizonal scrollbars.
Created attachment 31744 [details] Does not instantiate an autoscroll when there are no scrollbars on the frame view. Assumes that there is no situation in which a frame does not have a frameview but the user should still be able to do an auto / pan scroll.
Comment on attachment 31744 [details] Does not instantiate an autoscroll when there are no scrollbars on the frame view. Code change looks fine, but can we layout test this bad boy?
Comment on attachment 31744 [details] Does not instantiate an autoscroll when there are no scrollbars on the frame view. Re-read precisely what this is about, I guess we can't quite test this yet. r+
Is this patch supposed to be obsoleted? Or should it be landed?
(In reply to comment #6) > Is this patch supposed to be obsoleted? Or should it be landed? > Obsoleted. I did not take into account the case where there is a scrollable element inside of a frame view even then though frame view might not have scrollbars.
Comment on attachment 31744 [details] Does not instantiate an autoscroll when there are no scrollbars on the frame view. Clearing review flag on obsoleted patch.
This bug was fixed as collateral damage with the fix of http://trac.webkit.org/changeset/47163.