mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Replace usage of old-style WHATWG spec links
This commit is contained in:
parent
9cccd98254
commit
85f2b6fc5b
96 changed files with 149 additions and 150 deletions
|
@ -76,10 +76,10 @@ impl HTMLButtonElementMethods for HTMLButtonElement {
|
|||
ValidityState::new(window.r())
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fae-form
|
||||
|
|
|
@ -52,7 +52,7 @@ impl HTMLFieldSetElement {
|
|||
}
|
||||
|
||||
impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
|
||||
// https://www.whatwg.org/html/#dom-fieldset-elements
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-elements
|
||||
fn Elements(&self) -> Root<HTMLCollection> {
|
||||
#[derive(JSTraceable, HeapSizeOf)]
|
||||
struct ElementsFilter;
|
||||
|
@ -75,10 +75,10 @@ impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
|
|||
ValidityState::new(window.r())
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fieldset-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fieldset-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fae-form
|
||||
|
|
|
@ -228,10 +228,10 @@ impl RawLayoutHTMLInputElementHelpers for HTMLInputElement {
|
|||
}
|
||||
|
||||
impl HTMLInputElementMethods for HTMLInputElement {
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-fae-form
|
||||
|
|
|
@ -49,10 +49,10 @@ impl HTMLOptGroupElement {
|
|||
}
|
||||
|
||||
impl HTMLOptGroupElementMethods for HTMLOptGroupElement {
|
||||
// https://www.whatwg.org/html#dom-optgroup-disabled
|
||||
// https://html.spec.whatwg.org/multipage/#dom-optgroup-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html#dom-optgroup-disabled
|
||||
// https://html.spec.whatwg.org/multipage/#dom-optgroup-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
}
|
||||
|
||||
|
|
|
@ -78,16 +78,16 @@ fn collect_text(element: &Element, value: &mut DOMString) {
|
|||
}
|
||||
|
||||
impl HTMLOptionElementMethods for HTMLOptionElement {
|
||||
// https://www.whatwg.org/html/#dom-option-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-option-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-option-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-option-disabled
|
||||
fn SetDisabled(&self, disabled: bool) {
|
||||
let elem = ElementCast::from_ref(self);
|
||||
elem.set_bool_attribute(&atom!("disabled"), disabled)
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-option-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-option-text
|
||||
fn Text(&self) -> DOMString {
|
||||
let element = ElementCast::from_ref(self);
|
||||
let mut content = String::new();
|
||||
|
@ -95,7 +95,7 @@ impl HTMLOptionElementMethods for HTMLOptionElement {
|
|||
str_join(split_html_space_chars(&content), " ")
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-option-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-option-text
|
||||
fn SetText(&self, value: DOMString) {
|
||||
let node = NodeCast::from_ref(self);
|
||||
node.SetTextContent(Some(value))
|
||||
|
|
|
@ -107,7 +107,7 @@ impl HTMLScriptElement {
|
|||
|
||||
|
||||
/// Supported script types as defined by
|
||||
/// <https://whatwg.org/html/#support-the-scripting-language>.
|
||||
/// <https://html.spec.whatwg.org/multipage/#support-the-scripting-language>.
|
||||
static SCRIPT_JS_MIMES: StaticStringVec = &[
|
||||
"application/ecmascript",
|
||||
"application/javascript",
|
||||
|
@ -569,7 +569,7 @@ impl VirtualMethods for HTMLScriptElement {
|
|||
s.cloning_steps(copy, maybe_doc, clone_children);
|
||||
}
|
||||
|
||||
// https://whatwg.org/html/#already-started
|
||||
// https://html.spec.whatwg.org/multipage/#already-started
|
||||
if self.already_started.get() {
|
||||
let copy_elem = HTMLScriptElementCast::to_ref(copy).unwrap();
|
||||
copy_elem.mark_already_started();
|
||||
|
@ -583,12 +583,12 @@ impl HTMLScriptElementMethods for HTMLScriptElement {
|
|||
// https://html.spec.whatwg.org/multipage/#dom-script-src
|
||||
make_setter!(SetSrc, "src");
|
||||
|
||||
// https://www.whatwg.org/html/#dom-script-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-script-text
|
||||
fn Text(&self) -> DOMString {
|
||||
Node::collect_text_contents(NodeCast::from_ref(self).children())
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-script-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-script-text
|
||||
fn SetText(&self, value: DOMString) {
|
||||
let node = NodeCast::from_ref(self);
|
||||
node.SetTextContent(Some(value))
|
||||
|
|
|
@ -68,10 +68,10 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
|
|||
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fae-form
|
||||
|
|
|
@ -123,10 +123,10 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
|
|||
// https://html.spec.whatwg.org/multipage/#dom-textarea-cols
|
||||
make_limited_uint_setter!(SetCols, "cols", DEFAULT_COLS);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_getter!(Disabled);
|
||||
|
||||
// https://www.whatwg.org/html/#dom-fe-disabled
|
||||
// https://html.spec.whatwg.org/multipage#dom-fe-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage#dom-fae-form
|
||||
|
|
|
@ -47,7 +47,7 @@ impl HTMLTitleElement {
|
|||
}
|
||||
|
||||
impl HTMLTitleElementMethods for HTMLTitleElement {
|
||||
// https://www.whatwg.org/html/#dom-title-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-title-text
|
||||
fn Text(&self) -> DOMString {
|
||||
let node = NodeCast::from_ref(self);
|
||||
let mut content = String::new();
|
||||
|
@ -61,7 +61,7 @@ impl HTMLTitleElementMethods for HTMLTitleElement {
|
|||
content
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-title-text
|
||||
// https://html.spec.whatwg.org/multipage#dom-title-text
|
||||
fn SetText(&self, value: DOMString) {
|
||||
let node = NodeCast::from_ref(self);
|
||||
node.SetTextContent(Some(value))
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
enum CanvasWindingRule { "nonzero", "evenodd" };
|
||||
|
||||
// https://www.whatwg.org/html/#2dcontext
|
||||
// https://html.spec.whatwg.org/multipage#2dcontext
|
||||
typedef (HTMLImageElement or
|
||||
/* HTMLVideoElement or */
|
||||
HTMLCanvasElement or
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#dedicatedworkerglobalscope
|
||||
// https://html.spec.whatwg.org/multipage#dedicatedworkerglobalscope
|
||||
[Global/*=Worker,DedicatedWorker*/]
|
||||
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
|
||||
[Throws]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/*
|
||||
* The origin of this IDL file is:
|
||||
* https://dom.spec.whatwg.org/#interface-document
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/#the-document-object
|
||||
* https://html.spec.whatwg.org/multipage#the-document-object
|
||||
*/
|
||||
|
||||
// https://dom.spec.whatwg.org/#interface-document
|
||||
|
@ -75,7 +75,7 @@ Document implements ParentNode;
|
|||
|
||||
enum DocumentReadyState { "loading", "interactive", "complete" };
|
||||
|
||||
// https://www.whatwg.org/specs/web-apps/current-work/#the-document-object
|
||||
// https://html.spec.whatwg.org/multipage#the-document-object
|
||||
// [OverrideBuiltins]
|
||||
partial /*sealed*/ interface Document {
|
||||
// resource metadata management
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/#eventhandler
|
||||
* https://html.spec.whatwg.org/multipage#eventhandler
|
||||
*
|
||||
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
|
||||
* Opera Software ASA. You are granted a license to use, reproduce
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/#functiocn
|
||||
* https://heycam.github.io/webidl/#common-Function
|
||||
*
|
||||
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
|
||||
* Opera Software ASA. You are granted a license to use, reproduce
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/#the-a-element
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
|
||||
* https://html.spec.whatwg.org/multipage#the-a-element
|
||||
* https://html.spec.whatwg.org/multipage#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.
|
||||
*/
|
||||
|
||||
// https://www.whatwg.org/html/#htmlanchorelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlanchorelement
|
||||
interface HTMLAnchorElement : HTMLElement {
|
||||
// attribute DOMString target;
|
||||
// attribute DOMString download;
|
||||
|
@ -28,7 +28,7 @@ interface HTMLAnchorElement : HTMLElement {
|
|||
};
|
||||
//HTMLAnchorElement implements URLUtils;
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLAnchorElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLAnchorElement-partial
|
||||
partial interface HTMLAnchorElement {
|
||||
attribute DOMString coords;
|
||||
// attribute DOMString charset;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlappletelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlappletelement
|
||||
interface HTMLAppletElement : HTMLElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString alt;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlareaelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlareaelement
|
||||
interface HTMLAreaElement : HTMLElement {
|
||||
// attribute DOMString alt;
|
||||
// attribute DOMString coords;
|
||||
|
@ -20,7 +20,7 @@ interface HTMLAreaElement : HTMLElement {
|
|||
};
|
||||
//HTMLAreaElement implements URLUtils;
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLAreaElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLAreaElement-partial
|
||||
partial interface HTMLAreaElement {
|
||||
// attribute boolean noHref;
|
||||
};
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlaudioelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlaudioelement
|
||||
//[NamedConstructor=Audio(optional DOMString src)]
|
||||
interface HTMLAudioElement : HTMLMediaElement {};
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlbrelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlbrelement
|
||||
interface HTMLBRElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLBRElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLBRElement-partial
|
||||
partial interface HTMLBRElement {
|
||||
// attribute DOMString clear;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlbaseelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlbaseelement
|
||||
interface HTMLBaseElement : HTMLElement {
|
||||
// attribute DOMString href;
|
||||
// attribute DOMString target;
|
||||
|
|
|
@ -9,7 +9,7 @@ interface HTMLBodyElement : HTMLElement {
|
|||
};
|
||||
HTMLBodyElement implements WindowEventHandlers;
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLBodyElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLBodyElement-partial
|
||||
partial interface HTMLBodyElement {
|
||||
[TreatNullAs=EmptyString] attribute DOMString text;
|
||||
//[TreatNullAs=EmptyString] attribute DOMString link;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlbuttonelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlbuttonelement
|
||||
interface HTMLButtonElement : HTMLElement {
|
||||
// attribute boolean autofocus;
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlcanvaselement
|
||||
// https://html.spec.whatwg.org/multipage#htmlcanvaselement
|
||||
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
|
||||
|
||||
interface HTMLCanvasElement : HTMLElement {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldlistelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldlistelement
|
||||
interface HTMLDListElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLDListElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLDListElement-partial
|
||||
partial interface HTMLDListElement {
|
||||
// attribute boolean compact;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldataelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldataelement
|
||||
interface HTMLDataElement : HTMLElement {
|
||||
// attribute DOMString value;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldatalistelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldatalistelement
|
||||
interface HTMLDataListElement : HTMLElement {
|
||||
readonly attribute HTMLCollection options;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldialogelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldialogelement
|
||||
interface HTMLDialogElement : HTMLElement {
|
||||
attribute boolean open;
|
||||
attribute DOMString returnValue;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldirectoryelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldirectoryelement
|
||||
interface HTMLDirectoryElement : HTMLElement {
|
||||
// attribute boolean compact;
|
||||
};
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmldivelement
|
||||
// https://html.spec.whatwg.org/multipage#htmldivelement
|
||||
interface HTMLDivElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLDivElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLDivElement-partial
|
||||
partial interface HTMLDivElement {
|
||||
// attribute DOMString align;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlelement
|
||||
interface HTMLElement : Element {
|
||||
// metadata attributes
|
||||
attribute DOMString title;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlembedelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlembedelement
|
||||
interface HTMLEmbedElement : HTMLElement {
|
||||
// attribute DOMString src;
|
||||
// attribute DOMString type;
|
||||
|
@ -14,7 +14,7 @@ interface HTMLEmbedElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLEmbedElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLEmbedElement-partial
|
||||
partial interface HTMLEmbedElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString name;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlfieldsetelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlfieldsetelement
|
||||
interface HTMLFieldSetElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlfontelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlfontelement
|
||||
interface HTMLFontElement : HTMLElement {
|
||||
[TreatNullAs=EmptyString] attribute DOMString color;
|
||||
attribute DOMString face;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlformelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlformelement
|
||||
//[OverrideBuiltins]
|
||||
interface HTMLFormElement : HTMLElement {
|
||||
attribute DOMString acceptCharset;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlframeelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlframeelement
|
||||
interface HTMLFrameElement : HTMLElement {
|
||||
// attribute DOMString name;
|
||||
// attribute DOMString scrolling;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlframesetelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlframesetelement
|
||||
interface HTMLFrameSetElement : HTMLElement {
|
||||
// attribute DOMString cols;
|
||||
// attribute DOMString rows;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlhrelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlhrelement
|
||||
interface HTMLHRElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLHRElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLHRElement-partial
|
||||
partial interface HTMLHRElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString color;
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlheadelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlheadelement
|
||||
interface HTMLHeadElement : HTMLElement {};
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlheadingelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlheadingelement
|
||||
interface HTMLHeadingElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLHeadingElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLHeadingElement-partial
|
||||
partial interface HTMLHeadingElement {
|
||||
// attribute DOMString align;
|
||||
};
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlhtmlelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlhtmlelement
|
||||
interface HTMLHtmlElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLHtmlElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLHtmlElement-partial
|
||||
partial interface HTMLHtmlElement {
|
||||
// attribute DOMString version;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmliframeelement
|
||||
// https://html.spec.whatwg.org/multipage#htmliframeelement
|
||||
interface HTMLIFrameElement : HTMLElement {
|
||||
attribute DOMString src;
|
||||
// attribute DOMString srcdoc;
|
||||
|
@ -21,7 +21,7 @@ interface HTMLIFrameElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLIFrameElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLIFrameElement-partial
|
||||
partial interface HTMLIFrameElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString scrolling;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlimageelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlimageelement
|
||||
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
|
||||
interface HTMLImageElement : HTMLElement {
|
||||
attribute DOMString alt;
|
||||
|
@ -21,7 +21,7 @@ interface HTMLImageElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLImageElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLImageElement-partial
|
||||
partial interface HTMLImageElement {
|
||||
attribute DOMString name;
|
||||
// attribute DOMString lowsrc;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlinputelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlinputelement
|
||||
interface HTMLInputElement : HTMLElement {
|
||||
// attribute DOMString accept;
|
||||
// attribute DOMString alt;
|
||||
|
@ -71,7 +71,7 @@ interface HTMLInputElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLInputElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLInputElement-partial
|
||||
partial interface HTMLInputElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString useMap;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmllielement
|
||||
// https://html.spec.whatwg.org/multipage#htmllielement
|
||||
interface HTMLLIElement : HTMLElement {
|
||||
// attribute long value;
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLLIElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLLIElement-partial
|
||||
partial interface HTMLLIElement {
|
||||
// attribute DOMString type;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmllabelelement
|
||||
// https://html.spec.whatwg.org/multipage#htmllabelelement
|
||||
interface HTMLLabelElement : HTMLElement {
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString htmlFor;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmllegendelement
|
||||
// https://html.spec.whatwg.org/multipage#htmllegendelement
|
||||
interface HTMLLegendElement : HTMLElement {
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLLegendElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLLegendElement-partial
|
||||
partial interface HTMLLegendElement {
|
||||
// attribute DOMString align;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmllinkelement
|
||||
// https://html.spec.whatwg.org/multipage#htmllinkelement
|
||||
interface HTMLLinkElement : HTMLElement {
|
||||
attribute DOMString href;
|
||||
// attribute DOMString crossOrigin;
|
||||
|
@ -18,7 +18,7 @@ interface HTMLLinkElement : HTMLElement {
|
|||
};
|
||||
//HTMLLinkElement implements LinkStyle;
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLLinkElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLLinkElement-partial
|
||||
partial interface HTMLLinkElement {
|
||||
attribute DOMString charset;
|
||||
attribute DOMString rev;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlmapelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlmapelement
|
||||
interface HTMLMapElement : HTMLElement {
|
||||
// attribute DOMString name;
|
||||
//readonly attribute HTMLCollection areas;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlmediaelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlmediaelement
|
||||
//enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
||||
[Abstract]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlmetaelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlmetaelement
|
||||
interface HTMLMetaElement : HTMLElement {
|
||||
attribute DOMString name;
|
||||
// attribute DOMString httpEquiv;
|
||||
|
@ -12,7 +12,7 @@ interface HTMLMetaElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLMetaElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLMetaElement-partial
|
||||
partial interface HTMLMetaElement {
|
||||
// attribute DOMString scheme;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlmeterelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlmeterelement
|
||||
interface HTMLMeterElement : HTMLElement {
|
||||
// attribute double value;
|
||||
// attribute double min;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlmodelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlmodelement
|
||||
interface HTMLModElement : HTMLElement {
|
||||
// attribute DOMString cite;
|
||||
// attribute DOMString dateTime;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlolistelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlolistelement
|
||||
interface HTMLOListElement : HTMLElement {
|
||||
// attribute boolean reversed;
|
||||
// attribute long start;
|
||||
|
@ -12,7 +12,7 @@ interface HTMLOListElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLOListElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLOListElement-partial
|
||||
partial interface HTMLOListElement {
|
||||
// attribute boolean compact;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlobjectelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlobjectelement
|
||||
interface HTMLObjectElement : HTMLElement {
|
||||
// attribute DOMString data;
|
||||
attribute DOMString type;
|
||||
|
@ -28,7 +28,7 @@ interface HTMLObjectElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLObjectElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLObjectElement-partial
|
||||
partial interface HTMLObjectElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString archive;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmloptgroupelement
|
||||
// https://html.spec.whatwg.org/multipage#htmloptgroupelement
|
||||
interface HTMLOptGroupElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
// attribute DOMString label;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmloptionelement
|
||||
// https://html.spec.whatwg.org/multipage#htmloptionelement
|
||||
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
|
||||
// optional boolean defaultSelected = false,
|
||||
// optional boolean selected = false)]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmloutputelement
|
||||
// https://html.spec.whatwg.org/multipage#htmloutputelement
|
||||
interface HTMLOutputElement : HTMLElement {
|
||||
//[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlparagraphelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlparagraphelement
|
||||
interface HTMLParagraphElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLParagraphElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLParagraphElement-partial
|
||||
partial interface HTMLParagraphElement {
|
||||
// attribute DOMString align;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlparamelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlparamelement
|
||||
interface HTMLParamElement : HTMLElement {
|
||||
// attribute DOMString name;
|
||||
// attribute DOMString value;
|
||||
|
@ -11,7 +11,7 @@ interface HTMLParamElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLParamElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLParamElement-partial
|
||||
partial interface HTMLParamElement {
|
||||
// attribute DOMString type;
|
||||
// attribute DOMString valueType;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlpreelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlpreelement
|
||||
interface HTMLPreElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLPreElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLPreElement-partial
|
||||
partial interface HTMLPreElement {
|
||||
// attribute long width;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlprogresselement
|
||||
// https://html.spec.whatwg.org/multipage#htmlprogresselement
|
||||
interface HTMLProgressElement : HTMLElement {
|
||||
// attribute double value;
|
||||
// attribute double max;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlquoteelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlquoteelement
|
||||
interface HTMLQuoteElement : HTMLElement {
|
||||
// attribute DOMString cite;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlscriptelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlscriptelement
|
||||
interface HTMLScriptElement : HTMLElement {
|
||||
attribute DOMString src;
|
||||
// attribute DOMString type;
|
||||
|
@ -17,7 +17,7 @@ interface HTMLScriptElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLScriptElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLScriptElement-partial
|
||||
partial interface HTMLScriptElement {
|
||||
// attribute DOMString event;
|
||||
// attribute DOMString htmlFor;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlselectelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlselectelement
|
||||
interface HTMLSelectElement : HTMLElement {
|
||||
// attribute boolean autofocus;
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlsourceelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlsourceelement
|
||||
interface HTMLSourceElement : HTMLElement {
|
||||
// attribute DOMString src;
|
||||
// attribute DOMString type;
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlspanelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlspanelement
|
||||
interface HTMLSpanElement : HTMLElement {};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlstyleelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlstyleelement
|
||||
interface HTMLStyleElement : HTMLElement {
|
||||
// attribute DOMString media;
|
||||
// attribute DOMString type;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltablecaptionelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltablecaptionelement
|
||||
interface HTMLTableCaptionElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableCaptionElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableCaptionElement-partial
|
||||
partial interface HTMLTableCaptionElement {
|
||||
// attribute DOMString align;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltablecellelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltablecellelement
|
||||
[Abstract]
|
||||
interface HTMLTableCellElement : HTMLElement {
|
||||
attribute unsigned long colSpan;
|
||||
|
@ -14,7 +14,7 @@ interface HTMLTableCellElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableCellElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableCellElement-partial
|
||||
partial interface HTMLTableCellElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString axis;
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltablecolelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltablecolelement
|
||||
interface HTMLTableColElement : HTMLElement {
|
||||
// attribute unsigned long span;
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableColElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableColElement-partial
|
||||
partial interface HTMLTableColElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString ch;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltabledatacellelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltabledatacellelement
|
||||
interface HTMLTableDataCellElement : HTMLTableCellElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableDataCellElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableDataCellElement-partial
|
||||
partial interface HTMLTableDataCellElement {
|
||||
// attribute DOMString abbr;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltableelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltableelement
|
||||
interface HTMLTableElement : HTMLElement {
|
||||
attribute HTMLTableCaptionElement? caption;
|
||||
HTMLElement createCaption();
|
||||
|
@ -25,7 +25,7 @@ interface HTMLTableElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableElement-partial
|
||||
partial interface HTMLTableElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString border;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltableheadercellelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltableheadercellelement
|
||||
interface HTMLTableHeaderCellElement : HTMLTableCellElement {
|
||||
// attribute DOMString scope;
|
||||
// attribute DOMString abbr;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltablerowelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltablerowelement
|
||||
interface HTMLTableRowElement : HTMLElement {
|
||||
//readonly attribute long rowIndex;
|
||||
//readonly attribute long sectionRowIndex;
|
||||
|
@ -14,7 +14,7 @@ interface HTMLTableRowElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableRowElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableRowElement-partial
|
||||
partial interface HTMLTableRowElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString ch;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltablesectionelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltablesectionelement
|
||||
interface HTMLTableSectionElement : HTMLElement {
|
||||
readonly attribute HTMLCollection rows;
|
||||
//HTMLElement insertRow(optional long index = -1);
|
||||
|
@ -12,7 +12,7 @@ interface HTMLTableSectionElement : HTMLElement {
|
|||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLTableSectionElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLTableSectionElement-partial
|
||||
partial interface HTMLTableSectionElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString ch;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltemplateelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltemplateelement
|
||||
interface HTMLTemplateElement : HTMLElement {
|
||||
readonly attribute DocumentFragment content;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltextareaelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltextareaelement
|
||||
interface HTMLTextAreaElement : HTMLElement {
|
||||
// attribute DOMString autocomplete;
|
||||
// attribute boolean autofocus;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltimeelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltimeelement
|
||||
interface HTMLTimeElement : HTMLElement {
|
||||
// attribute DOMString dateTime;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltitleelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltitleelement
|
||||
interface HTMLTitleElement : HTMLElement {
|
||||
[Pure]
|
||||
attribute DOMString text;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmltrackelement
|
||||
// https://html.spec.whatwg.org/multipage#htmltrackelement
|
||||
interface HTMLTrackElement : HTMLElement {
|
||||
// attribute DOMString kind;
|
||||
// attribute DOMString src;
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlulistelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlulistelement
|
||||
interface HTMLUListElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#HTMLUListElement-partial
|
||||
// https://html.spec.whatwg.org/multipage#HTMLUListElement-partial
|
||||
partial interface HTMLUListElement {
|
||||
// attribute boolean compact;
|
||||
// attribute DOMString type;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/ and
|
||||
* https://html.spec.whatwg.org/multipage#htmlunknownelement and
|
||||
* http://dev.w3.org/csswg/cssom-view/
|
||||
*
|
||||
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#htmlvideoelement
|
||||
// https://html.spec.whatwg.org/multipage#htmlvideoelement
|
||||
interface HTMLVideoElement : HTMLMediaElement {
|
||||
// attribute unsigned long width;
|
||||
// attribute unsigned long height;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
|
||||
* https://html.spec.whatwg.org/multipage#imagedata
|
||||
*
|
||||
* © 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.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#location
|
||||
// https://html.spec.whatwg.org/multipage#location
|
||||
/*[Unforgeable]*/ interface Location {
|
||||
void assign(DOMString url);
|
||||
//void replace(DOMString url);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#messageevent
|
||||
// https://html.spec.whatwg.org/multipage#messageevent
|
||||
[Constructor(DOMString type, optional MessageEventInit eventInitDict)/*, Exposed=Window,Worker*/]
|
||||
interface MessageEvent : Event {
|
||||
readonly attribute any data;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#navigator
|
||||
// https://html.spec.whatwg.org/multipage#navigator
|
||||
interface Navigator {
|
||||
// objects implementing this interface also implement the interfaces given below
|
||||
};
|
||||
|
@ -14,7 +14,7 @@ Navigator implements NavigatorID;
|
|||
//Navigator implements NavigatorStorageUtils;
|
||||
//Navigator implements NavigatorPlugins;
|
||||
|
||||
// https://www.whatwg.org/html/#navigatorid
|
||||
// https://html.spec.whatwg.org/multipage#navigatorid
|
||||
[NoInterfaceObject/*, Exposed=Window,Worker*/]
|
||||
interface NavigatorID {
|
||||
readonly attribute DOMString appCodeName; // constant "Mozilla"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#validitystate
|
||||
// https://html.spec.whatwg.org/multipage#validitystate
|
||||
interface ValidityState {
|
||||
//readonly attribute boolean valueMissing;
|
||||
//readonly attribute boolean typeMismatch;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#window
|
||||
// https://html.spec.whatwg.org/multipage#window
|
||||
[PrimaryGlobal]
|
||||
/*sealed*/ interface Window : EventTarget {
|
||||
// the current browsing context
|
||||
|
@ -66,7 +66,7 @@
|
|||
Window implements GlobalEventHandlers;
|
||||
Window implements WindowEventHandlers;
|
||||
|
||||
// https://www.whatwg.org/html/#windowtimers
|
||||
// https://html.spec.whatwg.org/multipage#windowtimers
|
||||
[NoInterfaceObject/*, Exposed=Window,Worker*/]
|
||||
interface WindowTimers {
|
||||
long setTimeout(Function handler, optional long timeout = 0, any... arguments);
|
||||
|
@ -78,7 +78,7 @@ interface WindowTimers {
|
|||
};
|
||||
Window implements WindowTimers;
|
||||
|
||||
// https://www.whatwg.org/html/#atob
|
||||
// https://html.spec.whatwg.org/multipage#atob
|
||||
[NoInterfaceObject/*, Exposed=Window,Worker*/]
|
||||
interface WindowBase64 {
|
||||
[Throws]
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#abstractworker
|
||||
// https://html.spec.whatwg.org/multipage#abstractworker
|
||||
[NoInterfaceObject/*, Exposed=Window,Worker*/]
|
||||
interface AbstractWorker {
|
||||
attribute EventHandler onerror;
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#worker
|
||||
// https://html.spec.whatwg.org/multipage#worker
|
||||
[Constructor(DOMString scriptURL)/*, Exposed=Window,Worker*/]
|
||||
interface Worker : EventTarget {
|
||||
//void terminate();
|
||||
|
|
|
@ -15,7 +15,7 @@ interface WorkerGlobalScope : EventTarget {
|
|||
// attribute EventHandler ononline;
|
||||
};
|
||||
|
||||
// https://www.whatwg.org/html/#WorkerGlobalScope-partial
|
||||
// https://html.spec.whatwg.org/multipage#WorkerGlobalScope-partial
|
||||
//[Exposed=Worker]
|
||||
partial interface WorkerGlobalScope { // not obsolete
|
||||
[Throws]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#worker-locations
|
||||
// https://html.spec.whatwg.org/multipage#worker-locations
|
||||
//[Exposed=Worker]
|
||||
interface WorkerLocation { };
|
||||
WorkerLocation implements URLUtilsReadOnly;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* 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/. */
|
||||
|
||||
// https://www.whatwg.org/html/#workernavigator
|
||||
// https://html.spec.whatwg.org/multipage#workernavigator
|
||||
//[Exposed=Worker]
|
||||
interface WorkerNavigator {};
|
||||
WorkerNavigator implements NavigatorID;
|
||||
|
|
|
@ -291,7 +291,7 @@ impl Window {
|
|||
}
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#atob
|
||||
// https://html.spec.whatwg.org/multipage#atob
|
||||
pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
|
||||
// "The btoa() method must throw an InvalidCharacterError exception if
|
||||
// the method's first argument contains any character whose code point
|
||||
|
@ -311,7 +311,7 @@ pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
|
|||
}
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#atob
|
||||
// https://html.spec.whatwg.org/multipage#atob
|
||||
pub fn base64_atob(input: DOMString) -> Fallible<DOMString> {
|
||||
// "Remove all space characters from input."
|
||||
// serialize::base64::from_base64 ignores \r and \n,
|
||||
|
@ -479,7 +479,7 @@ impl WindowMethods for Window {
|
|||
self.Window()
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-frames
|
||||
// https://html.spec.whatwg.org/multipage#dom-frames
|
||||
fn Frames(&self) -> Root<Window> {
|
||||
self.Window()
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ impl Worker {
|
|||
WorkerBinding::Wrap)
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-worker
|
||||
// https://html.spec.whatwg.org/multipage#dom-worker
|
||||
pub fn Constructor(global: GlobalRef, script_url: DOMString) -> Fallible<Root<Worker>> {
|
||||
// Step 2-4.
|
||||
let worker_url = match UrlParser::new().base_url(&global.get_url()).parse(&script_url) {
|
||||
|
|
|
@ -407,9 +407,8 @@ def check_webidl_spec(file_name, contents):
|
|||
"//html.spec.whatwg.org",
|
||||
"//url.spec.whatwg.org",
|
||||
"//xhr.spec.whatwg.org",
|
||||
"//www.whatwg.org/html",
|
||||
"//www.whatwg.org/specs",
|
||||
"//w3c.github.io",
|
||||
"//heycam.github.io/webidl",
|
||||
# Not a URL
|
||||
"// This interface is entirely internal to Servo, and should not be" +
|
||||
" accessible to\n// web pages."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue