diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-17 19:02:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-17 19:02:50 +0100 |
commit | f6ef8d8ca7ed96d699c28914fc590b0604520fd0 (patch) | |
tree | e139d0db8d13c4120c586d3d439ca9f4c7358216 /dom/base/DOMIntersectionObserver.cpp | |
parent | a20daf64bfd581dc6f04c6c752bf2790d82aab6e (diff) | |
download | UXP-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.tar UXP-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.tar.gz UXP-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.tar.lz UXP-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.tar.xz UXP-f6ef8d8ca7ed96d699c28914fc590b0604520fd0.zip |
Add isIntersecting property to IntersectionObserverEntry.
Per updated spec.
This resolves the issue raised in #249.
Diffstat (limited to 'dom/base/DOMIntersectionObserver.cpp')
-rw-r--r-- | dom/base/DOMIntersectionObserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/DOMIntersectionObserver.cpp b/dom/base/DOMIntersectionObserver.cpp index e7b3cd0da..0264a105e 100644 --- a/dom/base/DOMIntersectionObserver.cpp +++ b/dom/base/DOMIntersectionObserver.cpp @@ -482,6 +482,7 @@ DOMIntersectionObserver::QueueIntersectionObserverEntry(Element* aTarget, rootBounds.forget(), boundingClientRect.forget(), intersectionRect.forget(), + aIntersectionRect.isSome(), aTarget, aIntersectionRatio); mQueuedEntries.AppendElement(entry.forget()); } |