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