mirror of
https://github.com/servo/servo.git
synced 2025-10-12 14:30:25 +01:00
Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased maintenance costs. This commit also synchronizes the IDL with the HTML specification and makes the URLs consistent.
This commit is contained in:
parent
eaae994d57
commit
a0783aebbf
131 changed files with 887 additions and 5544 deletions
|
@ -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;
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
|
||||
// http://www.whatwg.org/html/#HTMLIFrameElement-partial
|
||||
partial interface HTMLIFrameElement {
|
||||
[SetterThrows, Pure]
|
||||
attribute DOMString align;
|
||||
[SetterThrows, Pure]
|
||||
attribute DOMString scrolling;
|
||||
[SetterThrows, Pure]
|
||||
attribute DOMString frameBorder;
|
||||
[SetterThrows, Pure]
|
||||
attribute DOMString longDesc;
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString scrolling;
|
||||
// attribute DOMString frameBorder;
|
||||
// attribute DOMString longDesc;
|
||||
|
||||
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
|
||||
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
|
||||
};
|
||||
|
||||
partial interface HTMLIFrameElement {
|
||||
// GetSVGDocument
|
||||
Document? getSVGDocument();
|
||||
//[TreatNullAs=EmptyString] attribute DOMString marginHeight;
|
||||
//[TreatNullAs=EmptyString] attribute DOMString marginWidth;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue