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

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

Issue 1669043002: Implement attribute getters for IntersectionObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix test expectation Created 4 years, 10 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/IntersectionObserver.idl
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.idl b/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
index c0a419c8e89e2fc35d2be144a4df5fd8e7617c27..568eb42c07d32141309d99e4b6e24621506a7a23 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
@@ -16,4 +16,7 @@ callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry
[RaisesException] void unobserve(Element target);
void disconnect();
sequence<IntersectionObserverEntry> takeRecords();
+ readonly attribute Element? root;
+ readonly attribute DOMString rootMargin;
+ readonly attribute double[] thresholds;
};

Powered by Google App Engine
This is Rietveld 408576698