[Webkit-unassigned] [Bug 16123] [GTK] Smooth scrolling support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 18 08:41:46 PST 2012


--- Comment #20 from Zan Dobersek <zandobersek at gmail.com>  2012-02-18 08:41:45 PST ---
(In reply to comment #19)
> (From update of attachment 127700 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=127700&action=review
> Please, add a test the new WEbKit2 setting in Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitSettings.cpp

Sure, will do.

> > Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:2053
> > +    return WKPreferencesGetEnableScrollAnimator(settings->priv->preferences.get());
> I'm a bit confused, the scroll animator always does smooth scrolling or are there other types of scroll animations?

The pure ScrollAnimator class only does the normal scrolling (the one in use today). It is platform-independent. Smooth scrolling is provided by ScrollAnimatorWin class for Windows platform, ScrollAnimatorMac class for Mac platform, and ScrollAnimatorNone class, which provides smooth scrolling in a platform-independent way. The ScrollAnimatorNone is obviously the only option, but is only used instead of the core ScollAnimator class if the scroll animator setting is enabled.

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