Bug 53702 - scroll() and scrollTo() will erroneously animate into position (smooth scroll?) when a variety of keys are held, even if keys are prevented
Summary: scroll() and scrollTo() will erroneously animate into position (smooth scroll...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/MrNibbles/BpBnp/
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 12:04 PST by Anthony Mann
Modified: 2011-02-03 16:30 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Mann 2011-02-03 12:04:09 PST
scroll() and scrollTo() will animate into position instead of jumping when a directional key is held (other keys behave similarly), even if the key event is prevented.

see the demo here:
http://jsfiddle.net/MrNibbles/BpBnp/

This has caused a damn near nightmare for my current project!

evident in Safari Version 5.0.3 (6533.19.4) && Webkit Version 5.0.3 (6533.19.4, r77034)
Comment 1 Alexey Proskuryakov 2011-02-03 15:31:33 PST
Confirmed with r77306, not a regression from Safari 5. One needs to have smooth scrolling enabled in system preferences to see this.

I could see an argument for scrolling being always smooth, but not for it being smooth only when a key is pressed.