blob: 4d3d6087706f547b728259a13548d5fd479a2c31 [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.
// Spec update:
// DOMRectList only exists for compatibility with legacy web content.
// When specifying a new API, use sequence<DOMRect> instead.
// TODO: Spec also includes LegacyArrayClass that our IDL doesn't support yet.
[ NoInterfaceObject ] interface DOMRectList {
readonly attribute unsigned long length;
[MeasureAs=ClientRectListItem] getter DOMRect? item(unsigned long index);