dom/webidl/HTMLIFrameElement.webidl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 4 * You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5 *
michael@0 6 * The origin of this IDL file is
michael@0 7 * http://www.whatwg.org/specs/web-apps/current-work/#the-iframe-element
michael@0 8 * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
michael@0 9 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
michael@0 10 * Opera Software ASA. You are granted a license to use, reproduce
michael@0 11 * and create derivative works of this document.
michael@0 12 */
michael@0 13
michael@0 14 interface HTMLIFrameElement : HTMLElement {
michael@0 15 [SetterThrows, Pure]
michael@0 16 attribute DOMString src;
michael@0 17 [SetterThrows, Pure]
michael@0 18 attribute DOMString srcdoc;
michael@0 19 [SetterThrows, Pure]
michael@0 20 attribute DOMString name;
michael@0 21 [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
michael@0 22 // attribute boolean seamless;
michael@0 23 [SetterThrows, Pure]
michael@0 24 attribute boolean allowFullscreen;
michael@0 25 [SetterThrows, Pure]
michael@0 26 attribute DOMString width;
michael@0 27 [SetterThrows, Pure]
michael@0 28 attribute DOMString height;
michael@0 29 readonly attribute Document? contentDocument;
michael@0 30 readonly attribute WindowProxy? contentWindow;
michael@0 31 };
michael@0 32
michael@0 33 // http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
michael@0 34 partial interface HTMLIFrameElement {
michael@0 35 [SetterThrows, Pure]
michael@0 36 attribute DOMString align;
michael@0 37 [SetterThrows, Pure]
michael@0 38 attribute DOMString scrolling;
michael@0 39 [SetterThrows, Pure]
michael@0 40 attribute DOMString frameBorder;
michael@0 41 [SetterThrows, Pure]
michael@0 42 attribute DOMString longDesc;
michael@0 43
michael@0 44 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
michael@0 45 [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
michael@0 46 };
michael@0 47
michael@0 48 partial interface HTMLIFrameElement {
michael@0 49 // GetSVGDocument
michael@0 50 Document? getSVGDocument();
michael@0 51 };
michael@0 52
michael@0 53 partial interface HTMLIFrameElement {
michael@0 54 // nsIDOMMozBrowserFrame
michael@0 55 [ChromeOnly,SetterThrows]
michael@0 56 attribute boolean mozbrowser;
michael@0 57 };
michael@0 58
michael@0 59 partial interface HTMLIFrameElement {
michael@0 60 // nsIMozBrowserFrame
michael@0 61 [ChromeOnly]
michael@0 62 readonly attribute DOMString appManifestURL;
michael@0 63 };
michael@0 64
michael@0 65 HTMLIFrameElement implements MozFrameLoaderOwner;

mercurial