dom/webidl/HTMLIFrameElement.webidl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:85690d05359b
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 *
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.
12 */
13
14 interface HTMLIFrameElement : HTMLElement {
15 [SetterThrows, Pure]
16 attribute DOMString src;
17 [SetterThrows, Pure]
18 attribute DOMString srcdoc;
19 [SetterThrows, Pure]
20 attribute DOMString name;
21 [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
22 // attribute boolean seamless;
23 [SetterThrows, Pure]
24 attribute boolean allowFullscreen;
25 [SetterThrows, Pure]
26 attribute DOMString width;
27 [SetterThrows, Pure]
28 attribute DOMString height;
29 readonly attribute Document? contentDocument;
30 readonly attribute WindowProxy? contentWindow;
31 };
32
33 // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
34 partial interface HTMLIFrameElement {
35 [SetterThrows, Pure]
36 attribute DOMString align;
37 [SetterThrows, Pure]
38 attribute DOMString scrolling;
39 [SetterThrows, Pure]
40 attribute DOMString frameBorder;
41 [SetterThrows, Pure]
42 attribute DOMString longDesc;
43
44 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
45 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
46 };
47
48 partial interface HTMLIFrameElement {
49 // GetSVGDocument
50 Document? getSVGDocument();
51 };
52
53 partial interface HTMLIFrameElement {
54 // nsIDOMMozBrowserFrame
55 [ChromeOnly,SetterThrows]
56 attribute boolean mozbrowser;
57 };
58
59 partial interface HTMLIFrameElement {
60 // nsIMozBrowserFrame
61 [ChromeOnly]
62 readonly attribute DOMString appManifestURL;
63 };
64
65 HTMLIFrameElement implements MozFrameLoaderOwner;

mercurial