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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Revised according to the comments. We are still missing tests. 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 6245df237f467b09253150d7f41cdc040858f773..a32dddf5daca635eb04722d176ea75f26eb89abf 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -570,7 +570,8 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
const ScrollAlignment& alignX,
const ScrollAlignment& alignY,
ScrollType = ProgrammaticScroll,
- bool makeVisibleInVisualViewport = true);
+ bool makeVisibleInVisualViewport = true,
+ ScrollBehavior = ScrollBehaviorAuto);
LayoutRectOutsets marginBoxOutsets() const override {
return m_marginBoxOutsets;

Powered by Google App Engine
This is Rietveld 408576698