mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove [PrimaryGlobal]
This commit is contained in:
parent
84693d8117
commit
2660f35925
167 changed files with 417 additions and 829 deletions
|
@ -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);
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface Attr {
|
||||
[Constant]
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
* https://dom.spec.whatwg.org/#interface-cdatasection
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface CDATASection : Text {
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface Comment : CharacterData {
|
||||
[Throws] constructor(optional DOMString data = "");
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 = {});
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
* related or neighboring rights to this work.
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface DOMImplementation {
|
||||
[NewObject, Throws]
|
||||
DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId,
|
||||
|
|
|
@ -14,6 +14,7 @@ enum SupportedType {
|
|||
"image/svg+xml"*/
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface DOMParser {
|
||||
[Throws] constructor();
|
||||
[Throws]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
|
||||
// https://dom.spec.whatwg.org/#interface-document
|
||||
[Exposed=Window]
|
||||
interface Document : Node {
|
||||
[Throws] constructor();
|
||||
[SameObject]
|
||||
|
|
|
@ -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();
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface DocumentType : Node {
|
||||
[Constant]
|
||||
readonly attribute DOMString name;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
* https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/
|
||||
*/
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject, Exposed=Window]
|
||||
interface EXTShaderTextureLod {
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
interface Element : Node {
|
||||
[Constant]
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* https://dom.spec.whatwg.org/#callbackdef-eventlistener
|
||||
*/
|
||||
|
||||
[Exposed=Window]
|
||||
callback interface EventListener {
|
||||
void handleEvent(Event event);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*/
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
|
||||
[HTMLConstructor]
|
||||
[Exposed=Window, HTMLConstructor]
|
||||
interface HTMLAnchorElement : HTMLElement {
|
||||
[CEReactions]
|
||||
attribute DOMString target;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://dom.spec.whatwg.org/#interface-htmlcollection
|
||||
|
||||
[LegacyUnenumerableNamedProperties]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface HTMLCollection {
|
||||
[Pure]
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue