Index: third_party/WebKit/Source/core/animation/ScrollTimelineOptions.idl |
diff --git a/third_party/WebKit/Source/core/animation/ScrollTimelineOptions.idl b/third_party/WebKit/Source/core/animation/ScrollTimelineOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d07a5594f60336aa2b5d8106e28937e060e1320a |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/animation/ScrollTimelineOptions.idl |
@@ -0,0 +1,19 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://wicg.github.io/scroll-animations/#dictdef-scrolltimelineoptions |
+ |
+enum ScrollDirection { |
+ "auto", |
+ "block", |
+ "inline", |
+}; |
+ |
+enum ScrollTimelineAutoKeyword { "auto" }; |
+ |
+dictionary ScrollTimelineOptions { |
+ Element scrollSource; |
+ ScrollDirection orientation = "auto"; |
+ (double or ScrollTimelineAutoKeyword) timeRange = "auto"; |
+}; |