bug 824970 - add Rect webidl r=bz
authorTrevor Saunders <trev.saunders@gmail.com>
Tue, 25 Dec 2012 22:08:03 -0500
changeset 117216 355d2e8ede647e88740b9acf3519cd5a2b2b02b8
parent 117215 41f218bd308240098bbfd91205d689b33e6a8b47
child 117217 03ece6d48d9f80b20f7a7264fbfe6dd75c148f72
push id20377
push usertrev.saunders@gmail.com
push dateSat, 29 Dec 2012 13:42:09 +0000
treeherdermozilla-inbound@280420584744 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs824970
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 824970 - add Rect webidl r=bz
dom/webidl/Rect.webidl
new file mode 100644
--- /dev/null
+++ b/dom/webidl/Rect.webidl
@@ -0,0 +1,12 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+interface Rect {
+  readonly attribute CSSPrimitiveValue top;
+  readonly attribute CSSPrimitiveValue right;
+  readonly attribute CSSPrimitiveValue bottom;
+  readonly attribute CSSPrimitiveValue left;
+};