Explicitly place '/' before fragment for multipage spec links

This prevents us from 301 redirecting, which could cause the fragment to
get lost
This commit is contained in:
Corey Farwell 2015-10-10 12:07:10 -04:00
parent 85f2b6fc5b
commit 9b68d715de
97 changed files with 152 additions and 152 deletions

View file

@ -68,10 +68,10 @@ impl HTMLBodyElement {
} }
impl HTMLBodyElementMethods for HTMLBodyElement { impl HTMLBodyElementMethods for HTMLBodyElement {
// https://html.spec.whatwg.org/multipage#dom-body-bgcolor // https://html.spec.whatwg.org/multipage/#dom-body-bgcolor
make_getter!(BgColor, "bgcolor"); make_getter!(BgColor, "bgcolor");
// https://html.spec.whatwg.org/multipage#dom-body-bgcolor // https://html.spec.whatwg.org/multipage/#dom-body-bgcolor
make_setter!(SetBgColor, "bgcolor"); make_setter!(SetBgColor, "bgcolor");
// https://html.spec.whatwg.org/multipage/#dom-body-text // https://html.spec.whatwg.org/multipage/#dom-body-text

View file

@ -76,13 +76,13 @@ impl HTMLButtonElementMethods for HTMLButtonElement {
ValidityState::new(window.r()) ValidityState::new(window.r())
} }
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled"); make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -52,7 +52,7 @@ impl HTMLFieldSetElement {
} }
impl HTMLFieldSetElementMethods for HTMLFieldSetElement { impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
// https://html.spec.whatwg.org/multipage#dom-fieldset-elements // https://html.spec.whatwg.org/multipage/#dom-fieldset-elements
fn Elements(&self) -> Root<HTMLCollection> { fn Elements(&self) -> Root<HTMLCollection> {
#[derive(JSTraceable, HeapSizeOf)] #[derive(JSTraceable, HeapSizeOf)]
struct ElementsFilter; struct ElementsFilter;
@ -75,13 +75,13 @@ impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
ValidityState::new(window.r()) ValidityState::new(window.r())
} }
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled // https://html.spec.whatwg.org/multipage/#dom-fieldset-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-fieldset-disabled // https://html.spec.whatwg.org/multipage/#dom-fieldset-disabled
make_bool_setter!(SetDisabled, "disabled"); make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -228,10 +228,10 @@ impl RawLayoutHTMLInputElementHelpers for HTMLInputElement {
} }
impl HTMLInputElementMethods for HTMLInputElement { impl HTMLInputElementMethods for HTMLInputElement {
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled"); make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage/#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form

View file

@ -47,7 +47,7 @@ impl HTMLLabelElement {
} }
impl HTMLLabelElementMethods for HTMLLabelElement { impl HTMLLabelElementMethods for HTMLLabelElement {
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -94,7 +94,7 @@ impl HTMLObjectElementMethods for HTMLObjectElement {
// https://html.spec.whatwg.org/multipage/#dom-object-type // https://html.spec.whatwg.org/multipage/#dom-object-type
make_setter!(SetType, "type"); make_setter!(SetType, "type");
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -78,16 +78,16 @@ fn collect_text(element: &Element, value: &mut DOMString) {
} }
impl HTMLOptionElementMethods for HTMLOptionElement { impl HTMLOptionElementMethods for HTMLOptionElement {
// https://html.spec.whatwg.org/multipage#dom-option-disabled // https://html.spec.whatwg.org/multipage/#dom-option-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-option-disabled // https://html.spec.whatwg.org/multipage/#dom-option-disabled
fn SetDisabled(&self, disabled: bool) { fn SetDisabled(&self, disabled: bool) {
let elem = ElementCast::from_ref(self); let elem = ElementCast::from_ref(self);
elem.set_bool_attribute(&atom!("disabled"), disabled) elem.set_bool_attribute(&atom!("disabled"), disabled)
} }
// https://html.spec.whatwg.org/multipage#dom-option-text // https://html.spec.whatwg.org/multipage/#dom-option-text
fn Text(&self) -> DOMString { fn Text(&self) -> DOMString {
let element = ElementCast::from_ref(self); let element = ElementCast::from_ref(self);
let mut content = String::new(); let mut content = String::new();
@ -95,7 +95,7 @@ impl HTMLOptionElementMethods for HTMLOptionElement {
str_join(split_html_space_chars(&content), " ") str_join(split_html_space_chars(&content), " ")
} }
// https://html.spec.whatwg.org/multipage#dom-option-text // https://html.spec.whatwg.org/multipage/#dom-option-text
fn SetText(&self, value: DOMString) { fn SetText(&self, value: DOMString) {
let node = NodeCast::from_ref(self); let node = NodeCast::from_ref(self);
node.SetTextContent(Some(value)) node.SetTextContent(Some(value))

View file

@ -54,7 +54,7 @@ impl HTMLOutputElementMethods for HTMLOutputElement {
ValidityState::new(window.r()) ValidityState::new(window.r())
} }
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -583,12 +583,12 @@ impl HTMLScriptElementMethods for HTMLScriptElement {
// https://html.spec.whatwg.org/multipage/#dom-script-src // https://html.spec.whatwg.org/multipage/#dom-script-src
make_setter!(SetSrc, "src"); make_setter!(SetSrc, "src");
// https://html.spec.whatwg.org/multipage#dom-script-text // https://html.spec.whatwg.org/multipage/#dom-script-text
fn Text(&self) -> DOMString { fn Text(&self) -> DOMString {
Node::collect_text_contents(NodeCast::from_ref(self).children()) Node::collect_text_contents(NodeCast::from_ref(self).children())
} }
// https://html.spec.whatwg.org/multipage#dom-script-text // https://html.spec.whatwg.org/multipage/#dom-script-text
fn SetText(&self, value: DOMString) { fn SetText(&self, value: DOMString) {
let node = NodeCast::from_ref(self); let node = NodeCast::from_ref(self);
node.SetTextContent(Some(value)) node.SetTextContent(Some(value))

View file

@ -68,13 +68,13 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) { fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
} }
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled"); make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -123,13 +123,13 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
// https://html.spec.whatwg.org/multipage/#dom-textarea-cols // https://html.spec.whatwg.org/multipage/#dom-textarea-cols
make_limited_uint_setter!(SetCols, "cols", DEFAULT_COLS); make_limited_uint_setter!(SetCols, "cols", DEFAULT_COLS);
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_getter!(Disabled); make_bool_getter!(Disabled);
// https://html.spec.whatwg.org/multipage#dom-fe-disabled // https://html.spec.whatwg.org/multipage/#dom-fe-disabled
make_bool_setter!(SetDisabled, "disabled"); make_bool_setter!(SetDisabled, "disabled");
// https://html.spec.whatwg.org/multipage#dom-fae-form // https://html.spec.whatwg.org/multipage/#dom-fae-form
fn GetForm(&self) -> Option<Root<HTMLFormElement>> { fn GetForm(&self) -> Option<Root<HTMLFormElement>> {
self.form_owner() self.form_owner()
} }

View file

@ -47,7 +47,7 @@ impl HTMLTitleElement {
} }
impl HTMLTitleElementMethods for HTMLTitleElement { impl HTMLTitleElementMethods for HTMLTitleElement {
// https://html.spec.whatwg.org/multipage#dom-title-text // https://html.spec.whatwg.org/multipage/#dom-title-text
fn Text(&self) -> DOMString { fn Text(&self) -> DOMString {
let node = NodeCast::from_ref(self); let node = NodeCast::from_ref(self);
let mut content = String::new(); let mut content = String::new();
@ -61,7 +61,7 @@ impl HTMLTitleElementMethods for HTMLTitleElement {
content content
} }
// https://html.spec.whatwg.org/multipage#dom-title-text // https://html.spec.whatwg.org/multipage/#dom-title-text
fn SetText(&self, value: DOMString) { fn SetText(&self, value: DOMString) {
let node = NodeCast::from_ref(self); let node = NodeCast::from_ref(self);
node.SetTextContent(Some(value)) node.SetTextContent(Some(value))

View file

@ -5,7 +5,7 @@
enum CanvasWindingRule { "nonzero", "evenodd" }; enum CanvasWindingRule { "nonzero", "evenodd" };
// https://html.spec.whatwg.org/multipage#2dcontext // https://html.spec.whatwg.org/multipage/#2dcontext
typedef (HTMLImageElement or typedef (HTMLImageElement or
/* HTMLVideoElement or */ /* HTMLVideoElement or */
HTMLCanvasElement or HTMLCanvasElement or

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#dedicatedworkerglobalscope // https://html.spec.whatwg.org/multipage/#dedicatedworkerglobalscope
[Global/*=Worker,DedicatedWorker*/] [Global/*=Worker,DedicatedWorker*/]
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope { /*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
[Throws] [Throws]

View file

@ -5,7 +5,7 @@
/* /*
* The origin of this IDL file is: * The origin of this IDL file is:
* https://dom.spec.whatwg.org/#interface-document * https://dom.spec.whatwg.org/#interface-document
* https://html.spec.whatwg.org/multipage#the-document-object * https://html.spec.whatwg.org/multipage/#the-document-object
*/ */
// https://dom.spec.whatwg.org/#interface-document // https://dom.spec.whatwg.org/#interface-document
@ -75,7 +75,7 @@ Document implements ParentNode;
enum DocumentReadyState { "loading", "interactive", "complete" }; enum DocumentReadyState { "loading", "interactive", "complete" };
// https://html.spec.whatwg.org/multipage#the-document-object // https://html.spec.whatwg.org/multipage/#the-document-object
// [OverrideBuiltins] // [OverrideBuiltins]
partial /*sealed*/ interface Document { partial /*sealed*/ interface Document {
// resource metadata management // resource metadata management

View file

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* /*
* The origin of this IDL file is * The origin of this IDL file is
* https://html.spec.whatwg.org/multipage#eventhandler * https://html.spec.whatwg.org/multipage/#eventhandler
* *
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce * Opera Software ASA. You are granted a license to use, reproduce

View file

@ -4,14 +4,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* /*
* The origin of this IDL file is * The origin of this IDL file is
* https://html.spec.whatwg.org/multipage#the-a-element * https://html.spec.whatwg.org/multipage/#the-a-element
* https://html.spec.whatwg.org/multipage#other-elements,-attributes-and-apis * https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce * Opera Software ASA. You are granted a license to use, reproduce
* and create derivative works of this document. * and create derivative works of this document.
*/ */
// https://html.spec.whatwg.org/multipage#htmlanchorelement // https://html.spec.whatwg.org/multipage/#htmlanchorelement
interface HTMLAnchorElement : HTMLElement { interface HTMLAnchorElement : HTMLElement {
// attribute DOMString target; // attribute DOMString target;
// attribute DOMString download; // attribute DOMString download;
@ -28,7 +28,7 @@ interface HTMLAnchorElement : HTMLElement {
}; };
//HTMLAnchorElement implements URLUtils; //HTMLAnchorElement implements URLUtils;
// https://html.spec.whatwg.org/multipage#HTMLAnchorElement-partial // https://html.spec.whatwg.org/multipage/#HTMLAnchorElement-partial
partial interface HTMLAnchorElement { partial interface HTMLAnchorElement {
attribute DOMString coords; attribute DOMString coords;
// attribute DOMString charset; // attribute DOMString charset;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlappletelement // https://html.spec.whatwg.org/multipage/#htmlappletelement
interface HTMLAppletElement : HTMLElement { interface HTMLAppletElement : HTMLElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString alt; // attribute DOMString alt;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlareaelement // https://html.spec.whatwg.org/multipage/#htmlareaelement
interface HTMLAreaElement : HTMLElement { interface HTMLAreaElement : HTMLElement {
// attribute DOMString alt; // attribute DOMString alt;
// attribute DOMString coords; // attribute DOMString coords;
@ -20,7 +20,7 @@ interface HTMLAreaElement : HTMLElement {
}; };
//HTMLAreaElement implements URLUtils; //HTMLAreaElement implements URLUtils;
// https://html.spec.whatwg.org/multipage#HTMLAreaElement-partial // https://html.spec.whatwg.org/multipage/#HTMLAreaElement-partial
partial interface HTMLAreaElement { partial interface HTMLAreaElement {
// attribute boolean noHref; // attribute boolean noHref;
}; };

View file

@ -3,6 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlaudioelement // https://html.spec.whatwg.org/multipage/#htmlaudioelement
//[NamedConstructor=Audio(optional DOMString src)] //[NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {}; interface HTMLAudioElement : HTMLMediaElement {};

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlbrelement // https://html.spec.whatwg.org/multipage/#htmlbrelement
interface HTMLBRElement : HTMLElement { interface HTMLBRElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLBRElement-partial // https://html.spec.whatwg.org/multipage/#HTMLBRElement-partial
partial interface HTMLBRElement { partial interface HTMLBRElement {
// attribute DOMString clear; // attribute DOMString clear;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlbaseelement // https://html.spec.whatwg.org/multipage/#htmlbaseelement
interface HTMLBaseElement : HTMLElement { interface HTMLBaseElement : HTMLElement {
// attribute DOMString href; // attribute DOMString href;
// attribute DOMString target; // attribute DOMString target;

View file

@ -9,7 +9,7 @@ interface HTMLBodyElement : HTMLElement {
}; };
HTMLBodyElement implements WindowEventHandlers; HTMLBodyElement implements WindowEventHandlers;
// https://html.spec.whatwg.org/multipage#HTMLBodyElement-partial // https://html.spec.whatwg.org/multipage/#HTMLBodyElement-partial
partial interface HTMLBodyElement { partial interface HTMLBodyElement {
[TreatNullAs=EmptyString] attribute DOMString text; [TreatNullAs=EmptyString] attribute DOMString text;
//[TreatNullAs=EmptyString] attribute DOMString link; //[TreatNullAs=EmptyString] attribute DOMString link;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlbuttonelement // https://html.spec.whatwg.org/multipage/#htmlbuttonelement
interface HTMLButtonElement : HTMLElement { interface HTMLButtonElement : HTMLElement {
// attribute boolean autofocus; // attribute boolean autofocus;
attribute boolean disabled; attribute boolean disabled;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlcanvaselement // https://html.spec.whatwg.org/multipage/#htmlcanvaselement
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
interface HTMLCanvasElement : HTMLElement { interface HTMLCanvasElement : HTMLElement {

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldlistelement // https://html.spec.whatwg.org/multipage/#htmldlistelement
interface HTMLDListElement : HTMLElement { interface HTMLDListElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLDListElement-partial // https://html.spec.whatwg.org/multipage/#HTMLDListElement-partial
partial interface HTMLDListElement { partial interface HTMLDListElement {
// attribute boolean compact; // attribute boolean compact;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldataelement // https://html.spec.whatwg.org/multipage/#htmldataelement
interface HTMLDataElement : HTMLElement { interface HTMLDataElement : HTMLElement {
// attribute DOMString value; // attribute DOMString value;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldatalistelement // https://html.spec.whatwg.org/multipage/#htmldatalistelement
interface HTMLDataListElement : HTMLElement { interface HTMLDataListElement : HTMLElement {
readonly attribute HTMLCollection options; readonly attribute HTMLCollection options;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldialogelement // https://html.spec.whatwg.org/multipage/#htmldialogelement
interface HTMLDialogElement : HTMLElement { interface HTMLDialogElement : HTMLElement {
attribute boolean open; attribute boolean open;
attribute DOMString returnValue; attribute DOMString returnValue;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldirectoryelement // https://html.spec.whatwg.org/multipage/#htmldirectoryelement
interface HTMLDirectoryElement : HTMLElement { interface HTMLDirectoryElement : HTMLElement {
// attribute boolean compact; // attribute boolean compact;
}; };

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmldivelement // https://html.spec.whatwg.org/multipage/#htmldivelement
interface HTMLDivElement : HTMLElement { interface HTMLDivElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLDivElement-partial // https://html.spec.whatwg.org/multipage/#HTMLDivElement-partial
partial interface HTMLDivElement { partial interface HTMLDivElement {
// attribute DOMString align; // attribute DOMString align;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlelement // https://html.spec.whatwg.org/multipage/#htmlelement
interface HTMLElement : Element { interface HTMLElement : Element {
// metadata attributes // metadata attributes
attribute DOMString title; attribute DOMString title;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlembedelement // https://html.spec.whatwg.org/multipage/#htmlembedelement
interface HTMLEmbedElement : HTMLElement { interface HTMLEmbedElement : HTMLElement {
// attribute DOMString src; // attribute DOMString src;
// attribute DOMString type; // attribute DOMString type;
@ -14,7 +14,7 @@ interface HTMLEmbedElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLEmbedElement-partial // https://html.spec.whatwg.org/multipage/#HTMLEmbedElement-partial
partial interface HTMLEmbedElement { partial interface HTMLEmbedElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString name; // attribute DOMString name;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlfieldsetelement // https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
interface HTMLFieldSetElement : HTMLElement { interface HTMLFieldSetElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlfontelement // https://html.spec.whatwg.org/multipage/#htmlfontelement
interface HTMLFontElement : HTMLElement { interface HTMLFontElement : HTMLElement {
[TreatNullAs=EmptyString] attribute DOMString color; [TreatNullAs=EmptyString] attribute DOMString color;
attribute DOMString face; attribute DOMString face;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlformelement // https://html.spec.whatwg.org/multipage/#htmlformelement
//[OverrideBuiltins] //[OverrideBuiltins]
interface HTMLFormElement : HTMLElement { interface HTMLFormElement : HTMLElement {
attribute DOMString acceptCharset; attribute DOMString acceptCharset;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlframeelement // https://html.spec.whatwg.org/multipage/#htmlframeelement
interface HTMLFrameElement : HTMLElement { interface HTMLFrameElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
// attribute DOMString scrolling; // attribute DOMString scrolling;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlframesetelement // https://html.spec.whatwg.org/multipage/#htmlframesetelement
interface HTMLFrameSetElement : HTMLElement { interface HTMLFrameSetElement : HTMLElement {
// attribute DOMString cols; // attribute DOMString cols;
// attribute DOMString rows; // attribute DOMString rows;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlhrelement // https://html.spec.whatwg.org/multipage/#htmlhrelement
interface HTMLHRElement : HTMLElement { interface HTMLHRElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLHRElement-partial // https://html.spec.whatwg.org/multipage/#HTMLHRElement-partial
partial interface HTMLHRElement { partial interface HTMLHRElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString color; // attribute DOMString color;

View file

@ -3,5 +3,5 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlheadelement // https://html.spec.whatwg.org/multipage/#htmlheadelement
interface HTMLHeadElement : HTMLElement {}; interface HTMLHeadElement : HTMLElement {};

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlheadingelement // https://html.spec.whatwg.org/multipage/#htmlheadingelement
interface HTMLHeadingElement : HTMLElement { interface HTMLHeadingElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLHeadingElement-partial // https://html.spec.whatwg.org/multipage/#HTMLHeadingElement-partial
partial interface HTMLHeadingElement { partial interface HTMLHeadingElement {
// attribute DOMString align; // attribute DOMString align;
}; };

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlhtmlelement // https://html.spec.whatwg.org/multipage/#htmlhtmlelement
interface HTMLHtmlElement : HTMLElement { interface HTMLHtmlElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLHtmlElement-partial // https://html.spec.whatwg.org/multipage/#HTMLHtmlElement-partial
partial interface HTMLHtmlElement { partial interface HTMLHtmlElement {
// attribute DOMString version; // attribute DOMString version;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmliframeelement // https://html.spec.whatwg.org/multipage/#htmliframeelement
interface HTMLIFrameElement : HTMLElement { interface HTMLIFrameElement : HTMLElement {
attribute DOMString src; attribute DOMString src;
// attribute DOMString srcdoc; // attribute DOMString srcdoc;
@ -21,7 +21,7 @@ interface HTMLIFrameElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLIFrameElement-partial // https://html.spec.whatwg.org/multipage/#HTMLIFrameElement-partial
partial interface HTMLIFrameElement { partial interface HTMLIFrameElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString scrolling; // attribute DOMString scrolling;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlimageelement // https://html.spec.whatwg.org/multipage/#htmlimageelement
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)] [NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement { interface HTMLImageElement : HTMLElement {
attribute DOMString alt; attribute DOMString alt;
@ -21,7 +21,7 @@ interface HTMLImageElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLImageElement-partial // https://html.spec.whatwg.org/multipage/#HTMLImageElement-partial
partial interface HTMLImageElement { partial interface HTMLImageElement {
attribute DOMString name; attribute DOMString name;
// attribute DOMString lowsrc; // attribute DOMString lowsrc;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlinputelement // https://html.spec.whatwg.org/multipage/#htmlinputelement
interface HTMLInputElement : HTMLElement { interface HTMLInputElement : HTMLElement {
// attribute DOMString accept; // attribute DOMString accept;
// attribute DOMString alt; // attribute DOMString alt;
@ -71,7 +71,7 @@ interface HTMLInputElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLInputElement-partial // https://html.spec.whatwg.org/multipage/#HTMLInputElement-partial
partial interface HTMLInputElement { partial interface HTMLInputElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString useMap; // attribute DOMString useMap;

View file

@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmllielement // https://html.spec.whatwg.org/multipage/#htmllielement
interface HTMLLIElement : HTMLElement { interface HTMLLIElement : HTMLElement {
// attribute long value; // attribute long value;
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLLIElement-partial // https://html.spec.whatwg.org/multipage/#HTMLLIElement-partial
partial interface HTMLLIElement { partial interface HTMLLIElement {
// attribute DOMString type; // attribute DOMString type;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmllabelelement // https://html.spec.whatwg.org/multipage/#htmllabelelement
interface HTMLLabelElement : HTMLElement { interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;
// attribute DOMString htmlFor; // attribute DOMString htmlFor;

View file

@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmllegendelement // https://html.spec.whatwg.org/multipage/#htmllegendelement
interface HTMLLegendElement : HTMLElement { interface HTMLLegendElement : HTMLElement {
//readonly attribute HTMLFormElement? form; //readonly attribute HTMLFormElement? form;
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLLegendElement-partial // https://html.spec.whatwg.org/multipage/#HTMLLegendElement-partial
partial interface HTMLLegendElement { partial interface HTMLLegendElement {
// attribute DOMString align; // attribute DOMString align;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmllinkelement // https://html.spec.whatwg.org/multipage/#htmllinkelement
interface HTMLLinkElement : HTMLElement { interface HTMLLinkElement : HTMLElement {
attribute DOMString href; attribute DOMString href;
// attribute DOMString crossOrigin; // attribute DOMString crossOrigin;
@ -18,7 +18,7 @@ interface HTMLLinkElement : HTMLElement {
}; };
//HTMLLinkElement implements LinkStyle; //HTMLLinkElement implements LinkStyle;
// https://html.spec.whatwg.org/multipage#HTMLLinkElement-partial // https://html.spec.whatwg.org/multipage/#HTMLLinkElement-partial
partial interface HTMLLinkElement { partial interface HTMLLinkElement {
attribute DOMString charset; attribute DOMString charset;
attribute DOMString rev; attribute DOMString rev;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlmapelement // https://html.spec.whatwg.org/multipage/#htmlmapelement
interface HTMLMapElement : HTMLElement { interface HTMLMapElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
//readonly attribute HTMLCollection areas; //readonly attribute HTMLCollection areas;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlmediaelement // https://html.spec.whatwg.org/multipage/#htmlmediaelement
//enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" }; //enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
[Abstract] [Abstract]
interface HTMLMediaElement : HTMLElement { interface HTMLMediaElement : HTMLElement {

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlmetaelement // https://html.spec.whatwg.org/multipage/#htmlmetaelement
interface HTMLMetaElement : HTMLElement { interface HTMLMetaElement : HTMLElement {
attribute DOMString name; attribute DOMString name;
// attribute DOMString httpEquiv; // attribute DOMString httpEquiv;
@ -12,7 +12,7 @@ interface HTMLMetaElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLMetaElement-partial // https://html.spec.whatwg.org/multipage/#HTMLMetaElement-partial
partial interface HTMLMetaElement { partial interface HTMLMetaElement {
// attribute DOMString scheme; // attribute DOMString scheme;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlmeterelement // https://html.spec.whatwg.org/multipage/#htmlmeterelement
interface HTMLMeterElement : HTMLElement { interface HTMLMeterElement : HTMLElement {
// attribute double value; // attribute double value;
// attribute double min; // attribute double min;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlmodelement // https://html.spec.whatwg.org/multipage/#htmlmodelement
interface HTMLModElement : HTMLElement { interface HTMLModElement : HTMLElement {
// attribute DOMString cite; // attribute DOMString cite;
// attribute DOMString dateTime; // attribute DOMString dateTime;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlolistelement // https://html.spec.whatwg.org/multipage/#htmlolistelement
interface HTMLOListElement : HTMLElement { interface HTMLOListElement : HTMLElement {
// attribute boolean reversed; // attribute boolean reversed;
// attribute long start; // attribute long start;
@ -12,7 +12,7 @@ interface HTMLOListElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLOListElement-partial // https://html.spec.whatwg.org/multipage/#HTMLOListElement-partial
partial interface HTMLOListElement { partial interface HTMLOListElement {
// attribute boolean compact; // attribute boolean compact;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlobjectelement // https://html.spec.whatwg.org/multipage/#htmlobjectelement
interface HTMLObjectElement : HTMLElement { interface HTMLObjectElement : HTMLElement {
// attribute DOMString data; // attribute DOMString data;
attribute DOMString type; attribute DOMString type;
@ -28,7 +28,7 @@ interface HTMLObjectElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLObjectElement-partial // https://html.spec.whatwg.org/multipage/#HTMLObjectElement-partial
partial interface HTMLObjectElement { partial interface HTMLObjectElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString archive; // attribute DOMString archive;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmloptgroupelement // https://html.spec.whatwg.org/multipage/#htmloptgroupelement
interface HTMLOptGroupElement : HTMLElement { interface HTMLOptGroupElement : HTMLElement {
attribute boolean disabled; attribute boolean disabled;
// attribute DOMString label; // attribute DOMString label;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmloptionelement // https://html.spec.whatwg.org/multipage/#htmloptionelement
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value, //[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
// optional boolean defaultSelected = false, // optional boolean defaultSelected = false,
// optional boolean selected = false)] // optional boolean selected = false)]

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmloutputelement // https://html.spec.whatwg.org/multipage/#htmloutputelement
interface HTMLOutputElement : HTMLElement { interface HTMLOutputElement : HTMLElement {
//[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor; //[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
readonly attribute HTMLFormElement? form; readonly attribute HTMLFormElement? form;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlparagraphelement // https://html.spec.whatwg.org/multipage/#htmlparagraphelement
interface HTMLParagraphElement : HTMLElement { interface HTMLParagraphElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLParagraphElement-partial // https://html.spec.whatwg.org/multipage/#HTMLParagraphElement-partial
partial interface HTMLParagraphElement { partial interface HTMLParagraphElement {
// attribute DOMString align; // attribute DOMString align;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlparamelement // https://html.spec.whatwg.org/multipage/#htmlparamelement
interface HTMLParamElement : HTMLElement { interface HTMLParamElement : HTMLElement {
// attribute DOMString name; // attribute DOMString name;
// attribute DOMString value; // attribute DOMString value;
@ -11,7 +11,7 @@ interface HTMLParamElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLParamElement-partial // https://html.spec.whatwg.org/multipage/#HTMLParamElement-partial
partial interface HTMLParamElement { partial interface HTMLParamElement {
// attribute DOMString type; // attribute DOMString type;
// attribute DOMString valueType; // attribute DOMString valueType;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlpreelement // https://html.spec.whatwg.org/multipage/#htmlpreelement
interface HTMLPreElement : HTMLElement { interface HTMLPreElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLPreElement-partial // https://html.spec.whatwg.org/multipage/#HTMLPreElement-partial
partial interface HTMLPreElement { partial interface HTMLPreElement {
// attribute long width; // attribute long width;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlprogresselement // https://html.spec.whatwg.org/multipage/#htmlprogresselement
interface HTMLProgressElement : HTMLElement { interface HTMLProgressElement : HTMLElement {
// attribute double value; // attribute double value;
// attribute double max; // attribute double max;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlquoteelement // https://html.spec.whatwg.org/multipage/#htmlquoteelement
interface HTMLQuoteElement : HTMLElement { interface HTMLQuoteElement : HTMLElement {
// attribute DOMString cite; // attribute DOMString cite;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlscriptelement // https://html.spec.whatwg.org/multipage/#htmlscriptelement
interface HTMLScriptElement : HTMLElement { interface HTMLScriptElement : HTMLElement {
attribute DOMString src; attribute DOMString src;
// attribute DOMString type; // attribute DOMString type;
@ -17,7 +17,7 @@ interface HTMLScriptElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLScriptElement-partial // https://html.spec.whatwg.org/multipage/#HTMLScriptElement-partial
partial interface HTMLScriptElement { partial interface HTMLScriptElement {
// attribute DOMString event; // attribute DOMString event;
// attribute DOMString htmlFor; // attribute DOMString htmlFor;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlselectelement // https://html.spec.whatwg.org/multipage/#htmlselectelement
interface HTMLSelectElement : HTMLElement { interface HTMLSelectElement : HTMLElement {
// attribute boolean autofocus; // attribute boolean autofocus;
attribute boolean disabled; attribute boolean disabled;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlsourceelement // https://html.spec.whatwg.org/multipage/#htmlsourceelement
interface HTMLSourceElement : HTMLElement { interface HTMLSourceElement : HTMLElement {
// attribute DOMString src; // attribute DOMString src;
// attribute DOMString type; // attribute DOMString type;

View file

@ -3,5 +3,5 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlspanelement // https://html.spec.whatwg.org/multipage/#htmlspanelement
interface HTMLSpanElement : HTMLElement {}; interface HTMLSpanElement : HTMLElement {};

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlstyleelement // https://html.spec.whatwg.org/multipage/#htmlstyleelement
interface HTMLStyleElement : HTMLElement { interface HTMLStyleElement : HTMLElement {
// attribute DOMString media; // attribute DOMString media;
// attribute DOMString type; // attribute DOMString type;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltablecaptionelement // https://html.spec.whatwg.org/multipage/#htmltablecaptionelement
interface HTMLTableCaptionElement : HTMLElement { interface HTMLTableCaptionElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableCaptionElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableCaptionElement-partial
partial interface HTMLTableCaptionElement { partial interface HTMLTableCaptionElement {
// attribute DOMString align; // attribute DOMString align;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltablecellelement // https://html.spec.whatwg.org/multipage/#htmltablecellelement
[Abstract] [Abstract]
interface HTMLTableCellElement : HTMLElement { interface HTMLTableCellElement : HTMLElement {
attribute unsigned long colSpan; attribute unsigned long colSpan;
@ -14,7 +14,7 @@ interface HTMLTableCellElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableCellElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableCellElement-partial
partial interface HTMLTableCellElement { partial interface HTMLTableCellElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString axis; // attribute DOMString axis;

View file

@ -3,14 +3,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltablecolelement // https://html.spec.whatwg.org/multipage/#htmltablecolelement
interface HTMLTableColElement : HTMLElement { interface HTMLTableColElement : HTMLElement {
// attribute unsigned long span; // attribute unsigned long span;
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableColElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableColElement-partial
partial interface HTMLTableColElement { partial interface HTMLTableColElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString ch; // attribute DOMString ch;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltabledatacellelement // https://html.spec.whatwg.org/multipage/#htmltabledatacellelement
interface HTMLTableDataCellElement : HTMLTableCellElement { interface HTMLTableDataCellElement : HTMLTableCellElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableDataCellElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableDataCellElement-partial
partial interface HTMLTableDataCellElement { partial interface HTMLTableDataCellElement {
// attribute DOMString abbr; // attribute DOMString abbr;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltableelement // https://html.spec.whatwg.org/multipage/#htmltableelement
interface HTMLTableElement : HTMLElement { interface HTMLTableElement : HTMLElement {
attribute HTMLTableCaptionElement? caption; attribute HTMLTableCaptionElement? caption;
HTMLElement createCaption(); HTMLElement createCaption();
@ -25,7 +25,7 @@ interface HTMLTableElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableElement-partial
partial interface HTMLTableElement { partial interface HTMLTableElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString border; // attribute DOMString border;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltableheadercellelement // https://html.spec.whatwg.org/multipage/#htmltableheadercellelement
interface HTMLTableHeaderCellElement : HTMLTableCellElement { interface HTMLTableHeaderCellElement : HTMLTableCellElement {
// attribute DOMString scope; // attribute DOMString scope;
// attribute DOMString abbr; // attribute DOMString abbr;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltablerowelement // https://html.spec.whatwg.org/multipage/#htmltablerowelement
interface HTMLTableRowElement : HTMLElement { interface HTMLTableRowElement : HTMLElement {
//readonly attribute long rowIndex; //readonly attribute long rowIndex;
//readonly attribute long sectionRowIndex; //readonly attribute long sectionRowIndex;
@ -14,7 +14,7 @@ interface HTMLTableRowElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableRowElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableRowElement-partial
partial interface HTMLTableRowElement { partial interface HTMLTableRowElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString ch; // attribute DOMString ch;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltablesectionelement // https://html.spec.whatwg.org/multipage/#htmltablesectionelement
interface HTMLTableSectionElement : HTMLElement { interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows; readonly attribute HTMLCollection rows;
//HTMLElement insertRow(optional long index = -1); //HTMLElement insertRow(optional long index = -1);
@ -12,7 +12,7 @@ interface HTMLTableSectionElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLTableSectionElement-partial // https://html.spec.whatwg.org/multipage/#HTMLTableSectionElement-partial
partial interface HTMLTableSectionElement { partial interface HTMLTableSectionElement {
// attribute DOMString align; // attribute DOMString align;
// attribute DOMString ch; // attribute DOMString ch;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltemplateelement // https://html.spec.whatwg.org/multipage/#htmltemplateelement
interface HTMLTemplateElement : HTMLElement { interface HTMLTemplateElement : HTMLElement {
readonly attribute DocumentFragment content; readonly attribute DocumentFragment content;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltextareaelement // https://html.spec.whatwg.org/multipage/#htmltextareaelement
interface HTMLTextAreaElement : HTMLElement { interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete; // attribute DOMString autocomplete;
// attribute boolean autofocus; // attribute boolean autofocus;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltimeelement // https://html.spec.whatwg.org/multipage/#htmltimeelement
interface HTMLTimeElement : HTMLElement { interface HTMLTimeElement : HTMLElement {
// attribute DOMString dateTime; // attribute DOMString dateTime;
}; };

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltitleelement // https://html.spec.whatwg.org/multipage/#htmltitleelement
interface HTMLTitleElement : HTMLElement { interface HTMLTitleElement : HTMLElement {
[Pure] [Pure]
attribute DOMString text; attribute DOMString text;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmltrackelement // https://html.spec.whatwg.org/multipage/#htmltrackelement
interface HTMLTrackElement : HTMLElement { interface HTMLTrackElement : HTMLElement {
// attribute DOMString kind; // attribute DOMString kind;
// attribute DOMString src; // attribute DOMString src;

View file

@ -3,12 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlulistelement // https://html.spec.whatwg.org/multipage/#htmlulistelement
interface HTMLUListElement : HTMLElement { interface HTMLUListElement : HTMLElement {
// also has obsolete members // also has obsolete members
}; };
// https://html.spec.whatwg.org/multipage#HTMLUListElement-partial // https://html.spec.whatwg.org/multipage/#HTMLUListElement-partial
partial interface HTMLUListElement { partial interface HTMLUListElement {
// attribute boolean compact; // attribute boolean compact;
// attribute DOMString type; // attribute DOMString type;

View file

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* /*
* The origin of this IDL file is * The origin of this IDL file is
* https://html.spec.whatwg.org/multipage#htmlunknownelement and * https://html.spec.whatwg.org/multipage/#htmlunknownelement and
* http://dev.w3.org/csswg/cssom-view/ * http://dev.w3.org/csswg/cssom-view/
* *
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#htmlvideoelement // https://html.spec.whatwg.org/multipage/#htmlvideoelement
interface HTMLVideoElement : HTMLMediaElement { interface HTMLVideoElement : HTMLMediaElement {
// attribute unsigned long width; // attribute unsigned long width;
// attribute unsigned long height; // attribute unsigned long height;

View file

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* /*
* The origin of this IDL file is * The origin of this IDL file is
* https://html.spec.whatwg.org/multipage#imagedata * https://html.spec.whatwg.org/multipage/#imagedata
* *
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA. * © 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. * You are granted a license to use, reproduce and create derivative works of this document.

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#location // https://html.spec.whatwg.org/multipage/#location
/*[Unforgeable]*/ interface Location { /*[Unforgeable]*/ interface Location {
void assign(DOMString url); void assign(DOMString url);
//void replace(DOMString url); //void replace(DOMString url);

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#messageevent // https://html.spec.whatwg.org/multipage/#messageevent
[Constructor(DOMString type, optional MessageEventInit eventInitDict)/*, Exposed=Window,Worker*/] [Constructor(DOMString type, optional MessageEventInit eventInitDict)/*, Exposed=Window,Worker*/]
interface MessageEvent : Event { interface MessageEvent : Event {
readonly attribute any data; readonly attribute any data;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#navigator // https://html.spec.whatwg.org/multipage/#navigator
interface Navigator { interface Navigator {
// objects implementing this interface also implement the interfaces given below // objects implementing this interface also implement the interfaces given below
}; };
@ -14,7 +14,7 @@ Navigator implements NavigatorID;
//Navigator implements NavigatorStorageUtils; //Navigator implements NavigatorStorageUtils;
//Navigator implements NavigatorPlugins; //Navigator implements NavigatorPlugins;
// https://html.spec.whatwg.org/multipage#navigatorid // https://html.spec.whatwg.org/multipage/#navigatorid
[NoInterfaceObject/*, Exposed=Window,Worker*/] [NoInterfaceObject/*, Exposed=Window,Worker*/]
interface NavigatorID { interface NavigatorID {
readonly attribute DOMString appCodeName; // constant "Mozilla" readonly attribute DOMString appCodeName; // constant "Mozilla"

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#validitystate // https://html.spec.whatwg.org/multipage/#validitystate
interface ValidityState { interface ValidityState {
//readonly attribute boolean valueMissing; //readonly attribute boolean valueMissing;
//readonly attribute boolean typeMismatch; //readonly attribute boolean typeMismatch;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#window // https://html.spec.whatwg.org/multipage/#window
[PrimaryGlobal] [PrimaryGlobal]
/*sealed*/ interface Window : EventTarget { /*sealed*/ interface Window : EventTarget {
// the current browsing context // the current browsing context
@ -66,7 +66,7 @@
Window implements GlobalEventHandlers; Window implements GlobalEventHandlers;
Window implements WindowEventHandlers; Window implements WindowEventHandlers;
// https://html.spec.whatwg.org/multipage#windowtimers // https://html.spec.whatwg.org/multipage/#windowtimers
[NoInterfaceObject/*, Exposed=Window,Worker*/] [NoInterfaceObject/*, Exposed=Window,Worker*/]
interface WindowTimers { interface WindowTimers {
long setTimeout(Function handler, optional long timeout = 0, any... arguments); long setTimeout(Function handler, optional long timeout = 0, any... arguments);
@ -78,7 +78,7 @@ interface WindowTimers {
}; };
Window implements WindowTimers; Window implements WindowTimers;
// https://html.spec.whatwg.org/multipage#atob // https://html.spec.whatwg.org/multipage/#atob
[NoInterfaceObject/*, Exposed=Window,Worker*/] [NoInterfaceObject/*, Exposed=Window,Worker*/]
interface WindowBase64 { interface WindowBase64 {
[Throws] [Throws]

View file

@ -3,13 +3,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#abstractworker // https://html.spec.whatwg.org/multipage/#abstractworker
[NoInterfaceObject/*, Exposed=Window,Worker*/] [NoInterfaceObject/*, Exposed=Window,Worker*/]
interface AbstractWorker { interface AbstractWorker {
attribute EventHandler onerror; attribute EventHandler onerror;
}; };
// https://html.spec.whatwg.org/multipage#worker // https://html.spec.whatwg.org/multipage/#worker
[Constructor(DOMString scriptURL)/*, Exposed=Window,Worker*/] [Constructor(DOMString scriptURL)/*, Exposed=Window,Worker*/]
interface Worker : EventTarget { interface Worker : EventTarget {
//void terminate(); //void terminate();

View file

@ -15,7 +15,7 @@ interface WorkerGlobalScope : EventTarget {
// attribute EventHandler ononline; // attribute EventHandler ononline;
}; };
// https://html.spec.whatwg.org/multipage#WorkerGlobalScope-partial // https://html.spec.whatwg.org/multipage/#WorkerGlobalScope-partial
//[Exposed=Worker] //[Exposed=Worker]
partial interface WorkerGlobalScope { // not obsolete partial interface WorkerGlobalScope { // not obsolete
[Throws] [Throws]

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#worker-locations // https://html.spec.whatwg.org/multipage/#worker-locations
//[Exposed=Worker] //[Exposed=Worker]
interface WorkerLocation { }; interface WorkerLocation { };
WorkerLocation implements URLUtilsReadOnly; WorkerLocation implements URLUtilsReadOnly;

View file

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage#workernavigator // https://html.spec.whatwg.org/multipage/#workernavigator
//[Exposed=Worker] //[Exposed=Worker]
interface WorkerNavigator {}; interface WorkerNavigator {};
WorkerNavigator implements NavigatorID; WorkerNavigator implements NavigatorID;

View file

@ -291,7 +291,7 @@ impl Window {
} }
} }
// https://html.spec.whatwg.org/multipage#atob // https://html.spec.whatwg.org/multipage/#atob
pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> { pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
// "The btoa() method must throw an InvalidCharacterError exception if // "The btoa() method must throw an InvalidCharacterError exception if
// the method's first argument contains any character whose code point // the method's first argument contains any character whose code point
@ -311,7 +311,7 @@ pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
} }
} }
// https://html.spec.whatwg.org/multipage#atob // https://html.spec.whatwg.org/multipage/#atob
pub fn base64_atob(input: DOMString) -> Fallible<DOMString> { pub fn base64_atob(input: DOMString) -> Fallible<DOMString> {
// "Remove all space characters from input." // "Remove all space characters from input."
// serialize::base64::from_base64 ignores \r and \n, // serialize::base64::from_base64 ignores \r and \n,
@ -479,7 +479,7 @@ impl WindowMethods for Window {
self.Window() self.Window()
} }
// https://html.spec.whatwg.org/multipage#dom-frames // https://html.spec.whatwg.org/multipage/#dom-frames
fn Frames(&self) -> Root<Window> { fn Frames(&self) -> Root<Window> {
self.Window() self.Window()
} }

View file

@ -62,7 +62,7 @@ impl Worker {
WorkerBinding::Wrap) WorkerBinding::Wrap)
} }
// https://html.spec.whatwg.org/multipage#dom-worker // https://html.spec.whatwg.org/multipage/#dom-worker
pub fn Constructor(global: GlobalRef, script_url: DOMString) -> Fallible<Root<Worker>> { pub fn Constructor(global: GlobalRef, script_url: DOMString) -> Fallible<Root<Worker>> {
// Step 2-4. // Step 2-4.
let worker_url = match UrlParser::new().base_url(&global.get_url()).parse(&script_url) { let worker_url = match UrlParser::new().base_url(&global.get_url()).parse(&script_url) {