| // Copyright 2017 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.fxtf.org/geometry/#DOMRectList |
| // Spec update: https://github.com/w3c/fxtf-drafts/pull/186 |
| |
| // DOMRectList only exists for compatibility with legacy web content. |
| // When specifying a new API, use sequence<DOMRect> instead. |
| |
| [ |
| Exposed=Window |
| ] interface DOMRectList { |
| readonly attribute unsigned long length; |
| [MeasureAs=ClientRectListItem] getter DOMRect? item(unsigned long index); |
| }; |