diff options
Diffstat (limited to 'src/components/script/dom/webidls/HTMLIFrameElement.webidl')
-rw-r--r-- | src/components/script/dom/webidls/HTMLIFrameElement.webidl | 64 |
1 files changed, 23 insertions, 41 deletions
diff --git a/src/components/script/dom/webidls/HTMLIFrameElement.webidl b/src/components/script/dom/webidls/HTMLIFrameElement.webidl index 09d81a27102..026de5a0e6e 100644 --- a/src/components/script/dom/webidls/HTMLIFrameElement.webidl +++ b/src/components/script/dom/webidls/HTMLIFrameElement.webidl @@ -1,51 +1,33 @@ /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. - * - * The origin of this IDL file is - * http://www.whatwg.org/specs/web-apps/current-work/#the-iframe-element - * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis - * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and - * Opera Software ASA. You are granted a license to use, reproduce - * and create derivative works of this document. - */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// http://www.whatwg.org/html/#htmliframeelement interface HTMLIFrameElement : HTMLElement { - [SetterThrows, Pure] - attribute DOMString src; - [SetterThrows, Pure] - attribute DOMString srcdoc; - [SetterThrows, Pure] - attribute DOMString name; - // We're implementing sandbox as a string for now, see bug 845057. - attribute DOMString sandbox; - [SetterThrows, Pure] - attribute boolean allowFullscreen; - [SetterThrows, Pure] - attribute DOMString width; - [SetterThrows, Pure] - attribute DOMString height; - readonly attribute Document? contentDocument; + // attribute DOMString src; + // attribute DOMString srcdoc; + // attribute DOMString name; + //[PutForwards=value] readonly attribute DOMSettableTokenList sandbox; + attribute DOMString sandbox; + // attribute boolean seamless; + // attribute boolean allowFullscreen; + // attribute DOMString width; + // attribute DOMString height; + //readonly attribute Document? contentDocument; + //readonly attribute WindowProxy? contentWindow; readonly attribute Window? contentWindow; -}; - -// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis -partial interface HTMLIFrameElement { - [SetterThrows, Pure] - attribute DOMString align; - [SetterThrows, Pure] - attribute DOMString scrolling; - [SetterThrows, Pure] - attribute DOMString frameBorder; - [SetterThrows, Pure] - attribute DOMString longDesc; - [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight; - [TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth; + // also has obsolete members }; +// http://www.whatwg.org/html/#HTMLIFrameElement-partial partial interface HTMLIFrameElement { - // GetSVGDocument - Document? getSVGDocument(); + // attribute DOMString align; + // attribute DOMString scrolling; + // attribute DOMString frameBorder; + // attribute DOMString longDesc; + + //[TreatNullAs=EmptyString] attribute DOMString marginHeight; + //[TreatNullAs=EmptyString] attribute DOMString marginWidth; }; |