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

Unified Diff: Source/core/frame/ScrollOptions.idl

Issue 774203003: Update Window API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expected results Created 6 years 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
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/ScrollToOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/ScrollOptions.idl
diff --git a/Source/core/frame/ScrollOptions.idl b/Source/core/frame/ScrollOptions.idl
index 615da4b006a4fd237594236fd4dc0940c3389773..592ff49ba3e3f7ea4a4b845de38b5ef7437c36a8 100644
--- a/Source/core/frame/ScrollOptions.idl
+++ b/Source/core/frame/ScrollOptions.idl
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Spec: Non-standard
+// Spec: http://http://dev.w3.org/csswg/cssom-view#extensions-to-the-window-interface
+
+enum ScrollBehavior { "auto", "instant", "smooth" };
dictionary ScrollOptions {
- DOMString behavior;
+ ScrollBehavior behavior = "auto";
};
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/ScrollToOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698