1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/webidl/HTMLIFrameElement.webidl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,65 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.7 + * You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + * 1.9 + * The origin of this IDL file is 1.10 + * http://www.whatwg.org/specs/web-apps/current-work/#the-iframe-element 1.11 + * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis 1.12 + * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and 1.13 + * Opera Software ASA. You are granted a license to use, reproduce 1.14 + * and create derivative works of this document. 1.15 + */ 1.16 + 1.17 +interface HTMLIFrameElement : HTMLElement { 1.18 + [SetterThrows, Pure] 1.19 + attribute DOMString src; 1.20 + [SetterThrows, Pure] 1.21 + attribute DOMString srcdoc; 1.22 + [SetterThrows, Pure] 1.23 + attribute DOMString name; 1.24 + [PutForwards=value] readonly attribute DOMSettableTokenList sandbox; 1.25 + // attribute boolean seamless; 1.26 + [SetterThrows, Pure] 1.27 + attribute boolean allowFullscreen; 1.28 + [SetterThrows, Pure] 1.29 + attribute DOMString width; 1.30 + [SetterThrows, Pure] 1.31 + attribute DOMString height; 1.32 + readonly attribute Document? contentDocument; 1.33 + readonly attribute WindowProxy? contentWindow; 1.34 +}; 1.35 + 1.36 +// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis 1.37 +partial interface HTMLIFrameElement { 1.38 + [SetterThrows, Pure] 1.39 + attribute DOMString align; 1.40 + [SetterThrows, Pure] 1.41 + attribute DOMString scrolling; 1.42 + [SetterThrows, Pure] 1.43 + attribute DOMString frameBorder; 1.44 + [SetterThrows, Pure] 1.45 + attribute DOMString longDesc; 1.46 + 1.47 + [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight; 1.48 + [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth; 1.49 +}; 1.50 + 1.51 +partial interface HTMLIFrameElement { 1.52 + // GetSVGDocument 1.53 + Document? getSVGDocument(); 1.54 +}; 1.55 + 1.56 +partial interface HTMLIFrameElement { 1.57 + // nsIDOMMozBrowserFrame 1.58 + [ChromeOnly,SetterThrows] 1.59 + attribute boolean mozbrowser; 1.60 +}; 1.61 + 1.62 +partial interface HTMLIFrameElement { 1.63 + // nsIMozBrowserFrame 1.64 + [ChromeOnly] 1.65 + readonly attribute DOMString appManifestURL; 1.66 +}; 1.67 + 1.68 +HTMLIFrameElement implements MozFrameLoaderOwner;