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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Added SimTest. 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 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 80caf57e3ac9485cd4e2eae471a68b6324cf4af9..ff78193250ded16063954b0523a551cf88bf2cea 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 alignCenterAlways;
static const ScrollAlignment alignTopAlways;
static const ScrollAlignment alignBottomAlways;
+ static const ScrollAlignment alignLeftAlways;
+ static const ScrollAlignment alignRightAlways;
ScrollAlignmentBehavior m_rectVisible;
ScrollAlignmentBehavior m_rectHidden;

Powered by Google App Engine
This is Rietveld 408576698