blob: f60d5c04de44516da041521d7b80e49f353c0b5e [file] [log] [blame]
// 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);
};