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

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

Issue 1559593002: Add root margin support for IntersectionObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-no-root-margin
Patch Set: rebaseline Created 4 years, 11 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/IntersectionObserverInit.idl
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
index 897b0e3f98ca94a15558952e8d82abdb2f3773bd..f333646a8b123c95ac977fca1077513d04219843 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
@@ -8,5 +8,6 @@
RuntimeEnabled=IntersectionObserver
] dictionary IntersectionObserverInit {
Element? root;
+ DOMString rootMargin;
(double or double[]) threshold = 0;
};

Powered by Google App Engine
This is Rietveld 408576698