[Webkit-unassigned] [Bug 229697] keyboard scrolling spring damping animation doesn't finish in WinCairo Debug with debug logging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 30 21:17:28 PDT 2021


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
https://github.com/WebKit/WebKit/blob/b736c55b81845e8e159eb97b3fcba1a8315da7d1/Source/WebCore/platform/KeyboardScrollingAnimator.cpp#L125,L127

>  FloatSize acceleration = force.scaled(1. / params.springMass);
>  m_velocity += acceleration.scaled(frameDuration);
>  FloatPoint newPosition = m_scrollAnimator.currentPosition() + m_velocity.scaled(frameDuration);

This expressions are assuming that frameDuration is short.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210831/fe598288/attachment.htm>


More information about the webkit-unassigned mailing list