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

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

Issue 2361303003: Sync IntersectionObserver IDL with the spec (Closed)
Patch Set: nits Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
index f333646a8b123c95ac977fca1077513d04219843..130e0ca5ffd047c56daae8dce7d81c7b708355a2 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
@@ -2,12 +2,12 @@
// 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
+// https://wicg.github.io/IntersectionObserver/#intersection-observer-init
[
RuntimeEnabled=IntersectionObserver
] dictionary IntersectionObserverInit {
- Element? root;
- DOMString rootMargin;
- (double or double[]) threshold = 0;
+ Element? root = null;
+ DOMString rootMargin = "0px";
+ (double or sequence<double>) threshold = 0;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698