nsgenbind
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
html.idl
Go to the documentation of this file.
1// HTML web IDL
2// Retrived from https://html.spec.whatwg.org/
3// Sat Jul 18 2015
4
5
6typedef (Int8Array or Uint8Array or Uint8ClampedArray or
7 Int16Array or Uint16Array or
8 Int32Array or Uint32Array or
9 Float32Array or Float64Array or
10 DataView) ArrayBufferView;
11
13 // inherits length and 'getter'
14 Element? item(unsigned long index);
15 (HTMLCollection or Element)? item(DOMString name);
16 legacycaller getter (HTMLCollection or Element)? namedItem(DOMString name); // shadows inherited namedItem()
17};
18
20 // inherits length and item()
21 legacycaller getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
22};
23
25 attribute DOMString value;
26};
27
29 // inherits item()
30 attribute unsigned long length; // shadows inherited length
31 legacycaller HTMLOptionElement? (DOMString name);
32 setter creator void (unsigned long index, HTMLOptionElement? option);
33 void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
34 void remove(long index);
35 attribute long selectedIndex;
36};
37
39 // inherits length and item()
40 getter PropertyNodeList? namedItem(DOMString name); // shadows inherited namedItem()
41 [SameObject] readonly attribute DOMString[] names;
42};
43
44typedef sequence<any> PropertyValueArray;
45
48};
49
50[OverrideBuiltins, Exposed=(Window,Worker)]
51interface DOMStringMap {
52 getter DOMString (DOMString name);
53 setter creator void (DOMString name, DOMString value);
54 deleter void (DOMString name);
55};
56
57interface DOMElementMap {
58 getter Element (DOMString name);
59 setter creator void (DOMString name, Element value);
60 deleter void (DOMString name);
61};
62
63typedef (ArrayBuffer or CanvasProxy or MessagePort) Transferable;
64
65callback FileCallback = void (File file);
66
67enum DocumentReadyState { "loading", "interactive", "complete" };
68
69[OverrideBuiltins]
70partial /*sealed*/ interface Document {
71 // resource metadata management
72 [PutForwards=href, Unforgeable] readonly attribute Location? location;
73 attribute DOMString domain;
74 readonly attribute DOMString referrer;
75 attribute DOMString cookie;
76 readonly attribute DOMString lastModified;
77 readonly attribute DocumentReadyState readyState;
78
79 // DOM tree accessors
80 getter object (DOMString name);
81 attribute DOMString title;
82 attribute DOMString dir;
83 attribute HTMLElement? body;
84 readonly attribute HTMLHeadElement? head;
85 [SameObject] readonly attribute HTMLCollection images;
86 [SameObject] readonly attribute HTMLCollection embeds;
87 [SameObject] readonly attribute HTMLCollection plugins;
88 [SameObject] readonly attribute HTMLCollection links;
89 [SameObject] readonly attribute HTMLCollection forms;
90 [SameObject] readonly attribute HTMLCollection scripts;
91 NodeList getElementsByName(DOMString elementName);
92 NodeList getItems(optional DOMString typeNames = ""); // microdata
93 [SameObject] readonly attribute DOMElementMap cssElementMap;
94 readonly attribute HTMLScriptElement? currentScript;
95
96 // dynamic markup insertion
97 Document open(optional DOMString type = "text/html", optional DOMString replace = "");
98 WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);
99 void close();
100 void write(DOMString... text);
101 void writeln(DOMString... text);
102
103 // user interaction
104 readonly attribute WindowProxy? defaultView;
105 readonly attribute Element? activeElement;
106 boolean hasFocus();
107 attribute DOMString designMode;
108 boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
109 boolean queryCommandEnabled(DOMString commandId);
110 boolean queryCommandIndeterm(DOMString commandId);
111 boolean queryCommandState(DOMString commandId);
112 boolean queryCommandSupported(DOMString commandId);
113 DOMString queryCommandValue(DOMString commandId);
114 readonly attribute HTMLCollection commands;
115
116 // special event handler IDL attributes that only apply to Document objects
117 [LenientThis] attribute EventHandler onreadystatechange;
118
119 // also has obsolete members
120};
122
123partial interface XMLDocument {
124 boolean load(DOMString url);
125};
126
127interface HTMLElement : Element {
128 // metadata attributes
129 attribute DOMString title;
130 attribute DOMString lang;
131 attribute boolean translate;
132 attribute DOMString dir;
133 [SameObject] readonly attribute DOMStringMap dataset;
134
135 // microdata
136 attribute boolean itemScope;
137 [PutForwards=value] readonly attribute DOMSettableTokenList itemType;
138 attribute DOMString itemId;
139 [PutForwards=value] readonly attribute DOMSettableTokenList itemRef;
140 [PutForwards=value] readonly attribute DOMSettableTokenList itemProp;
142 attribute any itemValue; // acts as DOMString on setting
143
144 // user interaction
145 attribute boolean hidden;
146 void click();
147 attribute long tabIndex;
148 void focus();
149 void blur();
150 attribute DOMString accessKey;
151 readonly attribute DOMString accessKeyLabel;
152 attribute boolean draggable;
153 [PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
155 attribute boolean spellcheck;
157
158 // command API
159 readonly attribute DOMString? commandType;
160 readonly attribute DOMString? commandLabel;
161 readonly attribute DOMString? commandIcon;
162 readonly attribute boolean? commandHidden;
163 readonly attribute boolean? commandDisabled;
164 readonly attribute boolean? commandChecked;
165};
168
170
172 // also has obsolete members
173};
174
176
178 attribute DOMString text;
179};
180
182 attribute DOMString href;
183 attribute DOMString target;
184};
185
187 attribute DOMString href;
188 attribute DOMString? crossOrigin;
189 attribute DOMString rel;
190 readonly attribute DOMTokenList relList;
191 attribute DOMString media;
192 attribute DOMString hreflang;
193 attribute DOMString type;
194 [PutForwards=value] readonly attribute DOMSettableTokenList sizes;
195
196 // also has obsolete members
197};
199
201 attribute DOMString name;
202 attribute DOMString httpEquiv;
203 attribute DOMString content;
204
205 // also has obsolete members
206};
207
209 attribute DOMString media;
210 attribute DOMString type;
211 attribute boolean scoped;
212};
213HTMLStyleElement implements LinkStyle;
214
216
217 // also has obsolete members
218};
220
222 // also has obsolete members
223};
224
226 // also has obsolete members
227};
228
230 // also has obsolete members
231};
232
234 // also has obsolete members
235};
236
238 attribute DOMString cite;
239};
240
242 attribute boolean reversed;
243 attribute long start;
244 attribute DOMString type;
245
246 // also has obsolete members
247};
248
250 // also has obsolete members
251};
252
254 attribute long value;
255
256 // also has obsolete members
257};
258
260 // also has obsolete members
261};
262
264 // also has obsolete members
265};
266
268 attribute DOMString target;
269 attribute DOMString download;
270 [PutForwards=value] attribute DOMSettableTokenList ping;
271 attribute DOMString rel;
272 readonly attribute DOMTokenList relList;
273 attribute DOMString hreflang;
274 attribute DOMString type;
275
276 attribute DOMString text;
277
278 // also has obsolete members
279};
281
283 attribute DOMString value;
284};
285
287 attribute DOMString dateTime;
288};
289
291
293 // also has obsolete members
294};
295
297 attribute DOMString cite;
298 attribute DOMString dateTime;
299};
300
302
303partial interface HTMLSourceElement {
304 attribute DOMString srcset;
305 attribute DOMString sizes;
306 attribute DOMString media;
307};
308
309[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
311 attribute DOMString alt;
312 attribute DOMString src;
313 attribute DOMString srcset;
314 attribute DOMString sizes;
315 attribute DOMString? crossOrigin;
316 attribute DOMString useMap;
317 attribute boolean isMap;
318 attribute unsigned long width;
319 attribute unsigned long height;
320 readonly attribute unsigned long naturalWidth;
321 readonly attribute unsigned long naturalHeight;
322 readonly attribute boolean complete;
323 readonly attribute DOMString currentSrc;
324
325 // also has obsolete members
326};
327
329 attribute DOMString src;
330 attribute DOMString srcdoc;
331 attribute DOMString name;
332 [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
333 attribute boolean seamless;
334 attribute boolean allowFullscreen;
335 attribute DOMString width;
336 attribute DOMString height;
337 readonly attribute Document? contentDocument;
338 readonly attribute WindowProxy? contentWindow;
340
341 // also has obsolete members
342};
343
345 attribute DOMString src;
346 attribute DOMString type;
347 attribute DOMString width;
348 attribute DOMString height;
350 legacycaller any (any... arguments);
351
352 // also has obsolete members
353};
354
356 attribute DOMString data;
357 attribute DOMString type;
358 attribute boolean typeMustMatch;
359 attribute DOMString name;
360 attribute DOMString useMap;
361 readonly attribute HTMLFormElement? form;
362 attribute DOMString width;
363 attribute DOMString height;
364 readonly attribute Document? contentDocument;
365 readonly attribute WindowProxy? contentWindow;
367
368 readonly attribute boolean willValidate;
369 readonly attribute ValidityState validity;
370 readonly attribute DOMString validationMessage;
371 boolean checkValidity();
372 boolean reportValidity();
373 void setCustomValidity(DOMString error);
374
375 legacycaller any (any... arguments);
376
377 // also has obsolete members
378};
379
381 attribute DOMString name;
382 attribute DOMString value;
383
384 // also has obsolete members
385};
386
388 attribute unsigned long width;
389 attribute unsigned long height;
390 readonly attribute unsigned long videoWidth;
391 readonly attribute unsigned long videoHeight;
392 attribute DOMString poster;
393};
394
395[NamedConstructor=Audio(optional DOMString src)]
397
398interface HTMLSourceElement : HTMLElement {
399 attribute DOMString src;
400 attribute DOMString type;
401
402 // also has obsolete members
403};
404
406 attribute DOMString kind;
407 attribute DOMString src;
408 attribute DOMString srclang;
409 attribute DOMString label;
410 attribute boolean default;
411
412 const unsigned short NONE = 0;
413 const unsigned short LOADING = 1;
414 const unsigned short LOADED = 2;
415 const unsigned short ERROR = 3;
416 readonly attribute unsigned short readyState;
417
418 readonly attribute TextTrack track;
419};
420
421enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
422typedef (MediaStream or MediaSource or Blob) MediaProvider;
424
425 // error state
426 readonly attribute MediaError? error;
427
428 // network state
429 attribute DOMString src;
430 attribute MediaProvider? srcObject;
431 readonly attribute DOMString currentSrc;
432 attribute DOMString? crossOrigin;
433 const unsigned short NETWORK_EMPTY = 0;
434 const unsigned short NETWORK_IDLE = 1;
435 const unsigned short NETWORK_LOADING = 2;
436 const unsigned short NETWORK_NO_SOURCE = 3;
437 readonly attribute unsigned short networkState;
438 attribute DOMString preload;
439 readonly attribute TimeRanges buffered;
440 void load();
442
443 // ready state
444 const unsigned short HAVE_NOTHING = 0;
445 const unsigned short HAVE_METADATA = 1;
446 const unsigned short HAVE_CURRENT_DATA = 2;
447 const unsigned short HAVE_FUTURE_DATA = 3;
448 const unsigned short HAVE_ENOUGH_DATA = 4;
449 readonly attribute unsigned short readyState;
450 readonly attribute boolean seeking;
451
452 // playback state
453 attribute double currentTime;
454 void fastSeek(double time);
455 readonly attribute unrestricted double duration;
457 readonly attribute boolean paused;
458 attribute double defaultPlaybackRate;
459 attribute double playbackRate;
460 readonly attribute TimeRanges played;
461 readonly attribute TimeRanges seekable;
462 readonly attribute boolean ended;
463 attribute boolean autoplay;
464 attribute boolean loop;
465 void play();
466 void pause();
467
468 // media controller
469 attribute DOMString mediaGroup;
471
472 // controls
473 attribute boolean controls;
474 attribute double volume;
475 attribute boolean muted;
476 attribute boolean defaultMuted;
477
478 // tracks
479 [SameObject] readonly attribute AudioTrackList audioTracks;
480 [SameObject] readonly attribute VideoTrackList videoTracks;
481 [SameObject] readonly attribute TextTrackList textTracks;
482 TextTrack addTextTrack(TextTrackKind kind, optional DOMString label = "", optional DOMString language = "");
483};
484
485interface MediaError {
486 const unsigned short MEDIA_ERR_ABORTED = 1;
487 const unsigned short MEDIA_ERR_NETWORK = 2;
488 const unsigned short MEDIA_ERR_DECODE = 3;
489 const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
490 readonly attribute unsigned short code;
491};
492
494 readonly attribute unsigned long length;
495 getter AudioTrack (unsigned long index);
496 AudioTrack? getTrackById(DOMString id);
497
501};
502
503interface AudioTrack {
504 readonly attribute DOMString id;
505 readonly attribute DOMString kind;
506 readonly attribute DOMString label;
507 readonly attribute DOMString language;
508 attribute boolean enabled;
509};
510
512 readonly attribute unsigned long length;
513 getter VideoTrack (unsigned long index);
514 VideoTrack? getTrackById(DOMString id);
515 readonly attribute long selectedIndex;
516
520};
521
522interface VideoTrack {
523 readonly attribute DOMString id;
524 readonly attribute DOMString kind;
525 readonly attribute DOMString label;
526 readonly attribute DOMString language;
527 attribute boolean selected;
528};
529
530enum MediaControllerPlaybackState { "waiting", "playing", "ended" };
531[Constructor]
533 readonly attribute unsigned short readyState; // uses HTMLMediaElement.readyState's values
534
535 readonly attribute TimeRanges buffered;
536 readonly attribute TimeRanges seekable;
537 readonly attribute unrestricted double duration;
538 attribute double currentTime;
539
540 readonly attribute boolean paused;
542 readonly attribute TimeRanges played;
543 void pause();
544 void unpause();
545 void play(); // calls play() on all media elements as well
546
547 attribute double defaultPlaybackRate;
548 attribute double playbackRate;
549
550 attribute double volume;
551 attribute boolean muted;
552
561
568};
569
571 readonly attribute unsigned long length;
572 getter TextTrack (unsigned long index);
573 TextTrack? getTrackById(DOMString id);
574
578};
579
580enum TextTrackMode { "disabled", "hidden", "showing" };
581enum TextTrackKind { "subtitles", "captions", "descriptions", "chapters", "metadata" };
583 readonly attribute TextTrackKind kind;
584 readonly attribute DOMString label;
585 readonly attribute DOMString language;
586
587 readonly attribute DOMString id;
588 readonly attribute DOMString inBandMetadataTrackDispatchType;
589
591
592 readonly attribute TextTrackCueList? cues;
593 readonly attribute TextTrackCueList? activeCues;
594
597
599};
600
602 readonly attribute unsigned long length;
603 getter TextTrackCue (unsigned long index);
604 TextTrackCue? getCueById(DOMString id);
605};
606
608 readonly attribute TextTrack? track;
609
610 attribute DOMString id;
611 attribute double startTime;
612 attribute double endTime;
613 attribute boolean pauseOnExit;
614
617};
618
619interface TimeRanges {
620 readonly attribute unsigned long length;
621 double start(unsigned long index);
622 double end(unsigned long index);
623};
624
625[Constructor(DOMString type, optional TrackEventInit eventInitDict)]
626interface TrackEvent : Event {
627 readonly attribute (VideoTrack or AudioTrack or TextTrack)? track;
628};
629
631 (VideoTrack or AudioTrack or TextTrack)? track;
632};
633
635 attribute DOMString name;
636 readonly attribute HTMLCollection areas;
637 readonly attribute HTMLCollection images;
638};
639
641 attribute DOMString alt;
642 attribute DOMString coords;
643 attribute DOMString shape;
644 attribute DOMString target;
645 attribute DOMString download;
646 [PutForwards=value] attribute DOMSettableTokenList ping;
647 attribute DOMString rel;
648 readonly attribute DOMTokenList relList;
649 attribute DOMString hreflang;
650 attribute DOMString type;
651
652 // also has obsolete members
653};
654HTMLAreaElement implements URLUtils;
655
666 readonly attribute HTMLCollection tBodies;
668 readonly attribute HTMLCollection rows;
669 HTMLElement insertRow(optional long index = -1);
670 void deleteRow(long index);
671 attribute boolean sortable;
673
674 // also has obsolete members
675};
676
678 // also has obsolete members
679};
680
682 attribute unsigned long span;
683
684 // also has obsolete members
685};
686
688 readonly attribute HTMLCollection rows;
689 HTMLElement insertRow(optional long index = -1);
690 void deleteRow(long index);
691
692 // also has obsolete members
693};
694
696 readonly attribute long rowIndex;
697 readonly attribute long sectionRowIndex;
698 readonly attribute HTMLCollection cells;
699 HTMLElement insertCell(optional long index = -1);
700 void deleteCell(long index);
701
702 // also has obsolete members
703};
704
706 // also has obsolete members
707};
708
710 attribute DOMString scope;
711 attribute DOMString abbr;
712 attribute DOMString sorted;
713 void sort();
714};
715
717 attribute unsigned long colSpan;
718 attribute unsigned long rowSpan;
719 [PutForwards=value] readonly attribute DOMSettableTokenList headers;
720 readonly attribute long cellIndex;
721
722 // also has obsolete members
723};
724
725[OverrideBuiltins]
727 attribute DOMString acceptCharset;
728 attribute DOMString action;
729 attribute DOMString autocomplete;
730 attribute DOMString enctype;
731 attribute DOMString encoding;
732 attribute DOMString method;
733 attribute DOMString name;
734 attribute boolean noValidate;
735 attribute DOMString target;
736
738 readonly attribute long length;
739 getter Element (unsigned long index);
741
742 void submit();
743 void reset();
744 boolean checkValidity();
745 boolean reportValidity();
746
748};
749
751 readonly attribute HTMLFormElement? form;
752 attribute DOMString htmlFor;
753 readonly attribute HTMLElement? control;
754};
755
757 attribute DOMString accept;
758 attribute DOMString alt;
759 attribute DOMString autocomplete;
760 attribute boolean autofocus;
761 attribute boolean defaultChecked;
762 attribute boolean checked;
763 attribute DOMString dirName;
764 attribute boolean disabled;
765 readonly attribute HTMLFormElement? form;
766 readonly attribute FileList? files;
767 attribute DOMString formAction;
768 attribute DOMString formEnctype;
769 attribute DOMString formMethod;
770 attribute boolean formNoValidate;
771 attribute DOMString formTarget;
772 attribute unsigned long height;
773 attribute boolean indeterminate;
774 attribute DOMString inputMode;
775 readonly attribute HTMLElement? list;
776 attribute DOMString max;
777 attribute long maxLength;
778 attribute DOMString min;
779 attribute long minLength;
780 attribute boolean multiple;
781 attribute DOMString name;
782 attribute DOMString pattern;
783 attribute DOMString placeholder;
784 attribute boolean readOnly;
785 attribute boolean required;
786 attribute unsigned long size;
787 attribute DOMString src;
788 attribute DOMString step;
789 attribute DOMString type;
790 attribute DOMString defaultValue;
791 [TreatNullAs=EmptyString] attribute DOMString value;
792 attribute Date? valueAsDate;
793 attribute unrestricted double valueAsNumber;
794 attribute double valueLow;
795 attribute double valueHigh;
796 attribute unsigned long width;
797
798 void stepUp(optional long n = 1);
799 void stepDown(optional long n = 1);
800
801 readonly attribute boolean willValidate;
802 readonly attribute ValidityState validity;
803 readonly attribute DOMString validationMessage;
804 boolean checkValidity();
805 boolean reportValidity();
806 void setCustomValidity(DOMString error);
807
808 readonly attribute NodeList labels;
809
810 void select();
811 attribute unsigned long selectionStart;
812 attribute unsigned long selectionEnd;
813 attribute DOMString selectionDirection;
814 void setRangeText(DOMString replacement);
815 void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
816 void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
817
818 // also has obsolete members
819};
820
822 attribute boolean autofocus;
823 attribute boolean disabled;
824 readonly attribute HTMLFormElement? form;
825 attribute DOMString formAction;
826 attribute DOMString formEnctype;
827 attribute DOMString formMethod;
828 attribute boolean formNoValidate;
829 attribute DOMString formTarget;
830 attribute DOMString name;
831 attribute DOMString type;
832 attribute DOMString value;
834
835 readonly attribute boolean willValidate;
836 readonly attribute ValidityState validity;
837 readonly attribute DOMString validationMessage;
838 boolean checkValidity();
839 boolean reportValidity();
840 void setCustomValidity(DOMString error);
841
842 readonly attribute NodeList labels;
843};
844
846 attribute DOMString autocomplete;
847 attribute boolean autofocus;
848 attribute boolean disabled;
849 readonly attribute HTMLFormElement? form;
850 attribute boolean multiple;
851 attribute DOMString name;
852 attribute boolean required;
853 attribute unsigned long size;
854
855 readonly attribute DOMString type;
856
857 readonly attribute HTMLOptionsCollection options;
858 attribute unsigned long length;
859 getter Element? item(unsigned long index);
861 void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
862 void remove(); // ChildNode overload
863 void remove(long index);
864 setter creator void (unsigned long index, HTMLOptionElement? option);
865
866 readonly attribute HTMLCollection selectedOptions;
867 attribute long selectedIndex;
868 attribute DOMString value;
869
870 readonly attribute boolean willValidate;
871 readonly attribute ValidityState validity;
872 readonly attribute DOMString validationMessage;
873 boolean checkValidity();
874 boolean reportValidity();
875 void setCustomValidity(DOMString error);
876
877 readonly attribute NodeList labels;
878};
879
881 readonly attribute HTMLCollection options;
882};
883
885 attribute boolean disabled;
886 attribute DOMString label;
887};
888
889[NamedConstructor=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
891 attribute boolean disabled;
892 readonly attribute HTMLFormElement? form;
893 attribute DOMString label;
894 attribute boolean defaultSelected;
895 attribute boolean selected;
896 attribute DOMString value;
897
898 attribute DOMString text;
899 readonly attribute long index;
900};
901
903 attribute DOMString autocomplete;
904 attribute boolean autofocus;
905 attribute unsigned long cols;
906 attribute DOMString dirName;
907 attribute boolean disabled;
908 readonly attribute HTMLFormElement? form;
909 attribute DOMString inputMode;
910 attribute long maxLength;
911 attribute long minLength;
912 attribute DOMString name;
913 attribute DOMString placeholder;
914 attribute boolean readOnly;
915 attribute boolean required;
916 attribute unsigned long rows;
917 attribute DOMString wrap;
918
919 readonly attribute DOMString type;
920 attribute DOMString defaultValue;
921 [TreatNullAs=EmptyString] attribute DOMString value;
922 readonly attribute unsigned long textLength;
923
924 readonly attribute boolean willValidate;
925 readonly attribute ValidityState validity;
926 readonly attribute DOMString validationMessage;
927 boolean checkValidity();
928 boolean reportValidity();
929 void setCustomValidity(DOMString error);
930
931 readonly attribute NodeList labels;
932
933 void select();
934 attribute unsigned long selectionStart;
935 attribute unsigned long selectionEnd;
936 attribute DOMString selectionDirection;
937 void setRangeText(DOMString replacement);
938 void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
939 void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
940};
941
943 attribute boolean autofocus;
944 attribute DOMString challenge;
945 attribute boolean disabled;
946 readonly attribute HTMLFormElement? form;
947 attribute DOMString keytype;
948 attribute DOMString name;
949
950 readonly attribute DOMString type;
951
952 readonly attribute boolean willValidate;
953 readonly attribute ValidityState validity;
954 readonly attribute DOMString validationMessage;
955 boolean checkValidity();
956 boolean reportValidity();
957 void setCustomValidity(DOMString error);
958
959 readonly attribute NodeList labels;
960};
961
963 [PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
964 readonly attribute HTMLFormElement? form;
965 attribute DOMString name;
966
967 readonly attribute DOMString type;
968 attribute DOMString defaultValue;
969 attribute DOMString value;
970
971 readonly attribute boolean willValidate;
972 readonly attribute ValidityState validity;
973 readonly attribute DOMString validationMessage;
974 boolean checkValidity();
975 boolean reportValidity();
976 void setCustomValidity(DOMString error);
977
978 readonly attribute NodeList labels;
979};
980
982 attribute double value;
983 attribute double max;
984 readonly attribute double position;
985 readonly attribute NodeList labels;
986};
987
989 attribute double value;
990 attribute double min;
991 attribute double max;
992 attribute double low;
993 attribute double high;
994 attribute double optimum;
995 readonly attribute NodeList labels;
996};
997
999 attribute boolean disabled;
1000 readonly attribute HTMLFormElement? form;
1001 attribute DOMString name;
1002
1003 readonly attribute DOMString type;
1004
1006
1007 readonly attribute boolean willValidate;
1008 [SameObject] readonly attribute ValidityState validity;
1009 readonly attribute DOMString validationMessage;
1010 boolean checkValidity();
1012 void setCustomValidity(DOMString error);
1013};
1014
1016 readonly attribute HTMLFormElement? form;
1017
1018 // also has obsolete members
1019};
1020
1021enum AutocompleteErrorReason { "" /* empty string */, "cancel", "disabled", "invalid" };
1022
1023[Constructor(DOMString type, optional AutocompleteErrorEventInit eventInitDict)]
1026};
1027
1030};
1031
1033 "select",
1034 "start",
1035 "end",
1036 "preserve", // default
1037};
1038
1039interface ValidityState {
1040 readonly attribute boolean valueMissing;
1041 readonly attribute boolean typeMismatch;
1042 readonly attribute boolean patternMismatch;
1043 readonly attribute boolean tooLong;
1044 readonly attribute boolean tooShort;
1045 readonly attribute boolean rangeUnderflow;
1046 readonly attribute boolean rangeOverflow;
1047 readonly attribute boolean stepMismatch;
1048 readonly attribute boolean badInput;
1049 readonly attribute boolean customError;
1050 readonly attribute boolean valid;
1051};
1052
1054 attribute boolean open;
1055};
1056
1058 attribute DOMString type;
1059 attribute DOMString label;
1060
1061 // also has obsolete members
1062};
1063
1065 attribute DOMString type;
1066 attribute DOMString label;
1067 attribute DOMString icon;
1068 attribute boolean disabled;
1069 attribute boolean checked;
1070 attribute DOMString radiogroup;
1071 attribute boolean default;
1072 readonly attribute HTMLElement? command;
1073};
1074
1075[Constructor(DOMString type, optional RelatedEventInit eventInitDict)]
1076interface RelatedEvent : Event {
1077 readonly attribute EventTarget? relatedTarget;
1078};
1079
1082};
1083
1085 attribute boolean open;
1086 attribute DOMString returnValue;
1087 void show(optional (MouseEvent or Element) anchor);
1088 void showModal(optional (MouseEvent or Element) anchor);
1089 void close(optional DOMString returnValue);
1090};
1091
1093 attribute DOMString src;
1094 attribute DOMString type;
1095 attribute DOMString charset;
1096 attribute boolean async;
1097 attribute boolean defer;
1098 attribute DOMString? crossOrigin;
1099 attribute DOMString text;
1100
1101 // also has obsolete members
1102};
1103
1105 readonly attribute DocumentFragment content;
1106};
1107
1108typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
1109
1111 attribute unsigned long width;
1112 attribute unsigned long height;
1113
1114 RenderingContext? getContext(DOMString contextId, any... arguments);
1115 boolean probablySupportsContext(DOMString contextId, any... arguments);
1116
1117 void setContext(RenderingContext context);
1119
1120 DOMString toDataURL(optional DOMString type, any... arguments);
1121 void toBlob(FileCallback? _callback, optional DOMString type, any... arguments);
1122};
1123
1125interface CanvasProxy {
1126 void setContext(RenderingContext context);
1127};
1128// CanvasProxy implements Transferable;
1129
1134 ImageBitmap) CanvasImageSource;
1135
1136enum CanvasFillRule { "nonzero", "evenodd" };
1137
1139 boolean alpha = true;
1140};
1141
1142[Constructor(),
1143 Constructor(unsigned long width, unsigned long height),
1146
1147 // back-reference to the canvas
1148 readonly attribute HTMLCanvasElement canvas;
1149
1150 // canvas dimensions
1151 attribute unsigned long width;
1152 attribute unsigned long height;
1153
1154 // for contexts that aren't directly fixed to a specific canvas
1155 void commit(); // push the image to the output bitmap
1156
1157 // state
1158 void save(); // push state on state stack
1159 void restore(); // pop state stack and restore state
1160
1161 // transformations (default transform is the identity matrix)
1162 attribute SVGMatrix currentTransform;
1163 void scale(unrestricted double x, unrestricted double y);
1164 void rotate(unrestricted double angle);
1165 void translate(unrestricted double x, unrestricted double y);
1166 void transform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
1167 void setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f);
1169
1170 // compositing
1171 attribute unrestricted double globalAlpha; // (default 1.0)
1172 attribute DOMString globalCompositeOperation; // (default source-over)
1173
1174 // image smoothing
1175 attribute boolean imageSmoothingEnabled; // (default true)
1176
1177 // colours and styles (see also the CanvasDrawingStyles interface)
1178 attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (default black)
1179 attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (default black)
1180 CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1);
1181 CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
1182 CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
1183
1184 // shadows
1185 attribute unrestricted double shadowOffsetX; // (default 0)
1186 attribute unrestricted double shadowOffsetY; // (default 0)
1187 attribute unrestricted double shadowBlur; // (default 0)
1188 attribute DOMString shadowColor; // (default transparent black)
1189
1190 // rects
1191 void clearRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1192 void fillRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1193 void strokeRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1194
1195 // path API (see also CanvasPathMethods)
1197 void fill(optional CanvasFillRule fillRule = "nonzero");
1198 void fill(Path2D path, optional CanvasFillRule fillRule = "nonzero");
1199 void stroke();
1200 void stroke(Path2D path);
1202 void drawFocusIfNeeded(Path2D path, Element element);
1204 void scrollPathIntoView(Path2D path);
1205 void clip(optional CanvasFillRule fillRule = "nonzero");
1206 void clip(Path2D path, optional CanvasFillRule fillRule = "nonzero");
1208 boolean isPointInPath(unrestricted double x, unrestricted double y, optional CanvasFillRule fillRule = "nonzero");
1209 boolean isPointInPath(Path2D path, unrestricted double x, unrestricted double y, optional CanvasFillRule fillRule = "nonzero");
1210 boolean isPointInStroke(unrestricted double x, unrestricted double y);
1211 boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y);
1212
1213 // text (see also the CanvasDrawingStyles interface)
1214 void fillText(DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
1215 void strokeText(DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
1216 TextMetrics measureText(DOMString text);
1217
1218 // drawing images
1219 void drawImage(CanvasImageSource image, unrestricted double dx, unrestricted double dy);
1220 void drawImage(CanvasImageSource image, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh);
1221 void drawImage(CanvasImageSource image, unrestricted double sx, unrestricted double sy, unrestricted double sw, unrestricted double sh, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh);
1222
1223 // hit regions
1225 void removeHitRegion(DOMString id);
1227
1228 // pixel manipulation
1229 ImageData createImageData(double sw, double sh);
1231 ImageData getImageData(double sx, double sy, double sw, double sh);
1232 void putImageData(ImageData imagedata, double dx, double dy);
1233 void putImageData(ImageData imagedata, double dx, double dy, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight);
1234};
1237
1238[NoInterfaceObject, Exposed=(Window,Worker)]
1240 // line caps/joins
1241 attribute unrestricted double lineWidth; // (default 1)
1242 attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
1243 attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
1244 attribute unrestricted double miterLimit; // (default 10)
1245
1246 // dashed lines
1247 void setLineDash(sequence<unrestricted double> segments); // default empty
1248 sequence<unrestricted double> getLineDash();
1249 attribute unrestricted double lineDashOffset;
1250
1251 // text
1252 attribute DOMString font; // (default 10px sans-serif)
1253 attribute DOMString textAlign; // "start", "end", "left", "right", "center" (default: "start")
1254 attribute DOMString textBaseline; // "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" (default: "alphabetic")
1255 attribute DOMString direction; // "ltr", "rtl", "inherit" (default: "inherit")
1256};
1257
1258[NoInterfaceObject, Exposed=(Window,Worker)]
1260 // shared path API methods
1262 void moveTo(unrestricted double x, unrestricted double y);
1263 void lineTo(unrestricted double x, unrestricted double y);
1264 void quadraticCurveTo(unrestricted double cpx, unrestricted double cpy, unrestricted double x, unrestricted double y);
1265 void bezierCurveTo(unrestricted double cp1x, unrestricted double cp1y, unrestricted double cp2x, unrestricted double cp2y, unrestricted double x, unrestricted double y);
1266 void arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radius);
1267 void arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation);
1268 void rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1269 void arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false);
1270 void ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false);
1271};
1272
1275 // opaque object
1276 void addColorStop(double offset, DOMString color);
1277};
1278
1280interface CanvasPattern {
1281 // opaque object
1282 void setTransform(SVGMatrix transform);
1283};
1284
1286interface TextMetrics {
1287 // x-direction
1288 readonly attribute double width; // advance width
1289 readonly attribute double actualBoundingBoxLeft;
1290 readonly attribute double actualBoundingBoxRight;
1291
1292 // y-direction
1293 readonly attribute double fontBoundingBoxAscent;
1294 readonly attribute double fontBoundingBoxDescent;
1295 readonly attribute double actualBoundingBoxAscent;
1296 readonly attribute double actualBoundingBoxDescent;
1297 readonly attribute double emHeightAscent;
1298 readonly attribute double emHeightDescent;
1299 readonly attribute double hangingBaseline;
1300 readonly attribute double alphabeticBaseline;
1301 readonly attribute double ideographicBaseline;
1302};
1303
1305 Path2D? path = null;
1307 DOMString id = "";
1308 DOMString? parentID = null;
1309 DOMString cursor = "inherit";
1310 // for control-backed regions:
1312 // for unbacked regions:
1313 DOMString? label = null;
1314 DOMString? role = null;
1315};
1316
1317[Constructor(unsigned long sw, unsigned long sh),
1318 Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh),
1320interface ImageData {
1321 readonly attribute unsigned long width;
1322 readonly attribute unsigned long height;
1323 readonly attribute Uint8ClampedArray data;
1324};
1325
1326[Constructor(optional Element scope), Exposed=(Window,Worker)]
1327interface DrawingStyle { };
1329
1330[Constructor,
1331 Constructor(Path2D path),
1332 Constructor(Path2D[] paths, optional CanvasFillRule fillRule = "nonzero"),
1333 Constructor(DOMString d), Exposed=(Window,Worker)]
1334interface Path2D {
1335 void addPath(Path2D path, optional SVGMatrix? transformation = null);
1336 void addPathByStrokingPath(Path2D path, CanvasDrawingStyles styles, optional SVGMatrix? transformation = null);
1337 void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
1338 void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
1339 void addText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path2D path, optional unrestricted double maxWidth);
1340 void addPathByStrokingText(DOMString text, CanvasDrawingStyles styles, SVGMatrix? transformation, Path2D path, optional unrestricted double maxWidth);
1341};
1342Path2D implements CanvasPathMethods;
1343
1344partial interface MouseEvent {
1345 readonly attribute DOMString? region;
1346};
1347
1348partial dictionary MouseEventInit {
1349 DOMString? region;
1350};
1351
1352partial interface Touch {
1353 readonly attribute DOMString? region;
1354};
1355
1356[NoInterfaceObject]
1358 attribute DOMString contentEditable;
1359 readonly attribute boolean isContentEditable;
1360};
1361
1362interface DataTransfer {
1363 attribute DOMString dropEffect;
1364 attribute DOMString effectAllowed;
1365
1366 [SameObject] readonly attribute DataTransferItemList items;
1367
1368 void setDragImage(Element image, long x, long y);
1369
1370 /* old interface */
1371 [SameObject] readonly attribute DOMString[] types;
1372 DOMString getData(DOMString format);
1373 void setData(DOMString format, DOMString data);
1374 void clearData(optional DOMString format);
1375 [SameObject] readonly attribute FileList files;
1376};
1377
1379 readonly attribute unsigned long length;
1380 getter DataTransferItem (unsigned long index);
1381 DataTransferItem? add(DOMString data, DOMString type);
1383 void remove(unsigned long index);
1384 void clear();
1385};
1386
1388 readonly attribute DOMString kind;
1389 readonly attribute DOMString type;
1391 File? getAsFile();
1392};
1393
1394callback FunctionStringCallback = void (DOMString data);
1395
1396[Constructor(DOMString type, optional DragEventInit eventInitDict)]
1398 readonly attribute DataTransfer? dataTransfer;
1399};
1400
1402 DataTransfer? dataTransfer;
1403};
1404
1405[PrimaryGlobal]
1406/*sealed*/ interface Window : EventTarget {
1407 // the current browsing context
1408 [Unforgeable] readonly attribute WindowProxy window;
1409 [Replaceable] readonly attribute WindowProxy self;
1410 [Unforgeable] readonly attribute Document document;
1411 attribute DOMString name;
1412 [PutForwards=href, Unforgeable] readonly attribute Location location;
1413 readonly attribute History history;
1414 [Replaceable] readonly attribute BarProp locationbar;
1415 [Replaceable] readonly attribute BarProp menubar;
1416 [Replaceable] readonly attribute BarProp personalbar;
1417 [Replaceable] readonly attribute BarProp scrollbars;
1418 [Replaceable] readonly attribute BarProp statusbar;
1419 [Replaceable] readonly attribute BarProp toolbar;
1420 attribute DOMString status;
1421 void close();
1422 readonly attribute boolean closed;
1423 void stop();
1424 void focus();
1425 void blur();
1426
1427 // other browsing contexts
1428 [Replaceable] readonly attribute WindowProxy frames;
1429 [Replaceable] readonly attribute unsigned long length;
1430 [Unforgeable] readonly attribute WindowProxy top;
1431 attribute any opener;
1432 [Replaceable] readonly attribute WindowProxy parent;
1433 readonly attribute Element? frameElement;
1434 WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = "", optional boolean replace = false);
1435 getter WindowProxy (unsigned long index);
1436 getter object (DOMString name);
1437
1438 // the user agent
1439 readonly attribute Navigator navigator;
1440 [Replaceable, SameObject] readonly attribute External external;
1442
1443 // user prompts
1444 void alert();
1445 void alert(DOMString message);
1446 boolean confirm(optional DOMString message = "");
1447 DOMString? prompt(optional DOMString message = "", optional DOMString default = "");
1448 void print();
1449 any showModalDialog(DOMString url, optional any argument); // deprecated
1450
1451 long requestAnimationFrame(FrameRequestCallback callback);
1452 void cancelAnimationFrame(long handle);
1453
1454 void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
1455
1456 // also has obsolete members
1457};
1458Window implements GlobalEventHandlers;
1459Window implements WindowEventHandlers;
1460
1461interface BarProp {
1462 attribute boolean visible;
1463};
1464
1465interface History {
1466 readonly attribute long length;
1467 readonly attribute any state;
1468 void go(optional long delta);
1469 void back();
1470 void forward();
1471 void pushState(any data, DOMString title, optional DOMString? url = null);
1472 void replaceState(any data, DOMString title, optional DOMString? url = null);
1473};
1474
1475[Unforgeable] interface Location {
1476 void assign(DOMString url);
1477 void replace(DOMString url);
1478 void reload();
1479
1480 [SameObject] readonly attribute DOMString[] ancestorOrigins;
1481};
1482Location implements URLUtils;
1483
1484[Constructor(DOMString type, optional PopStateEventInit eventInitDict), Exposed=(Window,Worker)]
1486 readonly attribute any state;
1487};
1488
1490 any state;
1491};
1492
1493[Constructor(DOMString type, optional HashChangeEventInit eventInitDict), Exposed=(Window,Worker)]
1495 readonly attribute DOMString oldURL;
1496 readonly attribute DOMString newURL;
1497};
1498
1500 DOMString oldURL;
1501 DOMString newURL;
1502};
1503
1504[Constructor(DOMString type, optional PageTransitionEventInit eventInitDict), Exposed=(Window,Worker)]
1506 readonly attribute boolean persisted;
1507};
1508
1510 boolean persisted;
1511};
1512
1514 attribute DOMString returnValue;
1515};
1516
1519
1520 // update status
1521 const unsigned short UNCACHED = 0;
1522 const unsigned short IDLE = 1;
1523 const unsigned short CHECKING = 2;
1524 const unsigned short DOWNLOADING = 3;
1525 const unsigned short UPDATEREADY = 4;
1526 const unsigned short OBSOLETE = 5;
1527 readonly attribute unsigned short status;
1528
1529 // updates
1530 void update();
1531 void abort();
1533
1534 // events
1543};
1544
1545[NoInterfaceObject, Exposed=(Window,Worker)]
1547 readonly attribute boolean onLine;
1548};
1549
1550[Constructor(DOMString type, optional ErrorEventInit eventInitDict), Exposed=(Window,Worker)]
1551interface ErrorEvent : Event {
1552 readonly attribute DOMString message;
1553 readonly attribute DOMString filename;
1554 readonly attribute unsigned long lineno;
1555 readonly attribute unsigned long colno;
1556 readonly attribute any error;
1557};
1558
1560 DOMString message;
1561 DOMString filename;
1562 unsigned long lineno;
1563 unsigned long colno;
1565};
1566
1567[TreatNonObjectAsNull]
1568callback EventHandlerNonNull = any (Event event);
1570
1571[TreatNonObjectAsNull]
1572callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source, optional unsigned long lineno, optional unsigned long column, optional any error);
1574
1575[TreatNonObjectAsNull]
1576callback OnBeforeUnloadEventHandlerNonNull = DOMString? (Event event);
1578
1579[NoInterfaceObject]
1617 [LenientThis] attribute EventHandler onmouseenter;
1618 [LenientThis] attribute EventHandler onmouseleave;
1644};
1645
1646[NoInterfaceObject]
1661};
1662
1663[NoInterfaceObject, Exposed=(Window,Worker)]
1664interface WindowBase64 {
1665 DOMString btoa(DOMString btoa);
1666 DOMString atob(DOMString atob);
1667};
1669
1670[NoInterfaceObject, Exposed=(Window,Worker)]
1671interface WindowTimers {
1672 long setTimeout(Function handler, optional long timeout = 0, any... arguments);
1673 long setTimeout(DOMString handler, optional long timeout = 0, any... arguments);
1674 void clearTimeout(optional long handle = 0);
1675 long setInterval(Function handler, optional long timeout = 0, any... arguments);
1676 long setInterval(DOMString handler, optional long timeout = 0, any... arguments);
1677 void clearInterval(optional long handle = 0);
1678};
1680
1681[NoInterfaceObject]
1682interface WindowModal {
1683 readonly attribute any dialogArguments;
1684 attribute any returnValue;
1685};
1686
1687interface Navigator {
1688 // objects implementing this interface also implement the interfaces given below
1689};
1696
1697[NoInterfaceObject, Exposed=(Window,Worker)]
1698interface NavigatorID {
1699 readonly attribute DOMString appCodeName; // constant "Mozilla"
1700 readonly attribute DOMString appName;
1701 readonly attribute DOMString appVersion;
1702 readonly attribute DOMString platform;
1703 readonly attribute DOMString product; // constant "Gecko"
1704 boolean taintEnabled(); // constant false
1705 readonly attribute DOMString userAgent;
1706 readonly attribute DOMString vendorSub;
1707};
1708
1709[NoInterfaceObject, Exposed=(Window,Worker)]
1711 readonly attribute DOMString? language;
1712 readonly attribute DOMString[] languages;
1713};
1714
1715[NoInterfaceObject]
1717 // content handler registration
1718 void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
1719 void registerContentHandler(DOMString mimeType, DOMString url, DOMString title);
1720 DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
1721 DOMString isContentHandlerRegistered(DOMString mimeType, DOMString url);
1722 void unregisterProtocolHandler(DOMString scheme, DOMString url);
1723 void unregisterContentHandler(DOMString mimeType, DOMString url);
1724};
1725
1726[NoInterfaceObject]
1728 readonly attribute boolean cookieEnabled;
1730};
1731
1732[NoInterfaceObject]
1734 [SameObject] readonly attribute PluginArray plugins;
1735 [SameObject] readonly attribute MimeTypeArray mimeTypes;
1736 readonly attribute boolean javaEnabled;
1737};
1738
1739interface PluginArray {
1740 void refresh(optional boolean reload = false);
1741 readonly attribute unsigned long length;
1742 getter Plugin? item(unsigned long index);
1743 getter Plugin? namedItem(DOMString name);
1744};
1745
1746interface MimeTypeArray {
1747 readonly attribute unsigned long length;
1748 getter MimeType? item(unsigned long index);
1749 getter MimeType? namedItem(DOMString name);
1750};
1751
1752interface Plugin {
1753 readonly attribute DOMString name;
1754 readonly attribute DOMString description;
1755 readonly attribute DOMString filename;
1756 readonly attribute unsigned long length;
1757 getter MimeType? item(unsigned long index);
1758 getter MimeType? namedItem(DOMString name);
1759};
1760
1761interface MimeType {
1762 readonly attribute DOMString type;
1763 readonly attribute DOMString description;
1764 readonly attribute DOMString suffixes; // comma-separated
1765 readonly attribute Plugin enabledPlugin;
1766};
1767
1768interface External {
1769 void AddSearchProvider(DOMString engineURL);
1770 unsigned long IsSearchProviderInstalled(DOMString engineURL);
1771};
1772
1774interface ImageBitmap {
1775 readonly attribute unsigned long width;
1776 readonly attribute unsigned long height;
1777};
1778
1782 Blob or
1783 ImageData or
1785 ImageBitmap) ImageBitmapSource;
1786
1787[NoInterfaceObject, Exposed=(Window,Worker)]
1789 Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image);
1790 Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh);
1791};
1794
1795[Constructor(DOMString type, optional MessageEventInit eventInitDict), Exposed=(Window,Worker)]
1796interface MessageEvent : Event {
1797 readonly attribute any data;
1798 readonly attribute DOMString origin;
1799 readonly attribute DOMString lastEventId;
1800 readonly attribute (WindowProxy or MessagePort)? source;
1801 readonly attribute MessagePort[]? ports;
1802
1803 void initMessageEvent(DOMString typeArg, boolean canBubbleArg, boolean cancelableArg, any dataArg, DOMString originArg, DOMString lastEventIdArg, (WindowProxy or MessagePort) sourceArg, sequence<MessagePort>? portsArg);
1804};
1805
1807 any data;
1808 DOMString origin;
1809 DOMString lastEventId;
1810 (WindowProxy or MessagePort)? source;
1811 sequence<MessagePort> ports;
1812};
1813
1814[Constructor(DOMString url, optional EventSourceInit eventSourceInitDict), Exposed=(Window,Worker)]
1816 readonly attribute DOMString url;
1817 readonly attribute boolean withCredentials;
1818
1819 // ready state
1820 const unsigned short CONNECTING = 0;
1821 const unsigned short OPEN = 1;
1822 const unsigned short CLOSED = 2;
1823 readonly attribute unsigned short readyState;
1824
1825 // networking
1829 void close();
1830};
1831
1833 boolean withCredentials = false;
1834};
1835
1836enum BinaryType { "blob", "arraybuffer" };
1837[Constructor(DOMString url, optional (DOMString or DOMString[]) protocols), Exposed=(Window,Worker)]
1838interface WebSocket : EventTarget {
1839 readonly attribute DOMString url;
1840
1841 // ready state
1842 const unsigned short CONNECTING = 0;
1843 const unsigned short OPEN = 1;
1844 const unsigned short CLOSING = 2;
1845 const unsigned short CLOSED = 3;
1846 readonly attribute unsigned short readyState;
1847 readonly attribute unsigned long bufferedAmount;
1848
1849 // networking
1850 attribute EventHandler onopen;
1851 attribute EventHandler onerror;
1852 attribute EventHandler onclose;
1853 readonly attribute DOMString extensions;
1854 readonly attribute DOMString protocol;
1855 void close([Clamp] optional unsigned short code, optional USVString reason);
1856
1857 // messaging
1858 attribute EventHandler onmessage;
1859 attribute BinaryType binaryType;
1860 void send(USVString data);
1861 void send(Blob data);
1862 void send(ArrayBuffer data);
1863 void send(ArrayBufferView data);
1864};
1865
1866[Constructor(DOMString type, optional CloseEventInit eventInitDict), Exposed=(Window,Worker)]
1867interface CloseEvent : Event {
1868 readonly attribute boolean wasClean;
1869 readonly attribute unsigned short code;
1870 readonly attribute DOMString reason;
1871};
1872
1874 boolean wasClean;
1875 unsigned short code;
1876 DOMString reason;
1877};
1878
1879[Constructor, Exposed=(Window,Worker)]
1881 readonly attribute MessagePort port1;
1882 readonly attribute MessagePort port2;
1883};
1884
1887 void postMessage(any message, optional sequence<Transferable> transfer);
1888 void start();
1889 void close();
1890
1891 // event handlers
1893};
1894// MessagePort implements Transferable;
1895
1896[Constructor, Exposed=(Window,Worker)]
1898 void add(MessagePort port);
1899 void remove(MessagePort port);
1900 void clear();
1902};
1903
1905
1906[Constructor(DOMString channel), Exposed=(Window,Worker)]
1908 readonly attribute DOMString name;
1909 void postMessage(any message);
1910 void close();
1912};
1913
1916 readonly attribute WorkerGlobalScope self;
1917 readonly attribute WorkerLocation location;
1918
1919 void close();
1924
1925 // also has additional members in a partial interface
1926};
1927
1928[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
1930 void postMessage(any message, optional sequence<Transferable> transfer);
1932};
1933
1936 readonly attribute DOMString name;
1939};
1940
1941[NoInterfaceObject, Exposed=(Window,Worker)]
1944};
1945
1946[Constructor(DOMString scriptURL), Exposed=(Window,Worker)]
1947interface Worker : EventTarget {
1949
1950 void postMessage(any message, optional sequence<Transferable> transfer);
1952};
1954
1955[Constructor(DOMString scriptURL, optional DOMString name), Exposed=(Window,Worker)]
1957 readonly attribute MessagePort port;
1958};
1959SharedWorker implements AbstractWorker;
1960
1962partial interface WorkerGlobalScope { // not obsolete
1963 void importScripts(DOMString... urls);
1964 readonly attribute WorkerNavigator navigator;
1965};
1968
1970interface WorkerNavigator {};
1971WorkerNavigator implements NavigatorID;
1974
1976interface WorkerLocation { };
1978
1979interface Storage {
1980 readonly attribute unsigned long length;
1981 DOMString? key(unsigned long index);
1982 getter DOMString? getItem(DOMString key);
1983 setter creator void setItem(DOMString key, DOMString value);
1984 deleter void removeItem(DOMString key);
1985 void clear();
1986};
1987
1988[NoInterfaceObject]
1990 readonly attribute Storage sessionStorage;
1991};
1993
1994[NoInterfaceObject]
1996 readonly attribute Storage localStorage;
1997};
1999
2000[Constructor(DOMString type, optional StorageEventInit eventInitDict)]
2001interface StorageEvent : Event {
2002 readonly attribute DOMString? key;
2003 readonly attribute DOMString? oldValue;
2004 readonly attribute DOMString? newValue;
2005 readonly attribute DOMString url;
2006 readonly attribute Storage? storageArea;
2007};
2008
2010 DOMString? key;
2011 DOMString? oldValue;
2012 DOMString? newValue;
2013 DOMString url;
2015};
2016
2018 attribute DOMString align;
2019 attribute DOMString alt;
2020 attribute DOMString archive;
2021 attribute DOMString code;
2022 attribute DOMString codeBase;
2023 attribute DOMString height;
2024 attribute unsigned long hspace;
2025 attribute DOMString name;
2026 attribute DOMString _object; // the underscore is not part of the identifier
2027 attribute unsigned long vspace;
2028 attribute DOMString width;
2029};
2030
2032 attribute DOMString behavior;
2033 attribute DOMString bgColor;
2034 attribute DOMString direction;
2035 attribute DOMString height;
2036 attribute unsigned long hspace;
2037 attribute long loop;
2038 attribute unsigned long scrollAmount;
2039 attribute unsigned long scrollDelay;
2040 attribute boolean trueSpeed;
2041 attribute unsigned long vspace;
2042 attribute DOMString width;
2043
2047
2048 void start();
2049 void stop();
2050};
2051
2053 attribute DOMString cols;
2054 attribute DOMString rows;
2055};
2057
2059 attribute DOMString name;
2060 attribute DOMString scrolling;
2061 attribute DOMString src;
2062 attribute DOMString frameBorder;
2063 attribute DOMString longDesc;
2064 attribute boolean noResize;
2065 readonly attribute Document? contentDocument;
2066 readonly attribute WindowProxy? contentWindow;
2067
2068 [TreatNullAs=EmptyString] attribute DOMString marginHeight;
2069 [TreatNullAs=EmptyString] attribute DOMString marginWidth;
2070};
2071
2072partial interface HTMLAnchorElement {
2073 attribute DOMString coords;
2074 attribute DOMString charset;
2075 attribute DOMString name;
2076 attribute DOMString rev;
2077 attribute DOMString shape;
2078};
2079
2080partial interface HTMLAreaElement {
2081 attribute boolean noHref;
2082};
2083
2084partial interface HTMLBodyElement {
2085 [TreatNullAs=EmptyString] attribute DOMString text;
2086 [TreatNullAs=EmptyString] attribute DOMString link;
2087 [TreatNullAs=EmptyString] attribute DOMString vLink;
2088 [TreatNullAs=EmptyString] attribute DOMString aLink;
2089 [TreatNullAs=EmptyString] attribute DOMString bgColor;
2090 attribute DOMString background;
2091};
2092
2093partial interface HTMLBRElement {
2094 attribute DOMString clear;
2095};
2096
2097partial interface HTMLTableCaptionElement {
2098 attribute DOMString align;
2099};
2100
2101partial interface HTMLTableColElement {
2102 attribute DOMString align;
2103 attribute DOMString ch;
2104 attribute DOMString chOff;
2105 attribute DOMString vAlign;
2106 attribute DOMString width;
2107};
2108
2110 attribute boolean compact;
2111};
2112
2113partial interface HTMLDivElement {
2114 attribute DOMString align;
2115};
2116
2117partial interface HTMLDListElement {
2118 attribute boolean compact;
2119};
2120
2121partial interface HTMLEmbedElement {
2122 attribute DOMString align;
2123 attribute DOMString name;
2124};
2125
2127 [TreatNullAs=EmptyString] attribute DOMString color;
2128 attribute DOMString face;
2129 attribute DOMString size;
2130};
2131
2132partial interface HTMLHeadingElement {
2133 attribute DOMString align;
2134};
2135
2136partial interface HTMLHRElement {
2137 attribute DOMString align;
2138 attribute DOMString color;
2139 attribute boolean noShade;
2140 attribute DOMString size;
2141 attribute DOMString width;
2142};
2143
2144partial interface HTMLHtmlElement {
2145 attribute DOMString version;
2146};
2147
2148partial interface HTMLIFrameElement {
2149 attribute DOMString align;
2150 attribute DOMString scrolling;
2151 attribute DOMString frameBorder;
2152 attribute DOMString longDesc;
2153
2154 [TreatNullAs=EmptyString] attribute DOMString marginHeight;
2155 [TreatNullAs=EmptyString] attribute DOMString marginWidth;
2156};
2157
2158partial interface HTMLImageElement {
2159 attribute DOMString name;
2160 attribute DOMString lowsrc;
2161 attribute DOMString align;
2162 attribute unsigned long hspace;
2163 attribute unsigned long vspace;
2164 attribute DOMString longDesc;
2165
2166 [TreatNullAs=EmptyString] attribute DOMString border;
2167};
2168
2169partial interface HTMLInputElement {
2170 attribute DOMString align;
2171 attribute DOMString useMap;
2172};
2173
2174partial interface HTMLLegendElement {
2175 attribute DOMString align;
2176};
2177
2178partial interface HTMLLIElement {
2179 attribute DOMString type;
2180};
2181
2182partial interface HTMLLinkElement {
2183 attribute DOMString charset;
2184 attribute DOMString rev;
2185 attribute DOMString target;
2186};
2187
2188partial interface HTMLMenuElement {
2189 attribute boolean compact;
2190};
2191
2192partial interface HTMLMetaElement {
2193 attribute DOMString scheme;
2194};
2195
2196partial interface HTMLObjectElement {
2197 attribute DOMString align;
2198 attribute DOMString archive;
2199 attribute DOMString code;
2200 attribute boolean declare;
2201 attribute unsigned long hspace;
2202 attribute DOMString standby;
2203 attribute unsigned long vspace;
2204 attribute DOMString codeBase;
2205 attribute DOMString codeType;
2206
2207 [TreatNullAs=EmptyString] attribute DOMString border;
2208};
2209
2210partial interface HTMLOListElement {
2211 attribute boolean compact;
2212};
2213
2214partial interface HTMLParagraphElement {
2215 attribute DOMString align;
2216};
2217
2218partial interface HTMLParamElement {
2219 attribute DOMString type;
2220 attribute DOMString valueType;
2221};
2222
2223partial interface HTMLPreElement {
2224 attribute long width;
2225};
2226
2227partial interface HTMLScriptElement {
2228 attribute DOMString event;
2229 attribute DOMString htmlFor;
2230};
2231
2232partial interface HTMLTableElement {
2233 attribute DOMString align;
2234 attribute DOMString border;
2235 attribute DOMString frame;
2236 attribute DOMString rules;
2237 attribute DOMString summary;
2238 attribute DOMString width;
2239
2240 [TreatNullAs=EmptyString] attribute DOMString bgColor;
2241 [TreatNullAs=EmptyString] attribute DOMString cellPadding;
2242 [TreatNullAs=EmptyString] attribute DOMString cellSpacing;
2243};
2244
2245partial interface HTMLTableSectionElement {
2246 attribute DOMString align;
2247 attribute DOMString ch;
2248 attribute DOMString chOff;
2249 attribute DOMString vAlign;
2250};
2251
2252partial interface HTMLTableCellElement {
2253 attribute DOMString align;
2254 attribute DOMString axis;
2255 attribute DOMString height;
2256 attribute DOMString width;
2257
2258 attribute DOMString ch;
2259 attribute DOMString chOff;
2260 attribute boolean noWrap;
2261 attribute DOMString vAlign;
2262
2263 [TreatNullAs=EmptyString] attribute DOMString bgColor;
2264};
2265
2266partial interface HTMLTableDataCellElement {
2267 attribute DOMString abbr;
2268};
2269
2270partial interface HTMLTableRowElement {
2271 attribute DOMString align;
2272 attribute DOMString ch;
2273 attribute DOMString chOff;
2274 attribute DOMString vAlign;
2275
2276 [TreatNullAs=EmptyString] attribute DOMString bgColor;
2277};
2278
2279partial interface HTMLUListElement {
2280 attribute boolean compact;
2281 attribute DOMString type;
2282};
2283
2284partial interface Document {
2285 [TreatNullAs=EmptyString] attribute DOMString fgColor;
2286 [TreatNullAs=EmptyString] attribute DOMString linkColor;
2287 [TreatNullAs=EmptyString] attribute DOMString vlinkColor;
2288 [TreatNullAs=EmptyString] attribute DOMString alinkColor;
2289 [TreatNullAs=EmptyString] attribute DOMString bgColor;
2290
2291 readonly attribute HTMLCollection anchors;
2292 readonly attribute HTMLCollection applets;
2293
2294 void clear();
2297
2298 readonly attribute HTMLAllCollection all;
2299};
2300
2301partial interface Window {
2304};
2305
dictionary EventInit
Definition: dom.idl:33
DOMString lastEventId
Definition: html.idl:1809
partial dictionary MouseEventInit
Definition: html.idl:1348
DOMString parentID
Definition: html.idl:1308
Navigator implements NavigatorOnLine
Definition: html.idl:1692
dictionary MessageEventInit
Definition: html.idl:1807
Navigator implements NavigatorContentUtils
Definition: html.idl:1693
WorkerLocation implements URLUtilsReadOnly
Definition: html.idl:1977
DOMString url
Definition: html.idl:2013
Navigator implements NavigatorID
Definition: html.idl:1690
OnBeforeUnloadEventHandlerNonNull OnBeforeUnloadEventHandler
Definition: html.idl:1577
callback OnErrorEventHandlerNonNull
Definition: html.idl:1572
dictionary HitRegionOptions
Definition: html.idl:1304
DOMString label
Definition: html.idl:1313
unsigned long colno
Definition: html.idl:1563
CanvasRenderingContext2D implements CanvasPathMethods
Definition: html.idl:1236
Window implements ImageBitmapFactories
Definition: html.idl:1792
paths
Definition: html.idl:1332
dictionary RelatedEventInit
Definition: html.idl:1081
Window implements WindowLocalStorage
Definition: html.idl:1998
DOMString cursor
Definition: html.idl:1309
Element control
Definition: html.idl:1311
OnErrorEventHandlerNonNull OnErrorEventHandler
Definition: html.idl:1573
dictionary PopStateEventInit
Definition: html.idl:1490
Storage storageArea
Definition: html.idl:2014
dictionary TrackEventInit
Definition: html.idl:631
DocumentReadyState
Definition: html.idl:67
HTMLAnchorElement implements URLUtils
Definition: html.idl:280
callback FunctionStringCallback
Definition: html.idl:1394
HTMLElement implements ElementContentEditable
Definition: html.idl:167
HTMLBodyElement implements WindowEventHandlers
Definition: html.idl:219
CanvasFillRule
Definition: html.idl:1136
Navigator implements NavigatorLanguage
Definition: html.idl:1691
Worker implements AbstractWorker
Definition: html.idl:1953
dictionary HashChangeEventInit
Definition: html.idl:1500
SelectionMode
Definition: html.idl:1032
@ start
Definition: html.idl:1034
@ end
Definition: html.idl:1035
unsigned long lineno
Definition: html.idl:1562
dictionary EventSourceInit
Definition: html.idl:1832
TextTrackMode
Definition: html.idl:580
CanvasFillRule fillRule
Definition: html.idl:1306
Navigator implements NavigatorStorageUtils
Definition: html.idl:1694
BinaryType
Definition: html.idl:1836
dictionary CanvasRenderingContext2DSettings
Definition: html.idl:1138
Window implements WindowBase64
Definition: html.idl:1668
dictionary StorageEventInit
Definition: html.idl:2010
callback FileCallback
Definition: html.idl:65
callback PortCollectionCallback
Definition: html.idl:1904
dictionary ErrorEventInit
Definition: html.idl:1560
Exposed
Definition: html.idl:1837
DOMString role
Definition: html.idl:1314
WindowProxy or MessagePort source
Definition: html.idl:1810
CanPlayTypeResult
Definition: html.idl:421
any error
Definition: html.idl:1564
DOMString reason
Definition: html.idl:1876
Navigator implements NavigatorPlugins
Definition: html.idl:1695
dictionary PageTransitionEventInit
Definition: html.idl:1510
callback OnBeforeUnloadEventHandlerNonNull
Definition: html.idl:1576
dictionary DragEventInit
Definition: html.idl:1402
sequence< MessagePort > ports
Definition: html.idl:1811
Window implements WindowSessionStorage
Definition: html.idl:1992
HTMLLinkElement implements LinkStyle
Definition: html.idl:198
TextTrackKind
Definition: html.idl:581
AutocompleteErrorReason
Definition: html.idl:1021
dictionary AutocompleteErrorEventInit
Definition: html.idl:1029
unsigned short code
Definition: html.idl:1875
DOMString newURL
Definition: html.idl:1501
dictionary CloseEventInit
Definition: html.idl:1874
EventHandlerNonNull EventHandler
Definition: html.idl:1569
DOMString origin
Definition: html.idl:1808
DOMString newValue
Definition: html.idl:2012
Window implements WindowTimers
Definition: html.idl:1679
callback EventHandlerNonNull
Definition: html.idl:1568
MediaControllerPlaybackState
Definition: html.idl:530
DOMString filename
Definition: html.idl:1561
sequence< any > PropertyValueArray
Definition: html.idl:44
DOMString oldValue
Definition: html.idl:2011
CanvasRenderingContext2D implements CanvasDrawingStyles
Definition: html.idl:1235
Document implements GlobalEventHandlers
Definition: html.idl:121
protocols
Definition: html.idl:1837
attribute EventHandler onerror
Definition: html.idl:1943
readonly attribute unsigned short status
Definition: html.idl:1527
attribute EventHandler onprogress
Definition: html.idl:1539
attribute EventHandler oncached
Definition: html.idl:1541
attribute EventHandler onnoupdate
Definition: html.idl:1537
attribute EventHandler onupdateready
Definition: html.idl:1540
attribute EventHandler onchecking
Definition: html.idl:1535
attribute EventHandler onerror
Definition: html.idl:1536
attribute EventHandler ondownloading
Definition: html.idl:1538
attribute EventHandler onobsolete
Definition: html.idl:1542
getter AudioTrack(unsigned long index)
readonly attribute unsigned long length
Definition: html.idl:494
attribute EventHandler onchange
Definition: html.idl:498
AudioTrack getTrackById(DOMString id)
attribute EventHandler onremovetrack
Definition: html.idl:500
attribute EventHandler onaddtrack
Definition: html.idl:499
attribute boolean enabled
Definition: html.idl:508
readonly attribute DOMString kind
Definition: html.idl:505
readonly attribute DOMString id
Definition: html.idl:504
readonly attribute DOMString language
Definition: html.idl:507
readonly attribute DOMString label
Definition: html.idl:506
readonly attribute AutocompleteErrorReason reason
Definition: html.idl:1025
attribute boolean visible
Definition: html.idl:1462
attribute DOMString returnValue
Definition: html.idl:1514
attribute EventHandler onmessage
Definition: html.idl:1911
void postMessage(any message)
readonly attribute DOMString name
Definition: html.idl:1908
attribute DOMString font
Definition: html.idl:1252
attribute unrestricted double lineDashOffset
Definition: html.idl:1249
sequence< unrestricted double > getLineDash()
attribute DOMString textBaseline
Definition: html.idl:1254
attribute unrestricted double lineWidth
Definition: html.idl:1241
attribute DOMString lineCap
Definition: html.idl:1242
attribute DOMString direction
Definition: html.idl:1255
attribute DOMString textAlign
Definition: html.idl:1253
attribute DOMString lineJoin
Definition: html.idl:1243
attribute unrestricted double miterLimit
Definition: html.idl:1244
void setLineDash(sequence< unrestricted double > segments)
void addColorStop(double offset, DOMString color)
void arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radius)
void lineTo(unrestricted double x, unrestricted double y)
void bezierCurveTo(unrestricted double cp1x, unrestricted double cp1y, unrestricted double cp2x, unrestricted double cp2y, unrestricted double x, unrestricted double y)
void ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise=false)
void rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h)
void arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation)
void moveTo(unrestricted double x, unrestricted double y)
void arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise=false)
void quadraticCurveTo(unrestricted double cpx, unrestricted double cpy, unrestricted double x, unrestricted double y)
void setTransform(SVGMatrix transform)
void setContext(RenderingContext context)
void drawFocusIfNeeded(Path2D path, Element element)
boolean isPointInStroke(unrestricted double x, unrestricted double y)
void clip(Path2D path, optional CanvasFillRule fillRule="nonzero")
void stroke(Path2D path)
attribute unsigned long height
Definition: html.idl:1152
void scrollPathIntoView(Path2D path)
attribute(DOMString or CanvasGradient or CanvasPattern) fillStyle
void scale(unrestricted double x, unrestricted double y)
void translate(unrestricted double x, unrestricted double y)
void strokeRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h)
attribute unrestricted double globalAlpha
Definition: html.idl:1171
void removeHitRegion(DOMString id)
void clearRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h)
void putImageData(ImageData imagedata, double dx, double dy, double dirtyX, double dirtyY, double dirtyWidth, double dirtyHeight)
void drawImage(CanvasImageSource image, unrestricted double sx, unrestricted double sy, unrestricted double sw, unrestricted double sh, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh)
void fillRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h)
CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1)
void fill(optional CanvasFillRule fillRule="nonzero")
void rotate(unrestricted double angle)
boolean isPointInPath(Path2D path, unrestricted double x, unrestricted double y, optional CanvasFillRule fillRule="nonzero")
readonly attribute HTMLCanvasElement canvas
Definition: html.idl:1148
void fillText(DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth)
attribute DOMString shadowColor
Definition: html.idl:1188
ImageData createImageData(double sw, double sh)
attribute unsigned long width
Definition: html.idl:1151
attribute unrestricted double shadowOffsetX
Definition: html.idl:1185
CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1)
boolean isPointInPath(unrestricted double x, unrestricted double y, optional CanvasFillRule fillRule="nonzero")
attribute DOMString globalCompositeOperation
Definition: html.idl:1172
ImageData getImageData(double sx, double sy, double sw, double sh)
attribute unrestricted double shadowBlur
Definition: html.idl:1187
boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y)
CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition)
void putImageData(ImageData imagedata, double dx, double dy)
attribute boolean imageSmoothingEnabled
Definition: html.idl:1175
void drawImage(CanvasImageSource image, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh)
attribute(DOMString or CanvasGradient or CanvasPattern) strokeStyle
void drawFocusIfNeeded(Element element)
TextMetrics measureText(DOMString text)
void addHitRegion(optional HitRegionOptions options)
void drawImage(CanvasImageSource image, unrestricted double dx, unrestricted double dy)
void clip(optional CanvasFillRule fillRule="nonzero")
void setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f)
void transform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f)
void strokeText(DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth)
attribute unrestricted double shadowOffsetY
Definition: html.idl:1186
void fill(Path2D path, optional CanvasFillRule fillRule="nonzero")
attribute SVGMatrix currentTransform
Definition: html.idl:1162
ImageData createImageData(ImageData imagedata)
readonly attribute DOMString reason
Definition: html.idl:1870
readonly attribute unsigned short code
Definition: html.idl:1869
readonly attribute boolean wasClean
Definition: html.idl:1868
getter Element(DOMString name)
setter creator void(DOMString name, Element value)
deleter void(DOMString name)
setter creator void(DOMString name, DOMString value)
getter DOMString(DOMString name)
deleter void(DOMString name)
DataTransferItem add(DOMString data, DOMString type)
getter DataTransferItem(unsigned long index)
readonly attribute unsigned long length
Definition: html.idl:1379
DataTransferItem add(File data)
void getAsString(FunctionStringCallback? _callback)
readonly attribute DOMString kind
Definition: html.idl:1388
readonly attribute DOMString type
Definition: html.idl:1389
readonly attribute DOMString[] types
Definition: html.idl:1371
void setData(DOMString format, DOMString data)
attribute DOMString dropEffect
Definition: html.idl:1363
DOMString getData(DOMString format)
readonly attribute DataTransferItemList items
Definition: html.idl:1366
readonly attribute FileList files
Definition: html.idl:1375
attribute DOMString effectAllowed
Definition: html.idl:1364
void setDragImage(Element image, long x, long y)
void clearData(optional DOMString format)
attribute EventHandler onmessage
Definition: html.idl:1931
void postMessage(any message, optional sequence< Transferable > transfer)
readonly attribute DOMString referrer
Definition: html.idl:74
attribute DOMString title
Definition: html.idl:81
void captureEvents()
WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace=false)
readonly attribute HTMLCollection embeds
Definition: html.idl:86
boolean queryCommandSupported(DOMString commandId)
attribute DOMString vlinkColor
Definition: html.idl:2287
attribute DOMString fgColor
Definition: html.idl:2285
boolean queryCommandEnabled(DOMString commandId)
DOMString queryCommandValue(DOMString commandId)
boolean queryCommandState(DOMString commandId)
attribute DOMString designMode
Definition: html.idl:107
attribute DOMString alinkColor
Definition: html.idl:2288
boolean queryCommandIndeterm(DOMString commandId)
void clear()
readonly attribute HTMLCollection forms
Definition: html.idl:89
NodeList getItems(optional DOMString typeNames="")
void releaseEvents()
boolean hasFocus()
readonly attribute HTMLAllCollection all
Definition: html.idl:2298
readonly attribute HTMLCollection applets
Definition: html.idl:2292
readonly attribute HTMLCollection scripts
Definition: html.idl:90
readonly attribute HTMLCollection commands
Definition: html.idl:114
attribute DOMString domain
Definition: html.idl:73
NodeList getElementsByName(DOMString elementName)
void write(DOMString... text)
readonly attribute HTMLCollection links
Definition: html.idl:88
readonly attribute DocumentReadyState readyState
Definition: html.idl:77
readonly attribute DOMElementMap cssElementMap
Definition: html.idl:93
readonly attribute WindowProxy defaultView
Definition: html.idl:104
readonly attribute HTMLHeadElement head
Definition: html.idl:84
readonly attribute HTMLCollection anchors
Definition: html.idl:2291
Document open(optional DOMString type="text/html", optional DOMString replace="")
attribute DOMString bgColor
Definition: html.idl:2289
attribute EventHandler onreadystatechange
Definition: html.idl:117
attribute DOMString dir
Definition: html.idl:82
readonly attribute HTMLCollection images
Definition: html.idl:85
readonly attribute DOMString lastModified
Definition: html.idl:76
attribute DOMString cookie
Definition: html.idl:75
attribute DOMString linkColor
Definition: html.idl:2286
readonly attribute HTMLCollection plugins
Definition: html.idl:87
attribute HTMLElement body
Definition: html.idl:83
readonly attribute HTMLScriptElement currentScript
Definition: html.idl:94
getter object(DOMString name)
readonly attribute Element activeElement
Definition: html.idl:105
void close()
boolean execCommand(DOMString commandId, optional boolean showUI=false, optional DOMString value="")
void writeln(DOMString... text)
readonly attribute Location location
Definition: html.idl:72
readonly attribute DataTransfer dataTransfer
Definition: html.idl:1398
readonly attribute boolean isContentEditable
Definition: html.idl:1359
attribute DOMString contentEditable
Definition: html.idl:1358
Definition: dom.idl:281
readonly attribute any error
Definition: html.idl:1556
readonly attribute DOMString message
Definition: html.idl:1552
readonly attribute unsigned long lineno
Definition: html.idl:1554
readonly attribute unsigned long colno
Definition: html.idl:1555
readonly attribute DOMString filename
Definition: html.idl:1553
attribute EventHandler onopen
Definition: html.idl:1826
attribute EventHandler onmessage
Definition: html.idl:1827
void close()
readonly attribute unsigned short readyState
Definition: html.idl:1823
readonly attribute boolean withCredentials
Definition: html.idl:1817
readonly attribute DOMString url
Definition: html.idl:1816
attribute EventHandler onerror
Definition: html.idl:1828
Definition: dom.idl:8
void AddSearchProvider(DOMString engineURL)
unsigned long IsSearchProviderInstalled(DOMString engineURL)
attribute EventHandler onchange
Definition: html.idl:1588
attribute EventHandler onprogress
Definition: html.idl:1627
attribute EventHandler oncancel
Definition: html.idl:1585
attribute EventHandler onsuspend
Definition: html.idl:1639
attribute EventHandler oncontextmenu
Definition: html.idl:1591
attribute EventHandler onfocus
Definition: html.idl:1606
attribute EventHandler oninvalid
Definition: html.idl:1608
attribute EventHandler onstalled
Definition: html.idl:1637
attribute EventHandler onplaying
Definition: html.idl:1626
attribute EventHandler onmousewheel
Definition: html.idl:1623
attribute EventHandler onautocompleteerror
Definition: html.idl:1583
attribute EventHandler ontimeupdate
Definition: html.idl:1640
attribute EventHandler onsort
Definition: html.idl:1636
attribute EventHandler oninput
Definition: html.idl:1607
attribute OnErrorEventHandler onerror
Definition: html.idl:1605
attribute EventHandler ondragover
Definition: html.idl:1599
attribute EventHandler onvolumechange
Definition: html.idl:1642
attribute EventHandler onseeked
Definition: html.idl:1632
attribute EventHandler onabort
Definition: html.idl:1581
attribute EventHandler onautocomplete
Definition: html.idl:1582
attribute EventHandler ondrop
Definition: html.idl:1601
attribute EventHandler oncanplay
Definition: html.idl:1586
attribute EventHandler onresize
Definition: html.idl:1630
attribute EventHandler onmousedown
Definition: html.idl:1616
attribute EventHandler onloadstart
Definition: html.idl:1615
attribute EventHandler ondragexit
Definition: html.idl:1597
attribute EventHandler onload
Definition: html.idl:1612
attribute EventHandler onratechange
Definition: html.idl:1628
attribute EventHandler onsubmit
Definition: html.idl:1638
attribute EventHandler onkeyup
Definition: html.idl:1611
attribute EventHandler ondragenter
Definition: html.idl:1596
attribute EventHandler onshow
Definition: html.idl:1635
attribute EventHandler ondblclick
Definition: html.idl:1593
attribute EventHandler onclick
Definition: html.idl:1589
attribute EventHandler onkeydown
Definition: html.idl:1609
attribute EventHandler onmouseup
Definition: html.idl:1622
attribute EventHandler onmouseout
Definition: html.idl:1620
attribute EventHandler ondragleave
Definition: html.idl:1598
attribute EventHandler onseeking
Definition: html.idl:1633
attribute EventHandler onkeypress
Definition: html.idl:1610
attribute EventHandler onemptied
Definition: html.idl:1603
attribute EventHandler onwaiting
Definition: html.idl:1643
attribute EventHandler ondurationchange
Definition: html.idl:1602
attribute EventHandler onloadeddata
Definition: html.idl:1613
attribute EventHandler onreset
Definition: html.idl:1629
attribute EventHandler onblur
Definition: html.idl:1584
attribute EventHandler ondrag
Definition: html.idl:1594
attribute EventHandler ondragend
Definition: html.idl:1595
attribute EventHandler onmouseenter
Definition: html.idl:1617
attribute EventHandler onmousemove
Definition: html.idl:1619
attribute EventHandler onplay
Definition: html.idl:1625
attribute EventHandler onscroll
Definition: html.idl:1631
attribute EventHandler oncanplaythrough
Definition: html.idl:1587
attribute EventHandler ondragstart
Definition: html.idl:1600
attribute EventHandler oncuechange
Definition: html.idl:1592
attribute EventHandler onended
Definition: html.idl:1604
attribute EventHandler onmouseleave
Definition: html.idl:1618
attribute EventHandler onpause
Definition: html.idl:1624
attribute EventHandler ontoggle
Definition: html.idl:1641
attribute EventHandler onselect
Definition: html.idl:1634
attribute EventHandler onmouseover
Definition: html.idl:1621
attribute EventHandler onclose
Definition: html.idl:1590
attribute EventHandler onloadedmetadata
Definition: html.idl:1614
legacycaller getter(HTMLCollection or Element)? namedItem(DOMString name)
Element item(unsigned long index)
HTMLCollection or Element item(DOMString name)
attribute DOMString text
Definition: html.idl:276
attribute DOMString shape
Definition: html.idl:2077
attribute DOMString charset
Definition: html.idl:2074
attribute DOMString coords
Definition: html.idl:2073
attribute DOMString type
Definition: html.idl:274
attribute DOMString rel
Definition: html.idl:271
attribute DOMSettableTokenList ping
Definition: html.idl:270
attribute DOMString target
Definition: html.idl:268
attribute DOMString rev
Definition: html.idl:2076
attribute DOMString name
Definition: html.idl:2075
attribute DOMString hreflang
Definition: html.idl:273
readonly attribute DOMTokenList relList
Definition: html.idl:272
attribute DOMString download
Definition: html.idl:269
attribute DOMString name
Definition: html.idl:2025
attribute DOMString archive
Definition: html.idl:2020
attribute DOMString height
Definition: html.idl:2023
attribute DOMString _object
Definition: html.idl:2026
attribute unsigned long hspace
Definition: html.idl:2024
attribute DOMString code
Definition: html.idl:2021
attribute DOMString align
Definition: html.idl:2018
attribute DOMString alt
Definition: html.idl:2019
attribute unsigned long vspace
Definition: html.idl:2027
attribute DOMString width
Definition: html.idl:2028
attribute DOMString codeBase
Definition: html.idl:2022
attribute DOMString target
Definition: html.idl:644
attribute DOMString hreflang
Definition: html.idl:649
attribute DOMString coords
Definition: html.idl:642
attribute DOMString type
Definition: html.idl:650
attribute DOMString shape
Definition: html.idl:643
attribute boolean noHref
Definition: html.idl:2081
attribute DOMSettableTokenList ping
Definition: html.idl:646
attribute DOMString alt
Definition: html.idl:641
readonly attribute DOMTokenList relList
Definition: html.idl:648
attribute DOMString download
Definition: html.idl:645
attribute DOMString rel
Definition: html.idl:647
attribute DOMString clear
Definition: html.idl:2094
attribute DOMString target
Definition: html.idl:183
attribute DOMString href
Definition: html.idl:182
attribute DOMString vLink
Definition: html.idl:2087
attribute DOMString aLink
Definition: html.idl:2088
attribute DOMString link
Definition: html.idl:2086
attribute DOMString bgColor
Definition: html.idl:2089
attribute DOMString text
Definition: html.idl:2085
attribute DOMString background
Definition: html.idl:2090
attribute DOMString name
Definition: html.idl:830
readonly attribute DOMString validationMessage
Definition: html.idl:837
boolean checkValidity()
attribute DOMString formAction
Definition: html.idl:825
attribute DOMString value
Definition: html.idl:832
void setCustomValidity(DOMString error)
attribute boolean autofocus
Definition: html.idl:822
attribute boolean formNoValidate
Definition: html.idl:828
attribute DOMString formTarget
Definition: html.idl:829
readonly attribute NodeList labels
Definition: html.idl:842
attribute DOMString type
Definition: html.idl:831
attribute DOMString formMethod
Definition: html.idl:827
attribute boolean disabled
Definition: html.idl:823
readonly attribute HTMLFormElement form
Definition: html.idl:824
readonly attribute ValidityState validity
Definition: html.idl:836
boolean reportValidity()
readonly attribute boolean willValidate
Definition: html.idl:835
attribute DOMString formEnctype
Definition: html.idl:826
attribute HTMLMenuElement menu
Definition: html.idl:833
attribute unsigned long width
Definition: html.idl:1111
DOMString toDataURL(optional DOMString type, any... arguments)
void setContext(RenderingContext context)
attribute unsigned long height
Definition: html.idl:1112
RenderingContext getContext(DOMString contextId, any... arguments)
void toBlob(FileCallback? _callback, optional DOMString type, any... arguments)
CanvasProxy transferControlToProxy()
boolean probablySupportsContext(DOMString contextId, any... arguments)
getter Element namedItem(DOMString name)
attribute boolean compact
Definition: html.idl:2118
attribute DOMString value
Definition: html.idl:283
readonly attribute HTMLCollection options
Definition: html.idl:881
attribute boolean open
Definition: html.idl:1054
void close(optional DOMString returnValue)
void showModal(optional(MouseEvent or Element) anchor)
void show(optional(MouseEvent or Element) anchor)
attribute boolean open
Definition: html.idl:1085
attribute DOMString returnValue
Definition: html.idl:1086
attribute boolean compact
Definition: html.idl:2110
attribute DOMString align
Definition: html.idl:2114
attribute boolean hidden
Definition: html.idl:145
attribute boolean draggable
Definition: html.idl:152
attribute DOMString lang
Definition: html.idl:130
void click()
readonly attribute DOMString commandLabel
Definition: html.idl:160
readonly attribute DOMSettableTokenList itemRef
Definition: html.idl:139
readonly attribute DOMSettableTokenList itemProp
Definition: html.idl:140
attribute boolean spellcheck
Definition: html.idl:155
attribute DOMString title
Definition: html.idl:129
void focus()
readonly attribute boolean commandDisabled
Definition: html.idl:163
readonly attribute DOMStringMap dataset
Definition: html.idl:133
readonly attribute DOMSettableTokenList itemType
Definition: html.idl:137
readonly attribute DOMString commandType
Definition: html.idl:159
readonly attribute boolean commandHidden
Definition: html.idl:162
void forceSpellCheck()
readonly attribute HTMLPropertiesCollection properties
Definition: html.idl:141
attribute any itemValue
Definition: html.idl:142
readonly attribute DOMString accessKeyLabel
Definition: html.idl:151
readonly attribute boolean commandChecked
Definition: html.idl:164
attribute long tabIndex
Definition: html.idl:147
attribute HTMLMenuElement contextMenu
Definition: html.idl:154
attribute boolean itemScope
Definition: html.idl:136
attribute boolean translate
Definition: html.idl:131
attribute DOMString dir
Definition: html.idl:132
attribute DOMString itemId
Definition: html.idl:138
attribute DOMString accessKey
Definition: html.idl:150
readonly attribute DOMSettableTokenList dropzone
Definition: html.idl:153
readonly attribute DOMString commandIcon
Definition: html.idl:161
attribute DOMString width
Definition: html.idl:347
attribute DOMString src
Definition: html.idl:345
attribute DOMString align
Definition: html.idl:2122
attribute DOMString name
Definition: html.idl:2123
attribute DOMString type
Definition: html.idl:346
Document getSVGDocument()
legacycaller any(any... arguments)
attribute DOMString height
Definition: html.idl:348
boolean reportValidity()
readonly attribute HTMLFormControlsCollection elements
Definition: html.idl:1005
readonly attribute ValidityState validity
Definition: html.idl:1008
void setCustomValidity(DOMString error)
readonly attribute HTMLFormElement form
Definition: html.idl:1000
attribute boolean disabled
Definition: html.idl:999
boolean checkValidity()
attribute DOMString name
Definition: html.idl:1001
readonly attribute DOMString validationMessage
Definition: html.idl:1009
readonly attribute boolean willValidate
Definition: html.idl:1007
readonly attribute DOMString type
Definition: html.idl:1003
attribute DOMString size
Definition: html.idl:2129
attribute DOMString color
Definition: html.idl:2127
attribute DOMString face
Definition: html.idl:2128
legacycaller getter(RadioNodeList or Element)? namedItem(DOMString name)
attribute DOMString action
Definition: html.idl:728
readonly attribute long length
Definition: html.idl:738
attribute DOMString name
Definition: html.idl:733
getter(RadioNodeList or Element)(DOMString name)
boolean checkValidity()
attribute boolean noValidate
Definition: html.idl:734
boolean reportValidity()
attribute DOMString encoding
Definition: html.idl:731
readonly attribute HTMLFormControlsCollection elements
Definition: html.idl:737
void requestAutocomplete()
attribute DOMString target
Definition: html.idl:735
attribute DOMString acceptCharset
Definition: html.idl:727
attribute DOMString enctype
Definition: html.idl:730
attribute DOMString autocomplete
Definition: html.idl:729
getter Element(unsigned long index)
attribute DOMString method
Definition: html.idl:732
attribute DOMString src
Definition: html.idl:2061
readonly attribute Document contentDocument
Definition: html.idl:2065
attribute DOMString scrolling
Definition: html.idl:2060
attribute DOMString marginHeight
Definition: html.idl:2068
readonly attribute WindowProxy contentWindow
Definition: html.idl:2066
attribute DOMString frameBorder
Definition: html.idl:2062
attribute DOMString name
Definition: html.idl:2059
attribute boolean noResize
Definition: html.idl:2064
attribute DOMString longDesc
Definition: html.idl:2063
attribute DOMString marginWidth
Definition: html.idl:2069
attribute DOMString rows
Definition: html.idl:2054
attribute DOMString cols
Definition: html.idl:2053
attribute DOMString width
Definition: html.idl:2141
attribute DOMString align
Definition: html.idl:2137
attribute DOMString size
Definition: html.idl:2140
attribute DOMString color
Definition: html.idl:2138
attribute boolean noShade
Definition: html.idl:2139
attribute DOMString align
Definition: html.idl:2133
attribute DOMString version
Definition: html.idl:2145
attribute DOMString longDesc
Definition: html.idl:2152
attribute DOMString width
Definition: html.idl:335
attribute DOMString frameBorder
Definition: html.idl:2151
readonly attribute WindowProxy contentWindow
Definition: html.idl:338
attribute boolean allowFullscreen
Definition: html.idl:334
attribute DOMString marginWidth
Definition: html.idl:2155
attribute DOMString name
Definition: html.idl:331
attribute DOMString marginHeight
Definition: html.idl:2154
attribute DOMString src
Definition: html.idl:329
readonly attribute Document contentDocument
Definition: html.idl:337
attribute DOMString srcdoc
Definition: html.idl:330
attribute DOMString align
Definition: html.idl:2149
Document getSVGDocument()
attribute boolean seamless
Definition: html.idl:333
attribute DOMString height
Definition: html.idl:336
attribute DOMString scrolling
Definition: html.idl:2150
readonly attribute DOMSettableTokenList sandbox
Definition: html.idl:332
attribute DOMString longDesc
Definition: html.idl:2164
attribute DOMString alt
Definition: html.idl:311
attribute unsigned long width
Definition: html.idl:318
attribute unsigned long height
Definition: html.idl:319
attribute DOMString useMap
Definition: html.idl:316
attribute DOMString src
Definition: html.idl:312
attribute DOMString crossOrigin
Definition: html.idl:315
readonly attribute unsigned long naturalHeight
Definition: html.idl:321
attribute unsigned long vspace
Definition: html.idl:2163
attribute DOMString sizes
Definition: html.idl:314
readonly attribute unsigned long naturalWidth
Definition: html.idl:320
readonly attribute DOMString currentSrc
Definition: html.idl:323
attribute DOMString name
Definition: html.idl:2159
attribute DOMString align
Definition: html.idl:2161
readonly attribute boolean complete
Definition: html.idl:322
attribute boolean isMap
Definition: html.idl:317
attribute DOMString border
Definition: html.idl:2166
attribute unsigned long hspace
Definition: html.idl:2162
attribute DOMString lowsrc
Definition: html.idl:2160
attribute DOMString srcset
Definition: html.idl:313
attribute long minLength
Definition: html.idl:779
attribute DOMString formEnctype
Definition: html.idl:768
attribute boolean required
Definition: html.idl:785
attribute double valueLow
Definition: html.idl:794
readonly attribute NodeList labels
Definition: html.idl:808
attribute DOMString max
Definition: html.idl:776
attribute DOMString formMethod
Definition: html.idl:769
attribute DOMString placeholder
Definition: html.idl:783
attribute DOMString type
Definition: html.idl:789
attribute DOMString min
Definition: html.idl:778
readonly attribute HTMLFormElement form
Definition: html.idl:765
attribute unsigned long height
Definition: html.idl:772
attribute unsigned long selectionEnd
Definition: html.idl:812
attribute DOMString autocomplete
Definition: html.idl:759
attribute DOMString align
Definition: html.idl:2170
attribute boolean defaultChecked
Definition: html.idl:761
attribute unsigned long selectionStart
Definition: html.idl:811
attribute double valueHigh
Definition: html.idl:795
attribute DOMString dirName
Definition: html.idl:763
attribute DOMString selectionDirection
Definition: html.idl:813
attribute Date valueAsDate
Definition: html.idl:792
attribute DOMString alt
Definition: html.idl:758
void setCustomValidity(DOMString error)
attribute long maxLength
Definition: html.idl:777
attribute boolean disabled
Definition: html.idl:764
attribute DOMString src
Definition: html.idl:787
readonly attribute HTMLElement list
Definition: html.idl:775
boolean reportValidity()
attribute boolean readOnly
Definition: html.idl:784
attribute DOMString formAction
Definition: html.idl:767
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction)
attribute DOMString step
Definition: html.idl:788
attribute DOMString formTarget
Definition: html.idl:771
attribute DOMString pattern
Definition: html.idl:782
readonly attribute ValidityState validity
Definition: html.idl:802
attribute unrestricted double valueAsNumber
Definition: html.idl:793
attribute boolean formNoValidate
Definition: html.idl:770
attribute boolean checked
Definition: html.idl:762
attribute DOMString useMap
Definition: html.idl:2171
attribute boolean autofocus
Definition: html.idl:760
readonly attribute boolean willValidate
Definition: html.idl:801
attribute unsigned long width
Definition: html.idl:796
attribute boolean indeterminate
Definition: html.idl:773
boolean checkValidity()
readonly attribute DOMString validationMessage
Definition: html.idl:803
attribute DOMString name
Definition: html.idl:781
attribute boolean multiple
Definition: html.idl:780
void stepUp(optional long n=1)
void stepDown(optional long n=1)
attribute unsigned long size
Definition: html.idl:786
void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode="preserve")
attribute DOMString inputMode
Definition: html.idl:774
attribute DOMString value
Definition: html.idl:791
attribute DOMString accept
Definition: html.idl:757
void setRangeText(DOMString replacement)
readonly attribute FileList files
Definition: html.idl:766
attribute DOMString defaultValue
Definition: html.idl:790
readonly attribute boolean willValidate
Definition: html.idl:952
boolean checkValidity()
void setCustomValidity(DOMString error)
attribute boolean autofocus
Definition: html.idl:943
attribute boolean disabled
Definition: html.idl:945
attribute DOMString keytype
Definition: html.idl:947
readonly attribute ValidityState validity
Definition: html.idl:953
boolean reportValidity()
readonly attribute NodeList labels
Definition: html.idl:959
attribute DOMString challenge
Definition: html.idl:944
attribute DOMString name
Definition: html.idl:948
readonly attribute DOMString validationMessage
Definition: html.idl:954
readonly attribute HTMLFormElement form
Definition: html.idl:946
readonly attribute DOMString type
Definition: html.idl:950
attribute long value
Definition: html.idl:254
attribute DOMString type
Definition: html.idl:2179
readonly attribute HTMLElement control
Definition: html.idl:753
attribute DOMString htmlFor
Definition: html.idl:752
readonly attribute HTMLFormElement form
Definition: html.idl:751
readonly attribute HTMLFormElement form
Definition: html.idl:1016
attribute DOMString align
Definition: html.idl:2175
readonly attribute DOMTokenList relList
Definition: html.idl:190
attribute DOMString rel
Definition: html.idl:189
attribute DOMString type
Definition: html.idl:193
attribute DOMString href
Definition: html.idl:187
attribute DOMString media
Definition: html.idl:191
attribute DOMString crossOrigin
Definition: html.idl:188
attribute DOMString rev
Definition: html.idl:2184
attribute DOMString hreflang
Definition: html.idl:192
readonly attribute DOMSettableTokenList sizes
Definition: html.idl:194
attribute DOMString target
Definition: html.idl:2185
attribute DOMString charset
Definition: html.idl:2183
attribute DOMString name
Definition: html.idl:635
readonly attribute HTMLCollection areas
Definition: html.idl:636
readonly attribute HTMLCollection images
Definition: html.idl:637
attribute long loop
Definition: html.idl:2037
attribute EventHandler onfinish
Definition: html.idl:2045
attribute DOMString height
Definition: html.idl:2035
attribute DOMString width
Definition: html.idl:2042
attribute EventHandler onstart
Definition: html.idl:2046
attribute EventHandler onbounce
Definition: html.idl:2044
attribute unsigned long hspace
Definition: html.idl:2036
attribute unsigned long scrollDelay
Definition: html.idl:2039
attribute unsigned long vspace
Definition: html.idl:2041
attribute unsigned long scrollAmount
Definition: html.idl:2038
attribute DOMString bgColor
Definition: html.idl:2033
attribute DOMString direction
Definition: html.idl:2034
attribute DOMString behavior
Definition: html.idl:2032
attribute boolean trueSpeed
Definition: html.idl:2040
attribute boolean muted
Definition: html.idl:475
attribute boolean autoplay
Definition: html.idl:463
attribute MediaController controller
Definition: html.idl:470
const unsigned short HAVE_FUTURE_DATA
Definition: html.idl:447
const unsigned short HAVE_ENOUGH_DATA
Definition: html.idl:448
readonly attribute unrestricted double duration
Definition: html.idl:455
readonly attribute TextTrackList textTracks
Definition: html.idl:481
const unsigned short HAVE_METADATA
Definition: html.idl:445
const unsigned short NETWORK_EMPTY
Definition: html.idl:433
attribute boolean controls
Definition: html.idl:473
attribute DOMString preload
Definition: html.idl:438
const unsigned short HAVE_CURRENT_DATA
Definition: html.idl:446
attribute double defaultPlaybackRate
Definition: html.idl:458
readonly attribute boolean seeking
Definition: html.idl:450
attribute double volume
Definition: html.idl:474
readonly attribute unsigned short readyState
Definition: html.idl:449
attribute boolean defaultMuted
Definition: html.idl:476
readonly attribute MediaError error
Definition: html.idl:426
readonly attribute TimeRanges buffered
Definition: html.idl:439
TextTrack addTextTrack(TextTrackKind kind, optional DOMString label="", optional DOMString language="")
attribute MediaProvider srcObject
Definition: html.idl:430
const unsigned short NETWORK_NO_SOURCE
Definition: html.idl:436
readonly attribute TimeRanges played
Definition: html.idl:460
const unsigned short NETWORK_LOADING
Definition: html.idl:435
attribute double playbackRate
Definition: html.idl:459
readonly attribute unsigned short networkState
Definition: html.idl:437
readonly attribute boolean ended
Definition: html.idl:462
readonly attribute boolean paused
Definition: html.idl:457
readonly attribute TimeRanges seekable
Definition: html.idl:461
attribute DOMString mediaGroup
Definition: html.idl:469
attribute boolean loop
Definition: html.idl:464
readonly attribute AudioTrackList audioTracks
Definition: html.idl:479
const unsigned short NETWORK_IDLE
Definition: html.idl:434
CanPlayTypeResult canPlayType(DOMString type)
readonly attribute DOMString currentSrc
Definition: html.idl:431
attribute DOMString src
Definition: html.idl:429
readonly attribute VideoTrackList videoTracks
Definition: html.idl:480
attribute DOMString crossOrigin
Definition: html.idl:432
const unsigned short HAVE_NOTHING
Definition: html.idl:444
void fastSeek(double time)
attribute double currentTime
Definition: html.idl:453
attribute DOMString type
Definition: html.idl:1058
attribute DOMString label
Definition: html.idl:1059
attribute boolean compact
Definition: html.idl:2189
readonly attribute HTMLElement command
Definition: html.idl:1072
attribute DOMString icon
Definition: html.idl:1067
attribute boolean disabled
Definition: html.idl:1068
attribute DOMString type
Definition: html.idl:1065
attribute DOMString radiogroup
Definition: html.idl:1070
attribute DOMString label
Definition: html.idl:1066
attribute boolean checked
Definition: html.idl:1069
attribute DOMString content
Definition: html.idl:203
attribute DOMString name
Definition: html.idl:201
attribute DOMString httpEquiv
Definition: html.idl:202
attribute DOMString scheme
Definition: html.idl:2193
attribute double optimum
Definition: html.idl:994
attribute double high
Definition: html.idl:993
attribute double min
Definition: html.idl:990
attribute double value
Definition: html.idl:989
attribute double max
Definition: html.idl:991
attribute double low
Definition: html.idl:992
readonly attribute NodeList labels
Definition: html.idl:995
attribute DOMString dateTime
Definition: html.idl:298
attribute DOMString cite
Definition: html.idl:297
attribute DOMString type
Definition: html.idl:244
attribute boolean reversed
Definition: html.idl:242
attribute long start
Definition: html.idl:243
attribute boolean compact
Definition: html.idl:2211
readonly attribute ValidityState validity
Definition: html.idl:369
void setCustomValidity(DOMString error)
attribute DOMString archive
Definition: html.idl:2198
readonly attribute WindowProxy contentWindow
Definition: html.idl:365
attribute DOMString data
Definition: html.idl:356
attribute DOMString code
Definition: html.idl:2199
attribute DOMString align
Definition: html.idl:2197
attribute unsigned long vspace
Definition: html.idl:2203
readonly attribute Document contentDocument
Definition: html.idl:364
readonly attribute boolean willValidate
Definition: html.idl:368
attribute DOMString type
Definition: html.idl:357
attribute DOMString useMap
Definition: html.idl:360
attribute DOMString standby
Definition: html.idl:2202
boolean checkValidity()
attribute DOMString name
Definition: html.idl:359
legacycaller any(any... arguments)
attribute boolean declare
Definition: html.idl:2200
attribute DOMString codeType
Definition: html.idl:2205
boolean reportValidity()
attribute DOMString codeBase
Definition: html.idl:2204
readonly attribute DOMString validationMessage
Definition: html.idl:370
attribute boolean typeMustMatch
Definition: html.idl:358
Document getSVGDocument()
attribute DOMString height
Definition: html.idl:363
attribute unsigned long hspace
Definition: html.idl:2201
readonly attribute HTMLFormElement form
Definition: html.idl:361
attribute DOMString width
Definition: html.idl:362
attribute DOMString border
Definition: html.idl:2207
attribute DOMString label
Definition: html.idl:886
attribute boolean disabled
Definition: html.idl:885
attribute boolean disabled
Definition: html.idl:891
readonly attribute HTMLFormElement form
Definition: html.idl:892
attribute boolean defaultSelected
Definition: html.idl:894
readonly attribute long index
Definition: html.idl:899
attribute DOMString text
Definition: html.idl:898
attribute boolean selected
Definition: html.idl:895
attribute DOMString label
Definition: html.idl:893
attribute DOMString value
Definition: html.idl:896
attribute long selectedIndex
Definition: html.idl:35
setter creator void(unsigned long index, HTMLOptionElement? option)
attribute unsigned long length
Definition: html.idl:30
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional(HTMLElement or long)? before=null)
boolean checkValidity()
readonly attribute HTMLFormElement form
Definition: html.idl:964
attribute DOMString value
Definition: html.idl:969
void setCustomValidity(DOMString error)
readonly attribute DOMString type
Definition: html.idl:967
readonly attribute NodeList labels
Definition: html.idl:978
readonly attribute ValidityState validity
Definition: html.idl:972
attribute DOMString name
Definition: html.idl:965
readonly attribute DOMSettableTokenList htmlFor
Definition: html.idl:963
readonly attribute DOMString validationMessage
Definition: html.idl:973
attribute DOMString defaultValue
Definition: html.idl:968
boolean reportValidity()
readonly attribute boolean willValidate
Definition: html.idl:971
attribute DOMString align
Definition: html.idl:2215
attribute DOMString name
Definition: html.idl:381
attribute DOMString valueType
Definition: html.idl:2220
attribute DOMString value
Definition: html.idl:382
attribute DOMString type
Definition: html.idl:2219
attribute long width
Definition: html.idl:2224
attribute double max
Definition: html.idl:983
readonly attribute double position
Definition: html.idl:984
readonly attribute NodeList labels
Definition: html.idl:985
attribute double value
Definition: html.idl:982
readonly attribute DOMString[] names
Definition: html.idl:41
getter PropertyNodeList namedItem(DOMString name)
attribute DOMString cite
Definition: html.idl:238
attribute boolean async
Definition: html.idl:1096
attribute DOMString charset
Definition: html.idl:1095
attribute DOMString text
Definition: html.idl:1099
attribute DOMString event
Definition: html.idl:2228
attribute DOMString type
Definition: html.idl:1094
attribute DOMString htmlFor
Definition: html.idl:2229
attribute boolean defer
Definition: html.idl:1097
attribute DOMString src
Definition: html.idl:1093
attribute DOMString crossOrigin
Definition: html.idl:1098
readonly attribute DOMString type
Definition: html.idl:855
attribute DOMString value
Definition: html.idl:868
readonly attribute DOMString validationMessage
Definition: html.idl:872
attribute DOMString autocomplete
Definition: html.idl:846
boolean checkValidity()
readonly attribute NodeList labels
Definition: html.idl:877
boolean reportValidity()
readonly attribute HTMLCollection selectedOptions
Definition: html.idl:866
attribute unsigned long length
Definition: html.idl:858
attribute unsigned long size
Definition: html.idl:853
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional(HTMLElement or long)? before=null)
HTMLOptionElement namedItem(DOMString name)
readonly attribute HTMLOptionsCollection options
Definition: html.idl:857
readonly attribute boolean willValidate
Definition: html.idl:870
readonly attribute ValidityState validity
Definition: html.idl:871
attribute boolean required
Definition: html.idl:852
attribute long selectedIndex
Definition: html.idl:867
attribute boolean disabled
Definition: html.idl:848
setter creator void(unsigned long index, HTMLOptionElement? option)
attribute boolean autofocus
Definition: html.idl:847
void setCustomValidity(DOMString error)
attribute DOMString name
Definition: html.idl:851
readonly attribute HTMLFormElement form
Definition: html.idl:849
getter Element item(unsigned long index)
attribute boolean multiple
Definition: html.idl:850
attribute DOMString srcset
Definition: html.idl:304
attribute DOMString sizes
Definition: html.idl:305
attribute DOMString media
Definition: html.idl:306
attribute DOMString type
Definition: html.idl:400
attribute DOMString src
Definition: html.idl:399
attribute boolean scoped
Definition: html.idl:211
attribute DOMString type
Definition: html.idl:210
attribute DOMString media
Definition: html.idl:209
attribute DOMString align
Definition: html.idl:2098
readonly attribute long cellIndex
Definition: html.idl:720
attribute DOMString ch
Definition: html.idl:2258
attribute DOMString vAlign
Definition: html.idl:2261
readonly attribute DOMSettableTokenList headers
Definition: html.idl:719
attribute unsigned long rowSpan
Definition: html.idl:718
attribute unsigned long colSpan
Definition: html.idl:717
attribute DOMString bgColor
Definition: html.idl:2263
attribute DOMString height
Definition: html.idl:2255
attribute DOMString chOff
Definition: html.idl:2259
attribute DOMString axis
Definition: html.idl:2254
attribute boolean noWrap
Definition: html.idl:2260
attribute DOMString align
Definition: html.idl:2253
attribute DOMString width
Definition: html.idl:2256
attribute DOMString width
Definition: html.idl:2106
attribute DOMString chOff
Definition: html.idl:2104
attribute DOMString align
Definition: html.idl:2102
attribute DOMString ch
Definition: html.idl:2103
attribute unsigned long span
Definition: html.idl:682
attribute DOMString vAlign
Definition: html.idl:2105
attribute DOMString abbr
Definition: html.idl:2267
attribute DOMString width
Definition: html.idl:2238
attribute boolean sortable
Definition: html.idl:671
HTMLElement createTHead()
attribute DOMString align
Definition: html.idl:2233
attribute HTMLTableCaptionElement caption
Definition: html.idl:657
readonly attribute HTMLCollection tBodies
Definition: html.idl:666
attribute HTMLTableSectionElement tHead
Definition: html.idl:660
attribute HTMLTableSectionElement tFoot
Definition: html.idl:663
attribute DOMString cellSpacing
Definition: html.idl:2242
readonly attribute HTMLCollection rows
Definition: html.idl:668
attribute DOMString bgColor
Definition: html.idl:2240
void deleteRow(long index)
attribute DOMString border
Definition: html.idl:2234
HTMLElement createCaption()
HTMLElement createTFoot()
attribute DOMString summary
Definition: html.idl:2237
HTMLElement createTBody()
attribute DOMString cellPadding
Definition: html.idl:2241
attribute DOMString frame
Definition: html.idl:2235
attribute DOMString rules
Definition: html.idl:2236
HTMLElement insertRow(optional long index=-1)
attribute DOMString scope
Definition: html.idl:710
attribute DOMString abbr
Definition: html.idl:711
attribute DOMString sorted
Definition: html.idl:712
readonly attribute long rowIndex
Definition: html.idl:696
attribute DOMString align
Definition: html.idl:2271
attribute DOMString bgColor
Definition: html.idl:2276
void deleteCell(long index)
attribute DOMString ch
Definition: html.idl:2272
HTMLElement insertCell(optional long index=-1)
readonly attribute long sectionRowIndex
Definition: html.idl:697
readonly attribute HTMLCollection cells
Definition: html.idl:698
attribute DOMString chOff
Definition: html.idl:2273
attribute DOMString vAlign
Definition: html.idl:2274
attribute DOMString ch
Definition: html.idl:2247
attribute DOMString chOff
Definition: html.idl:2248
readonly attribute HTMLCollection rows
Definition: html.idl:688
HTMLElement insertRow(optional long index=-1)
attribute DOMString vAlign
Definition: html.idl:2249
attribute DOMString align
Definition: html.idl:2246
void deleteRow(long index)
readonly attribute DocumentFragment content
Definition: html.idl:1105
boolean checkValidity()
void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode="preserve")
attribute DOMString value
Definition: html.idl:921
attribute unsigned long rows
Definition: html.idl:916
readonly attribute NodeList labels
Definition: html.idl:931
attribute DOMString autocomplete
Definition: html.idl:903
attribute DOMString selectionDirection
Definition: html.idl:936
readonly attribute DOMString validationMessage
Definition: html.idl:926
readonly attribute HTMLFormElement form
Definition: html.idl:908
attribute unsigned long selectionStart
Definition: html.idl:934
attribute DOMString defaultValue
Definition: html.idl:920
attribute boolean readOnly
Definition: html.idl:914
readonly attribute boolean willValidate
Definition: html.idl:924
attribute long maxLength
Definition: html.idl:910
attribute long minLength
Definition: html.idl:911
attribute DOMString dirName
Definition: html.idl:906
attribute boolean disabled
Definition: html.idl:907
boolean reportValidity()
readonly attribute DOMString type
Definition: html.idl:919
readonly attribute ValidityState validity
Definition: html.idl:925
attribute DOMString inputMode
Definition: html.idl:909
void setRangeText(DOMString replacement)
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction)
attribute boolean required
Definition: html.idl:915
attribute DOMString wrap
Definition: html.idl:917
readonly attribute unsigned long textLength
Definition: html.idl:922
void setCustomValidity(DOMString error)
attribute DOMString name
Definition: html.idl:912
attribute boolean autofocus
Definition: html.idl:904
attribute unsigned long cols
Definition: html.idl:905
attribute DOMString placeholder
Definition: html.idl:913
attribute unsigned long selectionEnd
Definition: html.idl:935
attribute DOMString dateTime
Definition: html.idl:287
attribute DOMString text
Definition: html.idl:178
attribute DOMString src
Definition: html.idl:407
attribute DOMString srclang
Definition: html.idl:408
attribute DOMString kind
Definition: html.idl:406
attribute DOMString label
Definition: html.idl:409
const unsigned short ERROR
Definition: html.idl:415
const unsigned short LOADED
Definition: html.idl:414
readonly attribute TextTrack track
Definition: html.idl:418
readonly attribute unsigned short readyState
Definition: html.idl:416
const unsigned short LOADING
Definition: html.idl:413
const unsigned short NONE
Definition: html.idl:412
attribute DOMString type
Definition: html.idl:2281
attribute boolean compact
Definition: html.idl:2280
attribute unsigned long width
Definition: html.idl:388
readonly attribute unsigned long videoHeight
Definition: html.idl:391
attribute DOMString poster
Definition: html.idl:392
attribute unsigned long height
Definition: html.idl:389
readonly attribute unsigned long videoWidth
Definition: html.idl:390
readonly attribute DOMString oldURL
Definition: html.idl:1495
readonly attribute DOMString newURL
Definition: html.idl:1496
void replaceState(any data, DOMString title, optional DOMString? url=null)
void go(optional long delta)
readonly attribute any state
Definition: html.idl:1467
void forward()
void back()
void pushState(any data, DOMString title, optional DOMString? url=null)
readonly attribute long length
Definition: html.idl:1466
Promise< ImageBitmap > createImageBitmap(ImageBitmapSource image)
Promise< ImageBitmap > createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh)
readonly attribute unsigned long width
Definition: html.idl:1775
readonly attribute unsigned long height
Definition: html.idl:1776
readonly attribute unsigned long height
Definition: html.idl:1322
readonly attribute unsigned long width
Definition: html.idl:1321
readonly attribute Uint8ClampedArray data
Definition: html.idl:1323
void replace(DOMString url)
void reload()
void assign(DOMString url)
readonly attribute DOMString[] ancestorOrigins
Definition: html.idl:1480
attribute EventHandler ontimeupdate
Definition: html.idl:563
readonly attribute TimeRanges played
Definition: html.idl:542
attribute EventHandler onpause
Definition: html.idl:565
attribute EventHandler onended
Definition: html.idl:559
attribute EventHandler onwaiting
Definition: html.idl:560
readonly attribute TimeRanges buffered
Definition: html.idl:535
attribute EventHandler onloadedmetadata
Definition: html.idl:554
attribute EventHandler onplaying
Definition: html.idl:558
attribute double defaultPlaybackRate
Definition: html.idl:547
readonly attribute unsigned short readyState
Definition: html.idl:533
attribute EventHandler oncanplaythrough
Definition: html.idl:557
readonly attribute boolean paused
Definition: html.idl:540
readonly attribute unrestricted double duration
Definition: html.idl:537
attribute EventHandler onloadeddata
Definition: html.idl:555
attribute EventHandler onemptied
Definition: html.idl:553
attribute double playbackRate
Definition: html.idl:548
attribute EventHandler onratechange
Definition: html.idl:566
readonly attribute TimeRanges seekable
Definition: html.idl:536
attribute double currentTime
Definition: html.idl:538
attribute EventHandler ondurationchange
Definition: html.idl:562
attribute double volume
Definition: html.idl:550
attribute boolean muted
Definition: html.idl:551
attribute EventHandler oncanplay
Definition: html.idl:556
attribute EventHandler onplay
Definition: html.idl:564
attribute EventHandler onvolumechange
Definition: html.idl:567
readonly attribute MediaControllerPlaybackState playbackState
Definition: html.idl:541
const unsigned short MEDIA_ERR_DECODE
Definition: html.idl:488
readonly attribute unsigned short code
Definition: html.idl:490
const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED
Definition: html.idl:489
const unsigned short MEDIA_ERR_NETWORK
Definition: html.idl:487
const unsigned short MEDIA_ERR_ABORTED
Definition: html.idl:486
readonly attribute MessagePort port2
Definition: html.idl:1882
readonly attribute MessagePort port1
Definition: html.idl:1881
readonly attribute DOMString lastEventId
Definition: html.idl:1799
readonly attribute any data
Definition: html.idl:1797
readonly attribute(WindowProxy or MessagePort)? source
readonly attribute DOMString origin
Definition: html.idl:1798
readonly attribute MessagePort[] ports
Definition: html.idl:1801
void initMessageEvent(DOMString typeArg, boolean canBubbleArg, boolean cancelableArg, any dataArg, DOMString originArg, DOMString lastEventIdArg,(WindowProxy or MessagePort) sourceArg, sequence< MessagePort >? portsArg)
void postMessage(any message, optional sequence< Transferable > transfer)
void start()
void close()
attribute EventHandler onmessage
Definition: html.idl:1892
readonly attribute unsigned long length
Definition: html.idl:1747
getter MimeType item(unsigned long index)
getter MimeType namedItem(DOMString name)
readonly attribute DOMString type
Definition: html.idl:1762
readonly attribute DOMString description
Definition: html.idl:1763
readonly attribute Plugin enabledPlugin
Definition: html.idl:1765
readonly attribute DOMString suffixes
Definition: html.idl:1764
readonly attribute DOMString region
Definition: html.idl:1345
void unregisterContentHandler(DOMString mimeType, DOMString url)
void registerContentHandler(DOMString mimeType, DOMString url, DOMString title)
void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title)
void unregisterProtocolHandler(DOMString scheme, DOMString url)
DOMString isContentHandlerRegistered(DOMString mimeType, DOMString url)
DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url)
readonly attribute DOMString vendorSub
Definition: html.idl:1706
readonly attribute DOMString appVersion
Definition: html.idl:1701
readonly attribute DOMString appCodeName
Definition: html.idl:1699
readonly attribute DOMString appName
Definition: html.idl:1700
readonly attribute DOMString userAgent
Definition: html.idl:1705
readonly attribute DOMString platform
Definition: html.idl:1702
boolean taintEnabled()
readonly attribute DOMString product
Definition: html.idl:1703
readonly attribute DOMString[] languages
Definition: html.idl:1712
readonly attribute DOMString language
Definition: html.idl:1711
readonly attribute boolean onLine
Definition: html.idl:1547
readonly attribute boolean javaEnabled
Definition: html.idl:1736
readonly attribute MimeTypeArray mimeTypes
Definition: html.idl:1735
readonly attribute PluginArray plugins
Definition: html.idl:1734
readonly attribute boolean cookieEnabled
Definition: html.idl:1728
readonly attribute boolean persisted
Definition: html.idl:1506
readonly attribute unsigned long length
Definition: html.idl:1741
getter Plugin namedItem(DOMString name)
void refresh(optional boolean reload=false)
getter Plugin item(unsigned long index)
getter MimeType namedItem(DOMString name)
readonly attribute DOMString name
Definition: html.idl:1753
readonly attribute DOMString description
Definition: html.idl:1754
getter MimeType item(unsigned long index)
readonly attribute DOMString filename
Definition: html.idl:1755
readonly attribute unsigned long length
Definition: html.idl:1756
readonly attribute any state
Definition: html.idl:1486
void add(MessagePort port)
void iterate(PortCollectionCallback callback)
PropertyValueArray getValues()
attribute DOMString value
Definition: html.idl:25
readonly attribute EventTarget relatedTarget
Definition: html.idl:1077
attribute EventHandler onconnect
Definition: html.idl:1938
readonly attribute DOMString name
Definition: html.idl:1936
readonly attribute ApplicationCache applicationCache
Definition: html.idl:1937
readonly attribute MessagePort port
Definition: html.idl:1957
readonly attribute DOMString key
Definition: html.idl:2002
readonly attribute DOMString url
Definition: html.idl:2005
readonly attribute DOMString newValue
Definition: html.idl:2004
readonly attribute Storage storageArea
Definition: html.idl:2006
readonly attribute DOMString oldValue
Definition: html.idl:2003
setter creator void setItem(DOMString key, DOMString value)
deleter void removeItem(DOMString key)
DOMString key(unsigned long index)
getter DOMString getItem(DOMString key)
void clear()
readonly attribute unsigned long length
Definition: html.idl:1980
readonly attribute double emHeightDescent
Definition: html.idl:1298
readonly attribute double ideographicBaseline
Definition: html.idl:1301
readonly attribute double actualBoundingBoxDescent
Definition: html.idl:1296
readonly attribute double actualBoundingBoxAscent
Definition: html.idl:1295
readonly attribute double emHeightAscent
Definition: html.idl:1297
readonly attribute double fontBoundingBoxDescent
Definition: html.idl:1294
readonly attribute double width
Definition: html.idl:1288
readonly attribute double alphabeticBaseline
Definition: html.idl:1300
readonly attribute double actualBoundingBoxLeft
Definition: html.idl:1289
readonly attribute double hangingBaseline
Definition: html.idl:1299
readonly attribute double actualBoundingBoxRight
Definition: html.idl:1290
readonly attribute double fontBoundingBoxAscent
Definition: html.idl:1293
TextTrackCue getCueById(DOMString id)
readonly attribute unsigned long length
Definition: html.idl:602
getter TextTrackCue(unsigned long index)
attribute double endTime
Definition: html.idl:612
attribute EventHandler onenter
Definition: html.idl:615
attribute DOMString id
Definition: html.idl:610
attribute boolean pauseOnExit
Definition: html.idl:613
readonly attribute TextTrack track
Definition: html.idl:608
attribute double startTime
Definition: html.idl:611
attribute EventHandler onexit
Definition: html.idl:616
readonly attribute unsigned long length
Definition: html.idl:571
attribute EventHandler onremovetrack
Definition: html.idl:577
TextTrack getTrackById(DOMString id)
getter TextTrack(unsigned long index)
attribute EventHandler onaddtrack
Definition: html.idl:576
attribute EventHandler onchange
Definition: html.idl:575
readonly attribute DOMString inBandMetadataTrackDispatchType
Definition: html.idl:588
readonly attribute TextTrackCueList activeCues
Definition: html.idl:593
readonly attribute DOMString id
Definition: html.idl:587
void addCue(TextTrackCue cue)
readonly attribute DOMString label
Definition: html.idl:584
readonly attribute TextTrackCueList cues
Definition: html.idl:592
attribute TextTrackMode mode
Definition: html.idl:590
void removeCue(TextTrackCue cue)
readonly attribute TextTrackKind kind
Definition: html.idl:583
readonly attribute DOMString language
Definition: html.idl:585
attribute EventHandler oncuechange
Definition: html.idl:598
double start(unsigned long index)
double end(unsigned long index)
readonly attribute unsigned long length
Definition: html.idl:620
Definition: html.idl:1352
readonly attribute DOMString region
Definition: html.idl:1353
readonly attribute(VideoTrack or AudioTrack or TextTrack)? track
readonly attribute boolean valid
Definition: html.idl:1050
readonly attribute boolean tooShort
Definition: html.idl:1044
readonly attribute boolean patternMismatch
Definition: html.idl:1042
readonly attribute boolean typeMismatch
Definition: html.idl:1041
readonly attribute boolean rangeOverflow
Definition: html.idl:1046
readonly attribute boolean rangeUnderflow
Definition: html.idl:1045
readonly attribute boolean stepMismatch
Definition: html.idl:1047
readonly attribute boolean tooLong
Definition: html.idl:1043
readonly attribute boolean badInput
Definition: html.idl:1048
readonly attribute boolean customError
Definition: html.idl:1049
readonly attribute boolean valueMissing
Definition: html.idl:1040
readonly attribute unsigned long length
Definition: html.idl:512
getter VideoTrack(unsigned long index)
attribute EventHandler onaddtrack
Definition: html.idl:518
attribute EventHandler onchange
Definition: html.idl:517
VideoTrack getTrackById(DOMString id)
attribute EventHandler onremovetrack
Definition: html.idl:519
readonly attribute long selectedIndex
Definition: html.idl:515
attribute boolean selected
Definition: html.idl:527
readonly attribute DOMString label
Definition: html.idl:525
readonly attribute DOMString language
Definition: html.idl:526
readonly attribute DOMString id
Definition: html.idl:523
readonly attribute DOMString kind
Definition: html.idl:524
DOMString atob(DOMString atob)
DOMString btoa(DOMString btoa)
attribute EventHandler onstorage
Definition: html.idl:1659
attribute EventHandler onpageshow
Definition: html.idl:1657
attribute EventHandler onafterprint
Definition: html.idl:1648
attribute EventHandler ononline
Definition: html.idl:1655
attribute EventHandler onunload
Definition: html.idl:1660
attribute EventHandler onmessage
Definition: html.idl:1653
attribute EventHandler onpagehide
Definition: html.idl:1656
attribute EventHandler onbeforeprint
Definition: html.idl:1649
attribute EventHandler onpopstate
Definition: html.idl:1658
attribute OnBeforeUnloadEventHandler onbeforeunload
Definition: html.idl:1650
attribute EventHandler onlanguagechange
Definition: html.idl:1652
attribute EventHandler onhashchange
Definition: html.idl:1651
attribute EventHandler onoffline
Definition: html.idl:1654
readonly attribute Storage localStorage
Definition: html.idl:1996
readonly attribute any dialogArguments
Definition: html.idl:1683
attribute any returnValue
Definition: html.idl:1684
readonly attribute Storage sessionStorage
Definition: html.idl:1990
void clearInterval(optional long handle=0)
long setInterval(Function handler, optional long timeout=0, any... arguments)
long setInterval(DOMString handler, optional long timeout=0, any... arguments)
long setTimeout(DOMString handler, optional long timeout=0, any... arguments)
void clearTimeout(optional long handle=0)
long setTimeout(Function handler, optional long timeout=0, any... arguments)
void focus()
WindowProxy open(optional DOMString url="about:blank", optional DOMString target="_blank", [TreatNullAs=EmptyString] optional DOMString features="", optional boolean replace=false)
getter WindowProxy(unsigned long index)
readonly attribute WindowProxy top
Definition: html.idl:1430
void close()
void captureEvents()
readonly attribute Location location
Definition: html.idl:1412
void postMessage(any message, DOMString targetOrigin, optional sequence< Transferable > transfer)
void stop()
attribute any opener
Definition: html.idl:1431
readonly attribute WindowProxy window
Definition: html.idl:1408
attribute DOMString name
Definition: html.idl:1411
readonly attribute WindowProxy parent
Definition: html.idl:1432
readonly attribute BarProp menubar
Definition: html.idl:1415
readonly attribute Document document
Definition: html.idl:1410
readonly attribute WindowProxy frames
Definition: html.idl:1428
readonly attribute External external
Definition: html.idl:1440
void print()
readonly attribute BarProp personalbar
Definition: html.idl:1416
boolean confirm(optional DOMString message="")
readonly attribute unsigned long length
Definition: html.idl:1429
readonly attribute BarProp statusbar
Definition: html.idl:1418
readonly attribute ApplicationCache applicationCache
Definition: html.idl:1441
attribute DOMString status
Definition: html.idl:1420
void alert(DOMString message)
readonly attribute Element frameElement
Definition: html.idl:1433
readonly attribute History history
Definition: html.idl:1413
readonly attribute Navigator navigator
Definition: html.idl:1439
getter object(DOMString name)
void blur()
readonly attribute BarProp locationbar
Definition: html.idl:1414
long requestAnimationFrame(FrameRequestCallback callback)
readonly attribute BarProp scrollbars
Definition: html.idl:1417
any showModalDialog(DOMString url, optional any argument)
void alert()
readonly attribute BarProp toolbar
Definition: html.idl:1419
void cancelAnimationFrame(long handle)
void releaseEvents()
readonly attribute boolean closed
Definition: html.idl:1422
DOMString prompt(optional DOMString message="", optional DOMString default="")
readonly attribute WorkerNavigator navigator
Definition: html.idl:1964
void importScripts(DOMString... urls)
attribute EventHandler ononline
Definition: html.idl:1923
attribute EventHandler onoffline
Definition: html.idl:1922
readonly attribute WorkerLocation location
Definition: html.idl:1917
attribute EventHandler onlanguagechange
Definition: html.idl:1921
attribute OnErrorEventHandler onerror
Definition: html.idl:1920
void terminate()
void postMessage(any message, optional sequence< Transferable > transfer)
attribute EventHandler onmessage
Definition: html.idl:1951
boolean load(DOMString url)
EventTarget relatedTarget
Definition: uievents.idl:49