[Webkit-unassigned] [Bug 39417] Autoscroll for selection caret should be available on fullscreen view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 9 21:07:30 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39417


Tony Chang (Google) <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://ponderer.org/tests/s
                   |                            |croll.html
                 CC|                            |tony at chromium.org




--- Comment #17 from Tony Chang (Google) <tony at chromium.org>  2010-06-09 21:07:29 PST ---
I tested this on IE and Firefox.

Firefox 3.6 only autoscrolls if you are over a scrollbar.  This means it's not possible to autoscroll a selection left when maximized or fullscreen because there's no autoscroll area.  Another way to describe this is that hovering over a scrollbar is treated as being outside the content area, therefore it triggers autoscrolling.

IE 8 also autoscrolls when you are over a scrollbar, but it also autoscrolls if you are within about 3 pixels of an edge.  This happens even when not in fullscreen mode.  If there's a scrollbar, this happens within about 3 pixels of the scrollbar.  This also applies to iframes, but doesn't seem to apply to div's with scrollbars (see URL for test case, the div case is probably a bug).

So I think there are 2 bugs:
1) We should not count scrollbars as part of the content area when computing the drag speed.  It looks like WebKit currently determines the drag speed based on the mouse pointer distance outside the page.  Fixing this would fix the original bug report at http://crbug.com/44435

2) If within 3 pixels of an edge, autoscroll like IE.  I'm not 100% sure we should do this on all platforms because IE is the only application that seems to do this.  Wordpad (win) and TextEdit (mac) don't do this.  Maybe windows only.  Anyway, it seems like this should be a separate bug.

Your patch seems closer to (2), but it doesn't take into account scrollbars and seems to be too big (30 instead of only 3).  Maybe we should fix (1) first?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list