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/.
6 * The origin of this IDL file is
7 * http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement
8 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
9 * Opera Software ASA. You are granted a license to use, reproduce
10 * and create derivative works of this document.
13 // http://www.whatwg.org/specs/web-apps/current-work/#htmlframeelement
15 interface HTMLFrameElement : HTMLElement {
16 [HTMLConstructor] constructor();
18 [CEReactions, SetterThrows]
19 attribute DOMString name;
20 [CEReactions, SetterThrows]
21 attribute DOMString scrolling;
22 [CEReactions, SetterNeedsSubjectPrincipal=NonSystem, SetterThrows]
23 attribute DOMString src;
24 [CEReactions, SetterThrows]
25 attribute DOMString frameBorder;
26 [CEReactions, SetterThrows]
27 attribute DOMString longDesc;
28 [CEReactions, SetterThrows]
29 attribute boolean noResize;
30 [NeedsSubjectPrincipal]
31 readonly attribute Document? contentDocument;
32 readonly attribute WindowProxy? contentWindow;
34 [CEReactions, SetterThrows]
35 attribute [TreatNullAs=EmptyString] DOMString marginHeight;
36 [CEReactions, SetterThrows]
37 attribute [TreatNullAs=EmptyString] DOMString marginWidth;
40 HTMLFrameElement includes MozFrameLoaderOwner;