|
This updates the Element API for smooth scrolling to match changes to
the CSSOM View spec. Previously, the spec overloaded the setters for
scrollTop and scrollLeft, allowing these to take a ScrollOptions
dictionary. Now, the spec instead adds scroll, scrollTo, and scrollBy
methods that each take either a pair of doubles or a single
ScrollToOptions dictionary (just like the corresponding methods on
Window).
Smooth scrolling is behing a runtime flag.
Spec: http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
BUG=243871
Review URL: https://codereview.chromium.org/782793002
git-svn-id: svn://svn.chromium.org/blink/trunk@186725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|