summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-01-17 19:02:50 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-01-17 19:02:50 +0100
commitf6ef8d8ca7ed96d699c28914fc590b0604520fd0 (patch)
treee139d0db8d13c4120c586d3d439ca9f4c7358216 /dom/webidl
parenta20daf64bfd581dc6f04c6c752bf2790d82aab6e (diff)
downloaduxp-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.tar.gz
Add isIntersecting property to IntersectionObserverEntry.
Per updated spec. This resolves the issue raised in #249.
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/IntersectionObserver.webidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/IntersectionObserver.webidl b/dom/webidl/IntersectionObserver.webidl
index dbe8f428d8..bc193ee8c6 100644
--- a/dom/webidl/IntersectionObserver.webidl
+++ b/dom/webidl/IntersectionObserver.webidl
@@ -18,6 +18,8 @@ interface IntersectionObserverEntry {
[Constant]
readonly attribute DOMRectReadOnly intersectionRect;
[Constant]
+ readonly attribute boolean isIntersecting;
+ [Constant]
readonly attribute double intersectionRatio;
[Constant]
readonly attribute Element target;