blob: fb26cf2c4a501501924b494a0e85256950ea611d [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// 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
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 double intersectionRatio;
readonly attribute Element target;
};