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/#the-iframe-element
8 * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
9 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
10 * Opera Software ASA. You are granted a license to use, reproduce
11 * and create derivative works of this document.
14 interface HTMLIFrameElement : HTMLElement {
16 attribute DOMString src;
18 attribute DOMString srcdoc;
20 attribute DOMString name;
21 [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
22 // attribute boolean seamless;
24 attribute boolean allowFullscreen;
26 attribute DOMString width;
28 attribute DOMString height;
29 readonly attribute Document? contentDocument;
30 readonly attribute WindowProxy? contentWindow;
33 // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
34 partial interface HTMLIFrameElement {
36 attribute DOMString align;
38 attribute DOMString scrolling;
40 attribute DOMString frameBorder;
42 attribute DOMString longDesc;
44 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
45 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
48 partial interface HTMLIFrameElement {
50 Document? getSVGDocument();
53 partial interface HTMLIFrameElement {
54 // nsIDOMMozBrowserFrame
55 [ChromeOnly,SetterThrows]
56 attribute boolean mozbrowser;
59 partial interface HTMLIFrameElement {
62 readonly attribute DOMString appManifestURL;
65 HTMLIFrameElement implements MozFrameLoaderOwner;