| // Copyright 2016 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://wicg.github.io/IntersectionObserver/#intersection-observer-entry |
| |
| [ |
| Exposed=Window |
| ] interface IntersectionObserverEntry { |
| readonly attribute DOMHighResTimeStamp time; |
| // TODO(szager): |rootBounds| should not be nullable. |
| readonly attribute DOMRectReadOnly? rootBounds; |
| readonly attribute DOMRectReadOnly boundingClientRect; |
| readonly attribute DOMRectReadOnly intersectionRect; |
| readonly attribute boolean isIntersecting; |
| readonly attribute boolean isVisible; |
| readonly attribute double intersectionRatio; |
| readonly attribute Element target; |
| }; |