Index: core/dom/IntersectionObserverInit.idl |
diff --git a/core/dom/IntersectionObserverInit.idl b/core/dom/IntersectionObserverInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f333646a8b123c95ac977fca1077513d04219843 |
--- /dev/null |
+++ b/core/dom/IntersectionObserverInit.idl |
@@ -0,0 +1,13 @@ |
+// Copyright 2016 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. |
+ |
+// TODO(szager): link to final spec |
+ |
+[ |
+ RuntimeEnabled=IntersectionObserver |
+] dictionary IntersectionObserverInit { |
+ Element? root; |
+ DOMString rootMargin; |
+ (double or double[]) threshold = 0; |
+}; |