Bumping manifests a=b2g-bump
[gecko.git] / dom / webidl / BoxObject.webidl
blob8bebd6c9eb3e4048c633442dd77d6b20f11309fb
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 [Func="IsChromeOrXBL"]
8 interface BoxObject {
9   readonly attribute Element? element;
11   readonly attribute long x;
12   readonly attribute long y;
13   [Throws]
14   readonly attribute long screenX;
15   [Throws]
16   readonly attribute long screenY;
17   readonly attribute long width;
18   readonly attribute long height;
20   nsISupports? getPropertyAsSupports(DOMString propertyName);
21   void setPropertyAsSupports(DOMString propertyName, nsISupports value);
22   [Throws]
23   DOMString? getProperty(DOMString propertyName);
24   void setProperty(DOMString propertyName, DOMString propertyValue);
25   void removeProperty(DOMString propertyName);
27   // for stepping through content in the expanded dom with box-ordinal-group order
28   readonly attribute Element? parentBox;
29   readonly attribute Element? firstChild;
30   readonly attribute Element? lastChild;
31   readonly attribute Element? nextSibling;
32   readonly attribute Element? previousSibling;