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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListBox.cpp

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Fixed nits. Created 3 years, 6 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/LayoutListBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
index d3a45d6cc1e8933a7d7da4ed25e6be879216f31d..fb7cbd9af25b3441da80e6a4ac3eda1df37f11c9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
@@ -133,7 +133,7 @@ void LayoutListBox::ScrollToRect(const LayoutRect& rect) {
DCHECK(Layer()->GetScrollableArea());
Layer()->GetScrollableArea()->ScrollIntoView(
rect, ScrollAlignment::kAlignToEdgeIfNeeded,
- ScrollAlignment::kAlignToEdgeIfNeeded);
+ ScrollAlignment::kAlignToEdgeIfNeeded, false);
}
}

Powered by Google App Engine
This is Rietveld 408576698