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.

     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  */
    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 };
    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;
    44   [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
    45   [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
    46 };
    48 partial interface HTMLIFrameElement {
    49   // GetSVGDocument
    50   Document? getSVGDocument();
    51 };
    53 partial interface HTMLIFrameElement {
    54   // nsIDOMMozBrowserFrame
    55   [ChromeOnly,SetterThrows]
    56            attribute boolean mozbrowser;
    57 };
    59 partial interface HTMLIFrameElement {
    60   // nsIMozBrowserFrame
    61   [ChromeOnly]
    62   readonly attribute DOMString appManifestURL;
    63 };
    65 HTMLIFrameElement implements MozFrameLoaderOwner;

mercurial