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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2939393002: Change ScrollIntoViewOptions::inlinePostion to inline (Closed)
Patch Set: Add a todo 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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 330388de3b891c2d806ea43740c1a4e2803bb2f2..467981e8cc2458027877c9765e602826fd2744aa 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -467,9 +467,6 @@ void Element::scrollIntoView(ScrollIntoViewOptionsOrBoolean arg) {
options.behavior() == "smooth") {
options.setBehavior("instant");
}
- } else if (arg.isNull()) {
- options.setBlock("start");
- options.setInlinePosition("nearest");
}
scrollIntoViewWithOptions(options);
}

Powered by Google App Engine
This is Rietveld 408576698