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

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

Issue 2936283003: Update CSSOM SmoothScroll Web Platform Test (Closed)
Patch Set: format 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.idl
diff --git a/third_party/WebKit/Source/core/dom/Element.idl b/third_party/WebKit/Source/core/dom/Element.idl
index f642b455026e80b37cbe48f0996bc713172f60e2..09b59264fb97d535f6063e021657676d2f9c6dcb 100644
--- a/third_party/WebKit/Source/core/dom/Element.idl
+++ b/third_party/WebKit/Source/core/dom/Element.idl
@@ -95,7 +95,8 @@ interface Element : Node {
ClientRectList getClientRects();
ClientRect getBoundingClientRect();
- void scrollIntoView(optional (ScrollIntoViewOptions or boolean)? arg);
+ void scrollIntoView();
+ void scrollIntoView((ScrollIntoViewOptions or boolean)? arg);
foolip 2017/06/15 08:38:04 This argument should not be nullable.
sunyunjia 2017/06/15 18:00:26 If I remove the "?", and pass in null or undefined
foolip 2017/06/15 19:41:53 The "If arg is not specified" case in the spec wou
[RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optional ScrollToOptions options);
[RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unrestricted double x, unrestricted double y);
[RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions options);

Powered by Google App Engine
This is Rietveld 408576698