| // 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://drafts.csswg.org/resize-observer-1/#resize-observer-entry-interface |
| |
| [Exposed=Window] |
| interface ResizeObserverEntry { |
| readonly attribute Element target; |
| readonly attribute DOMRectReadOnly contentRect; |
| readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize; |
| readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize; |
| readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize; |
| }; |