Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 enum ScrollLogicalPosition { "start", "center", "end", "nearest" };
bokan 2017/02/02 22:51:50 Do these have to be strings?
sunyunjia 2017/02/10 23:25:20 Yeah, that's according to the specs: https://www.w
2
3 dictionary ScrollIntoViewOptions : ScrollOptions {
4 ScrollLogicalPosition block = "center";
5 ScrollLogicalPosition inlinePosition = "center";
6 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698