[webkit-help] Details about algorithm used to scroll a div

Antonio Gomes tonikitoo at gmail.com
Wed Aug 17 06:53:59 PDT 2011


See if ScrollBehavior.h helps.

On Wed, Aug 17, 2011 at 2:10 AM, Brian Granger <ellisonbg at gmail.com> wrote:

> Hi,
>
> I am debugging a subtle issue in WebKit browsers with a div that has
> overflow:scroll and I would like to learn more about how WebKit
> decides to scroll a div when a subelement comes into focus.  My
> specific problem is that I have a scrolling div that has a sequence of
> subelements.  When certain subelements are focused, the div
> automatically scrolls to the bottom, even if the element that was
> focused was not at the end of the scrolling div.  I am wondering what
> specific criteria WebKit uses in making the decision to scroll all the
> way to the bottom of the div.  Any help would be greatly appreciated.
>
> Cheers,
>
> Brian
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu and ellisonbg at gmail.com
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>



-- 
--Antonio Gomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110817/d801cb46/attachment.html>


More information about the webkit-help mailing list