Remove [PrimaryGlobal]

This commit is contained in:
Kagami Sascha Rosylight 2019-10-02 18:21:34 +09:00
parent 84693d8117
commit 2660f35925
167 changed files with 417 additions and 829 deletions

View file

@ -6,7 +6,7 @@
* https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/
*/
[NoInterfaceObject]
[NoInterfaceObject, Exposed=Window]
interface ANGLEInstancedArrays {
const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
void drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);

View file

@ -7,6 +7,7 @@
*
*/
[Exposed=Window]
interface Attr {
[Constant]
readonly attribute DOMString? namespaceURI;

View file

@ -25,7 +25,7 @@ dictionary RequestDeviceOptions {
boolean acceptAllDevices = false;
};
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface Bluetooth : EventTarget {
[SecureContext]
Promise<boolean> getAvailability();

View file

@ -10,7 +10,7 @@
interface BluetoothServiceDataMap {
readonly maplike<UUID, DataView>;
};*/
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothAdvertisingEvent : Event {
[Throws] constructor(DOMString type, BluetoothAdvertisingEventInit init);
[SameObject]

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#characteristicproperties
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothCharacteristicProperties {
readonly attribute boolean broadcast;
readonly attribute boolean read;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothDevice : EventTarget {
readonly attribute DOMString id;
readonly attribute DOMString? name;

View file

@ -12,7 +12,7 @@ dictionary BluetoothPermissionDescriptor : PermissionDescriptor {
boolean acceptAllDevices = false;
};
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothPermissionResult : PermissionStatus {
// attribute FrozenArray<BluetoothDevice> devices;
// Workaround until FrozenArray get implemented.

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattcharacteristic
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothRemoteGATTCharacteristic : EventTarget {
[SameObject]
readonly attribute BluetoothRemoteGATTService service;

View file

@ -4,7 +4,7 @@
// http://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothRemoteGATTDescriptor {
[SameObject]
readonly attribute BluetoothRemoteGATTCharacteristic characteristic;

View file

@ -4,7 +4,7 @@
//https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattserver
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothRemoteGATTServer {
[SameObject]
readonly attribute BluetoothDevice device;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattservice
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothRemoteGATTService : EventTarget {
[SameObject]
readonly attribute BluetoothDevice device;

View file

@ -4,7 +4,7 @@
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothuuid
[Pref="dom.bluetooth.enabled"]
[Exposed=Window, Pref="dom.bluetooth.enabled"]
interface BluetoothUUID {
[Throws]
static UUID getService(BluetoothServiceUUID name);

View file

@ -6,5 +6,6 @@
* https://dom.spec.whatwg.org/#interface-cdatasection
*/
[Exposed=Window]
interface CDATASection : Text {
};

View file

@ -9,7 +9,7 @@
* liability, trademark and document use rules apply.
*/
[Abstract]
[Exposed=Window, Abstract]
interface CharacterData : Node {
[Pure] attribute [TreatNullAs=EmptyString] DOMString data;
[Pure] readonly attribute unsigned long length;

View file

@ -9,6 +9,7 @@
* liability, trademark and document use rules apply.
*/
[Exposed=Window]
interface Comment : CharacterData {
[Throws] constructor(optional DOMString data = "");
};

View file

@ -8,7 +8,7 @@
*/
// https://w3c.github.io/uievents/#idl-compositionevent
[Pref="dom.compositionevent.enabled"]
[Exposed=Window, Pref="dom.compositionevent.enabled"]
interface CompositionEvent : UIEvent {
[Throws] constructor(DOMString type, optional CompositionEventInit eventInitDict = {});
readonly attribute DOMString data;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#customelementregistry
[Pref="dom.customelements.enabled"]
[Exposed=Window, Pref="dom.customelements.enabled"]
interface CustomElementRegistry {
[Throws, CEReactions]
void define(DOMString name, CustomElementConstructor constructor_, optional ElementDefinitionOptions options = {});

View file

@ -10,6 +10,7 @@
* related or neighboring rights to this work.
*/
[Exposed=Window]
interface DOMImplementation {
[NewObject, Throws]
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId,

View file

@ -14,6 +14,7 @@ enum SupportedType {
"image/svg+xml"*/
};
[Exposed=Window]
interface DOMParser {
[Throws] constructor();
[Throws]

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#the-domstringmap-interface
[OverrideBuiltins]
[Exposed=Window, OverrideBuiltins]
interface DOMStringMap {
getter DOMString (DOMString name);
[CEReactions, Throws]

View file

@ -3,6 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#domtokenlist
[Exposed=Window]
interface DOMTokenList {
[Pure]
readonly attribute unsigned long length;

View file

@ -8,6 +8,7 @@
*/
// https://dom.spec.whatwg.org/#interface-document
[Exposed=Window]
interface Document : Node {
[Throws] constructor();
[SameObject]

View file

@ -3,6 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#interface-documentfragment
[Exposed=Window]
interface DocumentFragment : Node {
[Throws] constructor();
};

View file

@ -9,6 +9,7 @@
* liability, trademark and document use rules apply.
*/
[Exposed=Window]
interface DocumentType : Node {
[Constant]
readonly attribute DOMString name;

View file

@ -6,7 +6,7 @@
* https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/
*/
[NoInterfaceObject]
[NoInterfaceObject, Exposed=Window]
interface EXTBlendMinmax {
const GLenum MIN_EXT = 0x8007;
const GLenum MAX_EXT = 0x8008;

View file

@ -6,7 +6,7 @@
* https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/
*/
[NoInterfaceObject]
[NoInterfaceObject, Exposed=Window]
interface EXTColorBufferHalfFloat {
const GLenum RGBA16F_EXT = 0x881A;
const GLenum RGB16F_EXT = 0x881B;

View file

@ -6,6 +6,6 @@
* https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/
*/
[NoInterfaceObject]
[NoInterfaceObject, Exposed=Window]
interface EXTShaderTextureLod {
};

View file

@ -6,7 +6,7 @@
* https://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/
*/
[NoInterfaceObject]
[NoInterfaceObject, Exposed=Window]
interface EXTTextureFilterAnisotropic {
const GLenum TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
const GLenum MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;

View file

@ -12,6 +12,7 @@
* liability, trademark and document use rules apply.
*/
[Exposed=Window]
interface Element : Node {
[Constant]
readonly attribute DOMString? namespaceURI;

View file

@ -5,6 +5,7 @@
* https://dom.spec.whatwg.org/#callbackdef-eventlistener
*/
[Exposed=Window]
callback interface EventListener {
void handleEvent(Event event);
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/gamepad/#gamepad-interface
[Pref="dom.gamepad.enabled"]
[Exposed=Window, Pref="dom.gamepad.enabled"]
interface Gamepad {
readonly attribute DOMString id;
readonly attribute long index;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/gamepad/#gamepadbutton-interface
[Pref="dom.gamepad.enabled"]
[Exposed=Window, Pref="dom.gamepad.enabled"]
interface GamepadButton {
readonly attribute boolean pressed;
readonly attribute boolean touched;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/gamepad/#dom-gamepad-buttons
[Pref="dom.gamepad.enabled"]
[Exposed=Window, Pref="dom.gamepad.enabled"]
interface GamepadButtonList {
getter GamepadButton? item(unsigned long index);
readonly attribute unsigned long length;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/gamepad/#gamepadevent-interface
[Pref="dom.gamepad.enabled"]
[Exposed=Window, Pref="dom.gamepad.enabled"]
interface GamepadEvent : Event {
[Throws] constructor(DOMString type, GamepadEventInit eventInitDict);
readonly attribute Gamepad gamepad;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://w3c.github.io/gamepad/#navigator-interface-extension
[Pref="dom.gamepad.enabled"]
[Exposed=Window, Pref="dom.gamepad.enabled"]
interface GamepadList {
getter Gamepad? item(unsigned long index);
readonly attribute unsigned long length;

View file

@ -11,7 +11,7 @@
*/
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLAnchorElement : HTMLElement {
[CEReactions]
attribute DOMString target;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlareaelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLAreaElement : HTMLElement {
// [CEReactions]
// attribute DOMString alt;

View file

@ -3,5 +3,5 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlaudioelement
[HTMLConstructor, NamedConstructor=Audio(optional DOMString src)]
[Exposed=Window, HTMLConstructor, NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbrelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLBRElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbaseelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLBaseElement : HTMLElement {
[CEReactions]
attribute DOMString href;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#the-body-element
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLBodyElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlbuttonelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLButtonElement : HTMLElement {
// [CEReactions]
// attribute boolean autofocus;

View file

@ -4,7 +4,7 @@
// https://dom.spec.whatwg.org/#interface-htmlcollection
[LegacyUnenumerableNamedProperties]
[Exposed=Window, LegacyUnenumerableNamedProperties]
interface HTMLCollection {
[Pure]
readonly attribute unsigned long length;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldlistelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDListElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldataelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDataElement : HTMLElement {
[CEReactions]
attribute DOMString value;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldatalistelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDataListElement : HTMLElement {
readonly attribute HTMLCollection options;
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldetailselement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDetailsElement : HTMLElement {
[CEReactions]
attribute boolean open;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldialogelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDialogElement : HTMLElement {
[CEReactions]
attribute boolean open;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldirectoryelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDirectoryElement : HTMLElement {
// [CEReactions]
// attribute boolean compact;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmldivelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLDivElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLElement : Element {
// metadata attributes
[CEReactions]

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlembedelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLEmbedElement : HTMLElement {
// [CEReactions]
// attribute DOMString src;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLFieldSetElement : HTMLElement {
[CEReactions]
attribute boolean disabled;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlfontelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLFontElement : HTMLElement {
[CEReactions]
attribute [TreatNullAs=EmptyString] DOMString color;

View file

@ -3,6 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlformcontrolscollection
[Exposed=Window]
interface HTMLFormControlsCollection : HTMLCollection {
// inherits length and item()
getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlformelement
[/*OverrideBuiltins, */HTMLConstructor]
[Exposed=Window, /*OverrideBuiltins, */HTMLConstructor]
interface HTMLFormElement : HTMLElement {
[CEReactions]
attribute DOMString acceptCharset;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframeelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLFrameElement : HTMLElement {
// [CEReactions]
// attribute DOMString name;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlframesetelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLFrameSetElement : HTMLElement {
// [CEReactions]
// attribute DOMString cols;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhrelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLHRElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,5 +3,5 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlheadelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLHeadElement : HTMLElement {};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlheadingelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLHeadingElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhtmlelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLHtmlElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmliframeelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLIFrameElement : HTMLElement {
[CEReactions]
attribute USVString src;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlimageelement
[HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
[Exposed=Window, HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
[CEReactions]
attribute DOMString alt;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlinputelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLInputElement : HTMLElement {
[CEReactions]
attribute DOMString accept;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllielement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLLIElement : HTMLElement {
[CEReactions]
attribute long value;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllabelelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLLabelElement : HTMLElement {
readonly attribute HTMLFormElement? form;
[CEReactions]

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllegendelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLLegendElement : HTMLElement {
readonly attribute HTMLFormElement? form;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmllinkelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLLinkElement : HTMLElement {
[CEReactions]
attribute USVString href;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmapelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLMapElement : HTMLElement {
// [CEReactions]
// attribute DOMString name;

View file

@ -7,7 +7,7 @@
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
typedef (MediaStream /*or MediaSource */ or Blob) MediaProvider;
[Abstract]
[Exposed=Window, Abstract]
interface HTMLMediaElement : HTMLElement {
// error state
readonly attribute MediaError? error;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmetaelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLMetaElement : HTMLElement {
[CEReactions]
attribute DOMString name;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmeterelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLMeterElement : HTMLElement {
// [CEReactions]
// attribute double value;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlmodelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLModElement : HTMLElement {
// [CEReactions]
// attribute DOMString cite;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlolistelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLOListElement : HTMLElement {
// [CEReactions]
// attribute boolean reversed;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlobjectelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLObjectElement : HTMLElement {
// [CEReactions]
// attribute DOMString data;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptgroupelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLOptGroupElement : HTMLElement {
[CEReactions]
attribute boolean disabled;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptionelement
[HTMLConstructor/*, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
[Exposed=Window, HTMLConstructor/*, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
optional boolean defaultSelected = false,
optional boolean selected = false)*/]
interface HTMLOptionElement : HTMLElement {

View file

@ -3,6 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloptionscollection
[Exposed=Window]
interface HTMLOptionsCollection : HTMLCollection {
// inherits item(), namedItem()
[CEReactions]

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmloutputelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLOutputElement : HTMLElement {
// [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
readonly attribute HTMLFormElement? form;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlparagraphelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLParagraphElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlparamelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLParamElement : HTMLElement {
// [CEReactions]
// attribute DOMString name;

View file

@ -3,5 +3,5 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlpictureelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLPictureElement : HTMLElement {};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlpreelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLPreElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlprogresselement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLProgressElement : HTMLElement {
// [CEReactions]
// attribute double value;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlquoteelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLQuoteElement : HTMLElement {
// [CEReactions]
// attribute DOMString cite;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlscriptelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLScriptElement : HTMLElement {
[CEReactions]
attribute USVString src;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlselectelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLSelectElement : HTMLElement {
// [CEReactions]
// attribute boolean autofocus;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlsourceelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLSourceElement : HTMLElement {
[CEReactions]
attribute DOMString src;

View file

@ -3,5 +3,5 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlspanelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLSpanElement : HTMLElement {};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlstyleelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLStyleElement : HTMLElement {
// [CEReactions]
// attribute DOMString media;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecaptionelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableCaptionElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecellelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableCellElement : HTMLElement {
[CEReactions]
attribute unsigned long colSpan;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecolelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableColElement : HTMLElement {
// [CEReactions]
// attribute unsigned long span;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltableelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableElement : HTMLElement {
[CEReactions]
attribute HTMLTableCaptionElement? caption;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablerowelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableRowElement : HTMLElement {
readonly attribute long rowIndex;
readonly attribute long sectionRowIndex;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablesectionelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows;
[Throws]

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltemplateelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTemplateElement : HTMLElement {
readonly attribute DocumentFragment content;
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltextareaelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTextAreaElement : HTMLElement {
// [CEReactions]
// attribute DOMString autocomplete;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltimeelement
[HTMLConstructor]
[Exposed=Window, HTMLConstructor]
interface HTMLTimeElement : HTMLElement {
[CEReactions]
attribute DOMString dateTime;

Some files were not shown because too many files have changed in this diff Show more