blob: 7afa3d6df2fa069e01e7d87968ef24c346681e41 [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.
interface DOMRectList {
readonly attribute unsigned long length;
[MeasureAs=ClientRectListItem] getter DOMRect? item(unsigned long index);
};