blob: 79417a79312984dde1b06f1f723a8a8d94772641 [file] [log] [blame]
// Copyright 2017 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.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);
};