1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5[ 6 Constructor(optional unrestricted double x = 0, 7 optional unrestricted double y = 0, 8 optional unrestricted double width = 0, 9 optional unrestricted double height = 0), 10 RuntimeEnabled=GeometryInterfaces, 11] interface DOMRect : DOMRectReadOnly { 12 attribute unrestricted double x; 13 attribute unrestricted double y; 14 attribute unrestricted double width; 15 attribute unrestricted double height; 16}; 17