Files
basilisk55/dom/webidl/HTMLIFrameElement.webidl
T
roytam1 eb31645dcb ported from UXP:
- Issue #2548 - Part 1 - Implement MathML DOM and pre-requisites. https://bugzilla.mozilla.org/show_bug.cgi?id=1571487 Introduce interface mixins. https://bugzilla.mozilla.org/show_bug.cgi?id=1414372 Switch XPathEvaluator to using IDL mixins and remaining users of IDL "implements" over to mixin syntax. https://bugzilla.mozilla.org/show_bug.cgi?id=1574195 Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1579457 Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec. https://bugzilla.mozilla.org/show_bug.cgi?id=1330457 Remove the use of IsCallerChrome in FetchRequest. https://bugzilla.mozilla.org/show_bug.cgi?id=1335368 (85600c73)
- Issue #2548 - Part 2 - Collection of WebIDL parsing updates in an attempt to fix partial interface mixin error. We should ensure, at build-time, that partial interfaces are defined in the same file as the interface they extend. Since our build system doesn't really support correct dep builds if they're placed in a different file. https://bugzilla.mozilla.org/show_bug.cgi?id=1333117 WebIDL: Better error message for trying to inherit from a mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1575384 Fix webidl identifier conflicts involving typedefs to produce saner exceptions. https://bugzilla.mozilla.org/show_bug.cgi?id=1531623 Disallow nullable types for WebIDL constants. https://bugzilla.mozilla.org/show_bug.cgi?id=1535647 Add support for extended attributes on types in Web IDL https://bugzilla.mozilla.org/show_bug.cgi?id=1359269 Allow LenientFloat to be only in a specific overload https://bugzilla.mozilla.org/show_bug.cgi?id=1020975 (81b4f0c3)
- Issue #2548 - Part 3 - Fix some MathML issues encountered since WebIDL works. https://bugzilla.mozilla.org/show_bug.cgi?id=1316616 Also added a Fetch() change that was not in the Mozilla patch. (20354b67)
- Issue #2548 - Part 4 - Fix some missed changes for ElementCSSInlineStyle. Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=157945 (502c7047)
- Issue #2548 - Part 5 - Implement the HTMLOrForeignElement mixin. https://bugzilla.mozilla.org/show_bug.cgi?id=1577660 Add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method. https://bugzilla.mozilla.org/show_bug.cgi?id=1374045 (3febe21f)
2026-03-27 09:54:37 +08:00

68 lines
2.5 KiB
Plaintext

/* -*- 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.
*/
[HTMLConstructor]
interface HTMLIFrameElement : HTMLElement {
[CEReactions, NeedsSubjectPrincipal, SetterThrows, Pure]
attribute DOMString src;
[CEReactions, SetterThrows, Pure]
attribute DOMString srcdoc;
[CEReactions, SetterThrows, Pure]
attribute DOMString name;
[PutForwards=value] readonly attribute DOMTokenList sandbox;
// attribute boolean seamless;
[CEReactions, SetterThrows, Pure]
attribute boolean allowFullscreen;
[CEReactions, SetterThrows, Pure]
attribute DOMString width;
[CEReactions, SetterThrows, Pure]
attribute DOMString height;
[CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy;
[NeedsSubjectPrincipal]
readonly attribute Document? contentDocument;
readonly attribute WindowProxy? contentWindow;
};
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLIFrameElement {
[CEReactions, SetterThrows, Pure]
attribute DOMString align;
[CEReactions, SetterThrows, Pure]
attribute DOMString scrolling;
[CEReactions, SetterThrows, Pure]
attribute DOMString frameBorder;
[CEReactions, SetterThrows, Pure]
attribute DOMString longDesc;
[CEReactions, SetterThrows, Pure]
attribute [TreatNullAs=EmptyString] DOMString marginHeight;
[CEReactions, SetterThrows, Pure]
attribute [TreatNullAs=EmptyString] DOMString marginWidth;
};
partial interface HTMLIFrameElement {
// GetSVGDocument
[NeedsSubjectPrincipal]
Document? getSVGDocument();
};
partial interface HTMLIFrameElement {
// nsIDOMMozBrowserFrame
[ChromeOnly, SetterThrows]
attribute boolean mozbrowser;
};
HTMLIFrameElement includes MozFrameLoaderOwner;
HTMLIFrameElement implements BrowserElement;