Chromium Code Reviews
DescriptionBindings for CSSOM View smooth scroll API
This adds custom bindings for Window.scroll, Window.scrollTo
Window.scrollBy, Element.scrollLeft, and Element.scrollTop,
needed for the CSSOM View smooth scroll API.
More specifically:
1) An optional ScrollOptions argument is added to
Window.scroll, Window.scrollTo, and Window.scrollBy.
2) The setter for Element.scrollLeft can now take a
ScrollOptionsHorizontal dictionary instead of an int.
3) The setter for Element.scrollRight can now take a
ScrollOptionsVertical dictionary instead of an int.
These behavior changes are protected by a runtime flag.
Spec: http://www.w3.org/TR/cssom-view/
Intent-to-implement:
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/YLWs9N46XjQ/mK7rCJ26BqAJ
BUG=243871
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166322
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 8
Patch Set 4 : Address review comments #Messages
Total messages: 27 (0 generated)
|