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

Unified Diff: third_party/WebKit/Source/core/layout/ScrollAlignment.h

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Change the default setting. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ScrollAlignment.h
diff --git a/third_party/WebKit/Source/core/layout/ScrollAlignment.h b/third_party/WebKit/Source/core/layout/ScrollAlignment.h
index 4d162cc7083226636d8c0cf81481d66775bcd36f..cfa070b04cf5026fba6a0e3c7673e5038f001326 100644
--- a/third_party/WebKit/Source/core/layout/ScrollAlignment.h
+++ b/third_party/WebKit/Source/core/layout/ScrollAlignment.h
@@ -84,6 +84,8 @@ struct CORE_EXPORT ScrollAlignment {
static const ScrollAlignment kAlignCenterAlways;
static const ScrollAlignment kAlignTopAlways;
static const ScrollAlignment kAlignBottomAlways;
+ static const ScrollAlignment kAlignLeftAlways;
+ static const ScrollAlignment kAlignRightAlways;
ScrollAlignmentBehavior rect_visible_;
ScrollAlignmentBehavior rect_hidden_;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/ScrollAlignment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698