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

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

Issue 1879323003: Add IntersectionObserverEntry.intersectionRatio attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2704
Patch Set: Created 4 years, 8 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.cpp ('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/IntersectionObserverEntry.idl
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl
index 14d72684ba79d79c661f29ddacd0983db5399268..6c032663ca6b8d6b87aa9b06fc0d4264f7d72cf2 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.idl
@@ -10,6 +10,7 @@
] interface IntersectionObserverEntry {
readonly attribute ClientRect boundingClientRect;
readonly attribute ClientRect intersectionRect;
+ readonly attribute double intersectionRatio;
readonly attribute ClientRect? rootBounds;
readonly attribute Element target;
readonly attribute DOMHighResTimeStamp time;
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698