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.
5 // http://dev.w3.org/fxtf/geometry/#DOMRect
8 Constructor
(optional unrestricted
double x
= 0,
9 optional unrestricted
double y
= 0,
10 optional unrestricted
double width
= 0,
11 optional unrestricted
double height
= 0),
12 // FIXME: Exposed=(Window,Worker)
13 RuntimeEnabled
=GeometryInterfaces
,
14 ] interface DOMRect
: DOMRectReadOnly
{
15 inherit attribute unrestricted
double x
;
16 inherit attribute unrestricted
double y
;
17 inherit attribute unrestricted
double width
;
18 inherit attribute unrestricted
double height
;