watir-webdriver 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/Rakefile +53 -31
  2. data/VERSION +1 -1
  3. data/lib/watir-webdriver.rb +6 -8
  4. data/lib/watir-webdriver/attribute_helper.rb +121 -0
  5. data/lib/watir-webdriver/browser.rb +13 -6
  6. data/lib/watir-webdriver/collections/element_collection.rb +21 -15
  7. data/lib/watir-webdriver/collections/table_row_collection.rb +11 -0
  8. data/lib/watir-webdriver/container.rb +17 -11
  9. data/lib/watir-webdriver/element.rb +201 -0
  10. data/lib/watir-webdriver/elements/button.rb +19 -2
  11. data/lib/watir-webdriver/elements/checkbox.rb +24 -4
  12. data/lib/watir-webdriver/elements/file_field.rb +24 -4
  13. data/lib/watir-webdriver/elements/font.rb +10 -11
  14. data/lib/watir-webdriver/elements/frame.rb +11 -3
  15. data/lib/watir-webdriver/elements/generated.rb +2491 -1313
  16. data/lib/watir-webdriver/elements/hidden.rb +16 -5
  17. data/lib/watir-webdriver/elements/input.rb +44 -5
  18. data/lib/watir-webdriver/elements/link.rb +6 -8
  19. data/lib/watir-webdriver/elements/radio.rb +25 -6
  20. data/lib/watir-webdriver/elements/{select_list.rb → select.rb} +8 -9
  21. data/lib/watir-webdriver/elements/text_field.rb +32 -3
  22. data/lib/watir-webdriver/html.rb +18 -0
  23. data/lib/watir-webdriver/html/generator.rb +112 -0
  24. data/lib/watir-webdriver/html/idl_sorter.rb +49 -0
  25. data/lib/watir-webdriver/html/spec_extractor.rb +111 -0
  26. data/lib/watir-webdriver/html/util.rb +31 -0
  27. data/lib/watir-webdriver/html/visitor.rb +186 -0
  28. data/lib/watir-webdriver/locators/element_locator.rb +4 -0
  29. data/lib/watir-webdriver/locators/text_field_locator.rb +2 -2
  30. data/lib/watir-webdriver/xpath_support.rb +3 -5
  31. data/lib/yard/handlers/watir.rb +57 -0
  32. data/spec/{base_element_spec.rb → element_spec.rb} +3 -2
  33. data/spec/input_spec.rb +65 -0
  34. data/spec/spec_helper.rb +9 -2
  35. data/spec/watirspec/area_spec.rb +9 -13
  36. data/spec/watirspec/areas_spec.rb +7 -1
  37. data/spec/watirspec/browser_spec.rb +68 -72
  38. data/spec/watirspec/button_spec.rb +16 -9
  39. data/spec/watirspec/buttons_spec.rb +11 -9
  40. data/spec/watirspec/checkbox_spec.rb +1 -1
  41. data/spec/watirspec/checkboxes_spec.rb +7 -1
  42. data/spec/watirspec/collections_spec.rb +18 -0
  43. data/spec/watirspec/dd_spec.rb +1 -1
  44. data/spec/watirspec/dds_spec.rb +7 -1
  45. data/spec/watirspec/del_spec.rb +141 -0
  46. data/spec/watirspec/dels_spec.rb +37 -0
  47. data/spec/watirspec/div_spec.rb +6 -22
  48. data/spec/watirspec/divs_spec.rb +8 -2
  49. data/spec/watirspec/dl_spec.rb +1 -1
  50. data/spec/watirspec/dls_spec.rb +7 -1
  51. data/spec/watirspec/dt_spec.rb +1 -1
  52. data/spec/watirspec/dts_spec.rb +7 -1
  53. data/spec/watirspec/element_spec.rb +11 -20
  54. data/spec/watirspec/em_spec.rb +1 -1
  55. data/spec/watirspec/ems_spec.rb +7 -1
  56. data/spec/watirspec/filefield_spec.rb +8 -11
  57. data/spec/watirspec/filefields_spec.rb +7 -1
  58. data/spec/watirspec/font_spec.rb +2 -2
  59. data/spec/watirspec/form_spec.rb +10 -18
  60. data/spec/watirspec/forms_spec.rb +7 -1
  61. data/spec/watirspec/frame_spec.rb +69 -73
  62. data/spec/watirspec/frames_spec.rb +15 -2
  63. data/spec/watirspec/hidden_spec.rb +1 -1
  64. data/spec/watirspec/hiddens_spec.rb +7 -1
  65. data/spec/watirspec/hn_spec.rb +1 -1
  66. data/spec/watirspec/hns_spec.rb +23 -27
  67. data/spec/watirspec/image_spec.rb +9 -15
  68. data/spec/watirspec/images_spec.rb +7 -1
  69. data/spec/watirspec/ins_spec.rb +142 -0
  70. data/spec/watirspec/inses_spec.rb +37 -0
  71. data/spec/watirspec/label_spec.rb +1 -1
  72. data/spec/watirspec/labels_spec.rb +7 -1
  73. data/spec/watirspec/li_spec.rb +1 -1
  74. data/spec/watirspec/lib/guards.rb +12 -12
  75. data/spec/watirspec/lib/implementation.rb +48 -0
  76. data/spec/watirspec/lib/watirspec.rb +17 -12
  77. data/spec/watirspec/link_spec.rb +6 -11
  78. data/spec/watirspec/links_spec.rb +1 -1
  79. data/spec/watirspec/lis_spec.rb +7 -1
  80. data/spec/watirspec/map_spec.rb +1 -1
  81. data/spec/watirspec/maps_spec.rb +7 -1
  82. data/spec/watirspec/meta_spec.rb +13 -15
  83. data/spec/watirspec/metas_spec.rb +6 -1
  84. data/spec/watirspec/ol_spec.rb +57 -59
  85. data/spec/watirspec/ols_spec.rb +10 -4
  86. data/spec/watirspec/option_spec.rb +50 -83
  87. data/spec/watirspec/p_spec.rb +1 -1
  88. data/spec/watirspec/pre_spec.rb +1 -1
  89. data/spec/watirspec/pres_spec.rb +7 -1
  90. data/spec/watirspec/ps_spec.rb +7 -1
  91. data/spec/watirspec/radio_spec.rb +9 -11
  92. data/spec/watirspec/radios_spec.rb +1 -1
  93. data/spec/watirspec/select_list_spec.rb +27 -40
  94. data/spec/watirspec/select_lists_spec.rb +1 -1
  95. data/spec/watirspec/span_spec.rb +1 -1
  96. data/spec/watirspec/spans_spec.rb +7 -1
  97. data/spec/watirspec/spec_helper.rb +1 -0
  98. data/spec/watirspec/strong_spec.rb +1 -1
  99. data/spec/watirspec/strongs_spec.rb +7 -1
  100. data/spec/watirspec/table_bodies_spec.rb +22 -10
  101. data/spec/watirspec/table_body_spec.rb +33 -40
  102. data/spec/watirspec/table_cell_spec.rb +1 -1
  103. data/spec/watirspec/table_cells_spec.rb +36 -15
  104. data/spec/watirspec/table_footer_spec.rb +43 -40
  105. data/spec/watirspec/table_footers_spec.rb +35 -19
  106. data/spec/watirspec/table_header_spec.rb +44 -39
  107. data/spec/watirspec/table_headers_spec.rb +37 -19
  108. data/spec/watirspec/table_row_spec.rb +13 -9
  109. data/spec/watirspec/table_rows_spec.rb +16 -6
  110. data/spec/watirspec/table_spec.rb +83 -62
  111. data/spec/watirspec/tables_spec.rb +7 -1
  112. data/spec/watirspec/text_field_spec.rb +4 -6
  113. data/spec/watirspec/text_fields_spec.rb +1 -1
  114. data/spec/watirspec/ul_spec.rb +1 -1
  115. data/spec/watirspec/uls_spec.rb +25 -22
  116. data/support/html5.html +89235 -0
  117. data/watir-webdriver.gemspec +31 -21
  118. metadata +52 -23
  119. data/TODO +0 -15
  120. data/lib/watir-webdriver/base_element.rb +0 -361
  121. data/lib/watir-webdriver/collections/buttons_collection.rb +0 -15
  122. data/lib/watir-webdriver/collections/table_rows_collection.rb +0 -16
  123. data/lib/watir-webdriver/collections/text_fields_collection.rb +0 -15
  124. data/lib/watir-webdriver/elements/headings.rb +0 -48
  125. data/support/html5/html5.idl +0 -1274
  126. data/support/html5/old/html5.idl +0 -962
  127. data/support/html5/old/html5_extras.idl +0 -145
  128. data/support/html5/watir_visitor.rb +0 -173
  129. data/support/yard_handlers.rb +0 -87
@@ -1,15 +0,0 @@
1
- module Watir
2
- class ButtonsCollection < ElementCollection
3
-
4
- private
5
-
6
- def elements
7
- @elements ||= ButtonLocator.new(
8
- @parent.wd,
9
- @element_class.default_selector,
10
- @element_class.attribute_list
11
- ).locate_all
12
- end
13
-
14
- end # ButtonsCollection
15
- end # Watir
@@ -1,16 +0,0 @@
1
- module Watir
2
- class TrsCollection < ElementCollection
3
-
4
- private
5
-
6
- def elements
7
- return super unless @parent.kind_of?(Watir::Table)
8
- @elements ||= TableRowLocator.new(
9
- @parent.wd,
10
- @element_class.default_selector,
11
- @element_class.attribute_list
12
- ).locate_all
13
- end
14
-
15
- end # ButtonsCollection
16
- end # Watir
@@ -1,15 +0,0 @@
1
- module Watir
2
- class TextFieldsCollection < ElementCollection
3
-
4
- private
5
-
6
- def elements
7
- @elements ||= TextFieldLocator.new(
8
- @parent.wd,
9
- @element_class.default_selector,
10
- @element_class.attribute_list
11
- ).locate_all
12
- end
13
-
14
- end # ButtonsCollection
15
- end # Watir
@@ -1,48 +0,0 @@
1
- # encoding: utf-8
2
- module Watir
3
-
4
- #
5
- # H1 is handled by the generated code
6
- #
7
-
8
-
9
- class H2 < Heading
10
- default_selector.clear
11
-
12
- identifier :tag_name => 'h2'
13
- container_method :h2
14
- collection_method :h2s
15
- end
16
-
17
- class H3 < Heading
18
- default_selector.clear
19
-
20
- identifier :tag_name => 'h3'
21
- container_method :h3
22
- collection_method :h3s
23
- end
24
-
25
- class H4 < Heading
26
- default_selector.clear
27
-
28
- identifier :tag_name => 'h4'
29
- container_method :h4
30
- collection_method :h4s
31
- end
32
-
33
- class H5 < Heading
34
- default_selector.clear
35
-
36
- identifier :tag_name => 'h5'
37
- container_method :h5
38
- collection_method :h5s
39
- end
40
-
41
- class H6 < Heading
42
- default_selector.clear
43
-
44
- identifier :tag_name => 'h6'
45
- container_method :h6
46
- collection_method :h6s
47
- end
48
- end
@@ -1,1274 +0,0 @@
1
- interface HTMLElement : Element {
2
- // DOM tree accessors
3
- NodeList getElementsByClassName(in DOMString classNames);
4
-
5
- // dynamic markup insertion
6
- attribute DOMString innerHTML;
7
- attribute DOMString outerHTML;
8
- void insertAdjacentHTML(in DOMString position, in DOMString text);
9
-
10
- // metadata attributes
11
- attribute DOMString id;
12
- attribute DOMString title;
13
- attribute DOMString lang;
14
- attribute DOMString dir;
15
- attribute DOMString className;
16
- readonly attribute DOMTokenList classList;
17
- readonly attribute DOMStringMap dataset;
18
-
19
- // user interaction
20
- attribute boolean hidden;
21
- void click();
22
- void scrollIntoView();
23
- void scrollIntoView(in boolean top);
24
- attribute long tabIndex;
25
- void focus();
26
- void blur();
27
- attribute DOMString accessKey;
28
- readonly attribute DOMString accessKeyLabel;
29
- attribute boolean draggable;
30
- attribute DOMString contentEditable;
31
- readonly attribute boolean isContentEditable;
32
- attribute HTMLMenuElement contextMenu;
33
- attribute DOMString spellcheck;
34
-
35
- // command API
36
- readonly attribute DOMString commandType;
37
- readonly attribute DOMString label;
38
- readonly attribute DOMString icon;
39
- readonly attribute boolean disabled;
40
- readonly attribute boolean checked;
41
-
42
- // styling
43
- readonly attribute CSSStyleDeclaration style;
44
-
45
- // event handler IDL attributes
46
- attribute Function onabort;
47
- attribute Function onblur;
48
- attribute Function oncanplay;
49
- attribute Function oncanplaythrough;
50
- attribute Function onchange;
51
- attribute Function onclick;
52
- attribute Function oncontextmenu;
53
- attribute Function ondblclick;
54
- attribute Function ondrag;
55
- attribute Function ondragend;
56
- attribute Function ondragenter;
57
- attribute Function ondragleave;
58
- attribute Function ondragover;
59
- attribute Function ondragstart;
60
- attribute Function ondrop;
61
- attribute Function ondurationchange;
62
- attribute Function onemptied;
63
- attribute Function onended;
64
- attribute Function onerror;
65
- attribute Function onfocus;
66
- attribute Function onformchange;
67
- attribute Function onforminput;
68
- attribute Function oninput;
69
- attribute Function oninvalid;
70
- attribute Function onkeydown;
71
- attribute Function onkeypress;
72
- attribute Function onkeyup;
73
- attribute Function onload;
74
- attribute Function onloadeddata;
75
- attribute Function onloadedmetadata;
76
- attribute Function onloadstart;
77
- attribute Function onmousedown;
78
- attribute Function onmousemove;
79
- attribute Function onmouseout;
80
- attribute Function onmouseover;
81
- attribute Function onmouseup;
82
- attribute Function onmousewheel;
83
- attribute Function onpause;
84
- attribute Function onplay;
85
- attribute Function onplaying;
86
- attribute Function onprogress;
87
- attribute Function onratechange;
88
- attribute Function onreadystatechange;
89
- attribute Function onscroll;
90
- attribute Function onseeked;
91
- attribute Function onseeking;
92
- attribute Function onselect;
93
- attribute Function onshow;
94
- attribute Function onstalled;
95
- attribute Function onsubmit;
96
- attribute Function onsuspend;
97
- attribute Function ontimeupdate;
98
- attribute Function onvolumechange;
99
- attribute Function onwaiting;
100
- };
101
-
102
-
103
- [TagName=html]
104
- interface HTMLHtmlElement : HTMLElement {};
105
-
106
- [TagName=head]
107
- interface HTMLHeadElement : HTMLElement {};
108
-
109
- [TagName=title]
110
- interface HTMLTitleElement : HTMLElement {
111
- attribute DOMString text;
112
- };
113
-
114
- [TagName=base]
115
- interface HTMLBaseElement : HTMLElement {
116
- attribute DOMString href;
117
- attribute DOMString target;
118
- };
119
-
120
- [TagName=link]
121
- interface HTMLLinkElement : HTMLElement {
122
- attribute boolean disabled;
123
- attribute DOMString href;
124
- attribute DOMString rel;
125
- readonly attribute DOMTokenList relList;
126
- attribute DOMString media;
127
- attribute DOMString hreflang;
128
- attribute DOMString type;
129
- [PutForwards=value] readonly attribute DOMSettableTokenList sizes;
130
- };
131
-
132
-
133
- HTMLLinkElement implements LinkStyle;
134
-
135
- [TagName=meta]
136
- interface HTMLMetaElement : HTMLElement {
137
- attribute DOMString name;
138
- attribute DOMString httpEquiv;
139
- attribute DOMString content;
140
- };
141
-
142
- [TagName=style]
143
- interface HTMLStyleElement : HTMLElement {
144
- attribute boolean disabled;
145
- attribute DOMString media;
146
- attribute DOMString type;
147
- attribute boolean scoped;
148
- };
149
- HTMLStyleElement implements LinkStyle;
150
-
151
-
152
- [TagName=script]
153
- interface HTMLScriptElement : HTMLElement {
154
- attribute DOMString src;
155
- attribute boolean async;
156
- attribute boolean defer;
157
- attribute DOMString type;
158
- attribute DOMString charset;
159
- attribute DOMString text;
160
- };
161
-
162
- [TagName=body]
163
- interface HTMLBodyElement : HTMLElement {
164
- attribute Function onafterprint;
165
- attribute Function onbeforeprint;
166
- attribute Function onbeforeunload;
167
- attribute Function onblur;
168
- attribute Function onerror;
169
- attribute Function onfocus;
170
- attribute Function onhashchange;
171
- attribute Function onload;
172
- attribute Function onmessage;
173
- attribute Function onoffline;
174
- attribute Function ononline;
175
- attribute Function onpopstate;
176
- attribute Function onpagehide;
177
- attribute Function onpageshow;
178
- attribute Function onredo;
179
- attribute Function onresize;
180
- attribute Function onstorage;
181
- attribute Function onundo;
182
- attribute Function onunload;
183
- };
184
-
185
- [TagName=h1]
186
- interface HTMLHeadingElement : HTMLElement {};
187
-
188
- [TagName=p]
189
- interface HTMLParagraphElement : HTMLElement {};
190
-
191
- [TagName=hr]
192
- interface HTMLHRElement : HTMLElement {};
193
-
194
- [TagName=pre]
195
- interface HTMLPreElement : HTMLElement {};
196
-
197
- [TagName=blockquote]
198
- interface HTMLQuoteElement : HTMLElement {
199
- attribute DOMString cite;
200
- };
201
-
202
- [TagName=ol]
203
- interface HTMLOListElement : HTMLElement {
204
- attribute boolean reversed;
205
- attribute long start;
206
- };
207
-
208
- [TagName=ul]
209
- interface HTMLUListElement : HTMLElement {};
210
-
211
- [TagName=li]
212
- interface HTMLLIElement : HTMLElement {
213
- attribute long value;
214
- };
215
-
216
- [TagName=dl]
217
- interface HTMLDListElement : HTMLElement {};
218
-
219
- [TagName=div]
220
- interface HTMLDivElement : HTMLElement {};
221
-
222
- [TagName=a]
223
- interface HTMLAnchorElement : HTMLElement {
224
- stringifier attribute DOMString href;
225
- attribute DOMString target;
226
- attribute DOMString rel;
227
- readonly attribute DOMTokenList relList;
228
- attribute DOMString media;
229
- attribute DOMString hreflang;
230
- attribute DOMString type;
231
-
232
- attribute DOMString text;
233
-
234
- // URL decomposition IDL attributes
235
- attribute DOMString protocol;
236
- attribute DOMString host;
237
- attribute DOMString hostname;
238
- attribute DOMString port;
239
- attribute DOMString pathname;
240
- attribute DOMString search;
241
- attribute DOMString hash;
242
- };
243
-
244
- [TagName=time]
245
- interface HTMLTimeElement : HTMLElement {
246
- attribute DOMString dateTime;
247
- attribute boolean pubDate;
248
- readonly attribute Date valueAsDate;
249
- };
250
-
251
- [TagName=span]
252
- interface HTMLSpanElement : HTMLElement {};
253
-
254
- [TagName=br]
255
- interface HTMLBRElement : HTMLElement {};
256
-
257
- interface HTMLModElement : HTMLElement {
258
- attribute DOMString cite;
259
- attribute DOMString dateTime;
260
- };
261
-
262
- [TagName=img]
263
- interface HTMLImageElement : HTMLElement {
264
- attribute DOMString alt;
265
- attribute DOMString src;
266
- attribute DOMString useMap;
267
- attribute boolean isMap;
268
- attribute unsigned long width;
269
- attribute unsigned long height;
270
- readonly attribute unsigned long naturalWidth;
271
- readonly attribute unsigned long naturalHeight;
272
- readonly attribute boolean complete;
273
- };
274
-
275
- [TagName=iframe]
276
- interface HTMLIFrameElement : HTMLElement {
277
- attribute DOMString src;
278
- attribute DOMString srcdoc;
279
- attribute DOMString name;
280
- [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
281
- attribute boolean seamless;
282
- attribute DOMString width;
283
- attribute DOMString height;
284
- readonly attribute Document contentDocument;
285
- readonly attribute WindowProxy contentWindow;
286
- };
287
-
288
- [TagName=embed]
289
- interface HTMLEmbedElement : HTMLElement {
290
- attribute DOMString src;
291
- attribute DOMString type;
292
- attribute DOMString width;
293
- attribute DOMString height;
294
- };
295
-
296
- [TagName=object]
297
- interface HTMLObjectElement : HTMLElement {
298
- attribute DOMString data;
299
- attribute DOMString type;
300
- attribute DOMString name;
301
- attribute DOMString useMap;
302
- readonly attribute HTMLFormElement form;
303
- attribute DOMString width;
304
- attribute DOMString height;
305
- readonly attribute Document contentDocument;
306
- readonly attribute WindowProxy contentWindow;
307
-
308
- readonly attribute boolean willValidate;
309
- readonly attribute ValidityState validity;
310
- readonly attribute DOMString validationMessage;
311
- boolean checkValidity();
312
- void setCustomValidity(in DOMString error);
313
- };
314
-
315
- [TagName=param]
316
- interface HTMLParamElement : HTMLElement {
317
- attribute DOMString name;
318
- attribute DOMString value;
319
- };
320
-
321
-
322
- [TagName=video]
323
- interface HTMLVideoElement : HTMLMediaElement {
324
- attribute DOMString width;
325
- attribute DOMString height;
326
- readonly attribute unsigned long videoWidth;
327
- readonly attribute unsigned long videoHeight;
328
- attribute DOMString poster;
329
- };
330
-
331
- [TagName=audio]
332
- interface HTMLAudioElement : HTMLMediaElement {};
333
-
334
- [TagName=source]
335
- interface HTMLSourceElement : HTMLElement {
336
- attribute DOMString src;
337
- attribute DOMString type;
338
- attribute DOMString media;
339
- };
340
-
341
- interface HTMLMediaElement : HTMLElement {
342
-
343
- // error state
344
- readonly attribute MediaError error;
345
-
346
- // network state
347
- attribute DOMString src;
348
- readonly attribute DOMString currentSrc;
349
- const unsigned short NETWORK_EMPTY = 0;
350
- const unsigned short NETWORK_IDLE = 1;
351
- const unsigned short NETWORK_LOADING = 2;
352
- const unsigned short NETWORK_NO_SOURCE = 3;
353
- readonly attribute unsigned short networkState;
354
- attribute DOMString preload;
355
- readonly attribute TimeRanges buffered;
356
- void load();
357
- DOMString canPlayType(in DOMString type);
358
-
359
- // ready state
360
- const unsigned short HAVE_NOTHING = 0;
361
- const unsigned short HAVE_METADATA = 1;
362
- const unsigned short HAVE_CURRENT_DATA = 2;
363
- const unsigned short HAVE_FUTURE_DATA = 3;
364
- const unsigned short HAVE_ENOUGH_DATA = 4;
365
- readonly attribute unsigned short readyState;
366
- readonly attribute boolean seeking;
367
-
368
- // playback state
369
- attribute float currentTime;
370
- readonly attribute float startTime;
371
- readonly attribute float duration;
372
- readonly attribute boolean paused;
373
- attribute float defaultPlaybackRate;
374
- attribute float playbackRate;
375
- readonly attribute TimeRanges played;
376
- readonly attribute TimeRanges seekable;
377
- readonly attribute boolean ended;
378
- attribute boolean autoplay;
379
- attribute boolean loop;
380
- void play();
381
- void pause();
382
-
383
- // controls
384
- attribute boolean controls;
385
- attribute float volume;
386
- attribute boolean muted;
387
- };
388
-
389
- interface MediaError {
390
- const unsigned short MEDIA_ERR_ABORTED = 1;
391
- const unsigned short MEDIA_ERR_NETWORK = 2;
392
- const unsigned short MEDIA_ERR_DECODE = 3;
393
- const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
394
- readonly attribute unsigned short code;
395
- };
396
-
397
- interface TimeRanges {
398
- readonly attribute unsigned long length;
399
- float start(in unsigned long index);
400
- float end(in unsigned long index);
401
- };
402
-
403
- [TagName=canvas]
404
- interface HTMLCanvasElement : HTMLElement {
405
- attribute unsigned long width;
406
- attribute unsigned long height;
407
-
408
- DOMString toDataURL(in optional DOMString type, in any... args);
409
-
410
- object getContext(in DOMString contextId);
411
- };
412
-
413
- [TagName=map]
414
- interface HTMLMapElement : HTMLElement {
415
- attribute DOMString name;
416
- readonly attribute HTMLCollection areas;
417
- readonly attribute HTMLCollection images;
418
- };
419
-
420
- interface HTMLAreaElement : HTMLElement {
421
- attribute DOMString alt;
422
- attribute DOMString coords;
423
- attribute DOMString shape;
424
- stringifier attribute DOMString href;
425
- attribute DOMString target;
426
- attribute DOMString rel;
427
- readonly attribute DOMTokenList relList;
428
- attribute DOMString media;
429
- attribute DOMString hreflang;
430
- attribute DOMString type;
431
-
432
- // URL decomposition IDL attributes
433
- attribute DOMString protocol;
434
- attribute DOMString host;
435
- attribute DOMString hostname;
436
- attribute DOMString port;
437
- attribute DOMString pathname;
438
- attribute DOMString search;
439
- attribute DOMString hash;
440
- };
441
-
442
- [TagName=table]
443
- interface HTMLTableElement : HTMLElement {
444
- attribute HTMLTableCaptionElement caption;
445
- HTMLElement createCaption();
446
- void deleteCaption();
447
- attribute HTMLTableSectionElement tHead;
448
- HTMLElement createTHead();
449
- void deleteTHead();
450
- attribute HTMLTableSectionElement tFoot;
451
- HTMLElement createTFoot();
452
- void deleteTFoot();
453
- readonly attribute HTMLCollection tBodies;
454
- HTMLElement createTBody();
455
- readonly attribute HTMLCollection rows;
456
- HTMLElement insertRow(in optional long index);
457
- void deleteRow(in long index);
458
- attribute DOMString summary;
459
- };
460
-
461
- [TagName=caption]
462
- interface HTMLTableCaptionElement : HTMLElement {};
463
-
464
- [TagName=colgroup]
465
- interface HTMLTableColElement : HTMLElement {
466
- attribute unsigned long span;
467
- };
468
- [TagName=tbody,tfoot]
469
- interface HTMLTableSectionElement : HTMLElement {
470
- readonly attribute HTMLCollection rows;
471
- HTMLElement insertRow(in optional long index);
472
- void deleteRow(in long index);
473
- };
474
-
475
- [TagName=tr]
476
- interface HTMLTableRowElement : HTMLElement {
477
- readonly attribute long rowIndex;
478
- readonly attribute long sectionRowIndex;
479
- readonly attribute HTMLCollection cells;
480
- HTMLElement insertCell(in optional long index);
481
- void deleteCell(in long index);
482
- };
483
-
484
- [TagName=td]
485
- interface HTMLTableDataCellElement : HTMLTableCellElement {};
486
-
487
- [TagName=th]
488
- interface HTMLTableHeaderCellElement : HTMLTableCellElement {
489
- attribute DOMString scope;
490
- };
491
-
492
- interface HTMLTableCellElement : HTMLElement {
493
- attribute unsigned long colSpan;
494
- attribute unsigned long rowSpan;
495
- [PutForwards=value] readonly attribute DOMSettableTokenList headers;
496
- readonly attribute long cellIndex;
497
- };
498
-
499
- [TagName=form]
500
- interface HTMLFormElement : HTMLElement {
501
- attribute DOMString acceptCharset;
502
- attribute DOMString action;
503
- attribute DOMString autocomplete;
504
- attribute DOMString enctype;
505
- attribute DOMString method;
506
- attribute DOMString name;
507
- attribute boolean noValidate;
508
- attribute DOMString target;
509
-
510
- readonly attribute HTMLFormControlsCollection elements;
511
- readonly attribute long length;
512
- caller getter any item(in unsigned long index);
513
- caller getter any namedItem(in DOMString name);
514
-
515
- void submit();
516
- void reset();
517
- boolean checkValidity();
518
-
519
- void dispatchFormInput();
520
- void dispatchFormChange();
521
- };
522
-
523
- [TagName=fieldset]
524
- interface HTMLFieldSetElement : HTMLElement {
525
- attribute boolean disabled;
526
- readonly attribute HTMLFormElement form;
527
- attribute DOMString name;
528
-
529
- readonly attribute DOMString type;
530
-
531
- readonly attribute HTMLFormControlsCollection elements;
532
-
533
- readonly attribute boolean willValidate;
534
- readonly attribute ValidityState validity;
535
- readonly attribute DOMString validationMessage;
536
- boolean checkValidity();
537
- void setCustomValidity(in DOMString error);
538
- };
539
-
540
- [TagName=legend]
541
- interface HTMLLegendElement : HTMLElement {
542
- readonly attribute HTMLFormElement form;
543
- };
544
-
545
- [TagName=label]
546
- interface HTMLLabelElement : HTMLElement {
547
- readonly attribute HTMLFormElement form;
548
- attribute DOMString htmlFor;
549
- readonly attribute HTMLElement control;
550
- };
551
-
552
- [TagName=input]
553
- interface HTMLInputElement : HTMLElement {
554
- attribute DOMString accept;
555
- attribute DOMString alt;
556
- attribute DOMString autocomplete;
557
- attribute boolean autofocus;
558
- attribute boolean defaultChecked;
559
- attribute boolean checked;
560
- attribute boolean disabled;
561
- readonly attribute HTMLFormElement form;
562
- readonly attribute FileList files;
563
- attribute DOMString formAction;
564
- attribute DOMString formEnctype;
565
- attribute DOMString formMethod;
566
- attribute boolean formNoValidate;
567
- attribute DOMString formTarget;
568
- attribute DOMString height;
569
- attribute boolean indeterminate;
570
- readonly attribute HTMLElement list;
571
- attribute DOMString max;
572
- attribute long maxLength;
573
- attribute DOMString min;
574
- attribute boolean multiple;
575
- attribute DOMString name;
576
- attribute DOMString pattern;
577
- attribute DOMString placeholder;
578
- attribute boolean readOnly;
579
- attribute boolean required;
580
- attribute unsigned long size;
581
- attribute DOMString src;
582
- attribute DOMString step;
583
- attribute DOMString type;
584
- attribute DOMString defaultValue;
585
- attribute DOMString value;
586
- attribute Date valueAsDate;
587
- attribute double valueAsNumber;
588
- readonly attribute HTMLOptionElement selectedOption;
589
- attribute DOMString width;
590
-
591
- void stepUp(in optional long n);
592
- void stepDown(in optional long n);
593
-
594
- readonly attribute boolean willValidate;
595
- readonly attribute ValidityState validity;
596
- readonly attribute DOMString validationMessage;
597
- boolean checkValidity();
598
- void setCustomValidity(in DOMString error);
599
-
600
- readonly attribute NodeList labels;
601
-
602
- void select();
603
- attribute unsigned long selectionStart;
604
- attribute unsigned long selectionEnd;
605
- void setSelectionRange(in unsigned long start, in unsigned long end);
606
- };
607
-
608
- [TagName=button]
609
- interface HTMLButtonElement : HTMLElement {
610
- attribute boolean autofocus;
611
- attribute boolean disabled;
612
- readonly attribute HTMLFormElement form;
613
- attribute DOMString formAction;
614
- attribute DOMString formEnctype;
615
- attribute DOMString formMethod;
616
- attribute DOMString formNoValidate;
617
- attribute DOMString formTarget;
618
- attribute DOMString name;
619
- attribute DOMString type;
620
- attribute DOMString value;
621
-
622
- readonly attribute boolean willValidate;
623
- readonly attribute ValidityState validity;
624
- readonly attribute DOMString validationMessage;
625
- boolean checkValidity();
626
- void setCustomValidity(in DOMString error);
627
-
628
- readonly attribute NodeList labels;
629
- };
630
-
631
- [TagName=select]
632
- interface HTMLSelectElement : HTMLElement {
633
- attribute boolean autofocus;
634
- attribute boolean disabled;
635
- readonly attribute HTMLFormElement form;
636
- attribute boolean multiple;
637
- attribute DOMString name;
638
- attribute unsigned long size;
639
-
640
- readonly attribute DOMString type;
641
-
642
- readonly attribute HTMLOptionsCollection options;
643
- attribute unsigned long length;
644
- caller getter any item(in unsigned long index);
645
- caller getter any namedItem(in DOMString name);
646
- void add(in HTMLElement element, in optional HTMLElement before);
647
- void add(in HTMLElement element, in long before);
648
- void remove(in long index);
649
-
650
- readonly attribute HTMLCollection selectedOptions;
651
- attribute long selectedIndex;
652
- attribute DOMString value;
653
-
654
- readonly attribute boolean willValidate;
655
- readonly attribute ValidityState validity;
656
- readonly attribute DOMString validationMessage;
657
- boolean checkValidity();
658
- void setCustomValidity(in DOMString error);
659
-
660
- readonly attribute NodeList labels;
661
- };
662
-
663
- [TagName=datalist]
664
- interface HTMLDataListElement : HTMLElement {
665
- readonly attribute HTMLCollection options;
666
- };
667
-
668
- [TagName=optgroup]
669
- interface HTMLOptGroupElement : HTMLElement {
670
- attribute boolean disabled;
671
- attribute DOMString label;
672
- };
673
-
674
- [TagName=option]
675
- interface HTMLOptionElement : HTMLElement {
676
- attribute boolean disabled;
677
- readonly attribute HTMLFormElement form;
678
- attribute DOMString label;
679
- attribute boolean defaultSelected;
680
- attribute boolean selected;
681
- attribute DOMString value;
682
-
683
- attribute DOMString text;
684
- readonly attribute long index;
685
- };
686
-
687
- [TagName=textarea]
688
- interface HTMLTextAreaElement : HTMLElement {
689
- attribute boolean autofocus;
690
- attribute unsigned long cols;
691
- attribute boolean disabled;
692
- readonly attribute HTMLFormElement form;
693
- attribute long maxLength;
694
- attribute DOMString name;
695
- attribute DOMString placeholder;
696
- attribute boolean readOnly;
697
- attribute boolean required;
698
- attribute unsigned long rows;
699
- attribute DOMString wrap;
700
-
701
- readonly attribute DOMString type;
702
- attribute DOMString defaultValue;
703
- attribute DOMString value;
704
- readonly attribute unsigned long textLength;
705
-
706
- readonly attribute boolean willValidate;
707
- readonly attribute ValidityState validity;
708
- readonly attribute DOMString validationMessage;
709
- boolean checkValidity();
710
- void setCustomValidity(in DOMString error);
711
-
712
- readonly attribute NodeList labels;
713
-
714
- void select();
715
- attribute unsigned long selectionStart;
716
- attribute unsigned long selectionEnd;
717
- void setSelectionRange(in unsigned long start, in unsigned long end);
718
- };
719
-
720
- [TagName=keygen]
721
- interface HTMLKeygenElement : HTMLElement {
722
- attribute boolean autofocus;
723
- attribute DOMString challenge;
724
- attribute boolean disabled;
725
- readonly attribute HTMLFormElement form;
726
- attribute DOMString keytype;
727
- attribute DOMString name;
728
-
729
- readonly attribute DOMString type;
730
-
731
- readonly attribute boolean willValidate;
732
- readonly attribute ValidityState validity;
733
- readonly attribute DOMString validationMessage;
734
- boolean checkValidity();
735
- void setCustomValidity(in DOMString error);
736
-
737
- readonly attribute NodeList labels;
738
- };
739
-
740
- [TagName=output]
741
- interface HTMLOutputElement : HTMLElement {
742
- [PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
743
- readonly attribute HTMLFormElement form;
744
- attribute DOMString name;
745
-
746
- readonly attribute DOMString type;
747
- attribute DOMString defaultValue;
748
- attribute DOMString value;
749
-
750
- readonly attribute boolean willValidate;
751
- readonly attribute ValidityState validity;
752
- readonly attribute DOMString validationMessage;
753
- boolean checkValidity();
754
- void setCustomValidity(in DOMString error);
755
-
756
- readonly attribute NodeList labels;
757
- };
758
-
759
- [TagName=progress]
760
- interface HTMLProgressElement : HTMLElement {
761
- attribute float value;
762
- attribute float max;
763
- readonly attribute float position;
764
- readonly attribute HTMLFormElement form;
765
- readonly attribute NodeList labels;
766
- };
767
-
768
- [TagName=meter]
769
- interface HTMLMeterElement : HTMLElement {
770
- attribute float value;
771
- attribute float min;
772
- attribute float max;
773
- attribute float low;
774
- attribute float high;
775
- attribute float optimum;
776
- readonly attribute HTMLFormElement form;
777
- readonly attribute NodeList labels;
778
- };
779
-
780
- interface ValidityState {
781
- readonly attribute boolean valueMissing;
782
- readonly attribute boolean typeMismatch;
783
- readonly attribute boolean patternMismatch;
784
- readonly attribute boolean tooLong;
785
- readonly attribute boolean rangeUnderflow;
786
- readonly attribute boolean rangeOverflow;
787
- readonly attribute boolean stepMismatch;
788
- readonly attribute boolean customError;
789
- readonly attribute boolean valid;
790
- };
791
-
792
- [TagName=details]
793
- interface HTMLDetailsElement : HTMLElement {
794
- attribute boolean open;
795
- };
796
-
797
- [TagName=command]
798
- interface HTMLCommandElement : HTMLElement {
799
- attribute DOMString type;
800
- attribute DOMString label;
801
- attribute DOMString icon;
802
- attribute boolean disabled;
803
- attribute boolean checked;
804
- attribute DOMString radiogroup;
805
- };
806
-
807
- [TagName=menu]
808
- interface HTMLMenuElement : HTMLElement {
809
- attribute DOMString type;
810
- attribute DOMString label;
811
- };
812
-
813
-
814
- [TagName=applet]
815
- interface HTMLAppletElement : HTMLElement {
816
- attribute DOMString align;
817
- attribute DOMString alt;
818
- attribute DOMString archive;
819
- attribute DOMString code;
820
- attribute DOMString codeBase;
821
- attribute DOMString height;
822
- attribute unsigned long hspace;
823
- attribute DOMString name;
824
- attribute DOMString _object; // the underscore is not part of the identifier
825
- attribute unsigned long vspace;
826
- attribute DOMString width;
827
- };
828
-
829
- [TagName=marquee]
830
- interface HTMLMarqueeElement : HTMLElement {
831
- attribute DOMString behavior;
832
- attribute DOMString bgColor;
833
- attribute DOMString direction;
834
- attribute DOMString height;
835
- attribute unsigned long hspace;
836
- attribute long loop;
837
- attribute unsigned long scrollAmount;
838
- attribute unsigned long scrollDelay;
839
- attribute DOMString trueSpeed;
840
- attribute unsigned long vspace;
841
- attribute DOMString width;
842
-
843
- attribute Function onbounce;
844
- attribute Function onfinish;
845
- attribute Function onstart;
846
-
847
- void start();
848
- void stop();
849
- };
850
-
851
- [TagName=frameset]
852
- interface HTMLFrameSetElement : HTMLElement {
853
- attribute DOMString cols;
854
- attribute DOMString rows;
855
- attribute Function onafterprint;
856
- attribute Function onbeforeprint;
857
- attribute Function onbeforeunload;
858
- attribute Function onblur;
859
- attribute Function onerror;
860
- attribute Function onfocus;
861
- attribute Function onhashchange;
862
- attribute Function onload;
863
- attribute Function onmessage;
864
- attribute Function onoffline;
865
- attribute Function ononline;
866
- attribute Function onpagehide;
867
- attribute Function onpageshow;
868
- attribute Function onpopstate;
869
- attribute Function onredo;
870
- attribute Function onresize;
871
- attribute Function onstorage;
872
- attribute Function onundo;
873
- attribute Function onunload;
874
- };
875
-
876
- [TagName=frame]
877
- interface HTMLFrameElement : HTMLElement {
878
- attribute DOMString frameBorder;
879
- attribute DOMString longDesc;
880
- attribute DOMString marginHeight;
881
- attribute DOMString marginWidth;
882
- attribute DOMString name;
883
- attribute boolean noResize;
884
- attribute DOMString scrolling;
885
- attribute DOMString src;
886
- readonly attribute Document contentDocument;
887
- };
888
-
889
- [TagName=a]
890
- interface HTMLAnchorElement : HTMLElement {
891
- attribute DOMString coords;
892
- attribute DOMString charset;
893
- attribute DOMString name;
894
- attribute DOMString rev;
895
- attribute DOMString shape;
896
- };
897
-
898
- [TagName=area]
899
- interface HTMLAreaElement : HTMLElement {
900
- attribute boolean noHref;
901
- };
902
-
903
- [TagName=basefont]
904
- interface HTMLBaseFontElement : HTMLElement {
905
- attribute DOMString color;
906
- attribute DOMString face;
907
- attribute long size;
908
- };
909
-
910
- [Supplemental,TagName=body]
911
- interface HTMLBodyElement : HTMLElement {
912
- attribute DOMString text;
913
- attribute DOMString bgColor;
914
- attribute DOMString background;
915
- attribute DOMString link;
916
- attribute DOMString vLink;
917
- attribute DOMString aLink;
918
- };
919
-
920
- [Supplemental,TagName=br]
921
- interface HTMLBRElement {
922
- attribute DOMString clear;
923
- };
924
-
925
- [Supplemental,TagName=caption]
926
- interface HTMLTableCaptionElement {
927
- attribute DOMString align;
928
- };
929
-
930
- [Supplemental,TagName=col]
931
- interface HTMLTableColElement {
932
- attribute DOMString align;
933
- attribute DOMString ch;
934
- attribute DOMString chOff;
935
- attribute DOMString vAlign;
936
- attribute DOMString width;
937
- };
938
-
939
- interface HTMLDirectoryElement : HTMLElement {
940
- attribute boolean compact;
941
- };
942
-
943
- [Supplemental,TagName=div]
944
- interface HTMLDivElement {
945
- attribute DOMString align;
946
- };
947
-
948
- [Supplemental,TagName=dl]
949
- interface HTMLDListElement {
950
- attribute boolean compact;
951
- };
952
-
953
- [Supplemental,TagName=embed]
954
- interface HTMLEmbedElement {
955
- attribute DOMString align;
956
- attribute DOMString name;
957
- };
958
-
959
- [TagName=font]
960
- interface HTMLFontElement : HTMLElement {
961
- attribute DOMString color;
962
- attribute DOMString face;
963
- attribute DOMString size;
964
- };
965
-
966
- [Supplemental,TagName=h1,h2,h3,h4,h5,h6]
967
- interface HTMLHeadingElement {
968
- attribute DOMString align;
969
- };
970
-
971
- [Supplemental,TagName=hr]
972
- interface HTMLHRElement {
973
- attribute DOMString align;
974
- attribute DOMString color;
975
- attribute boolean noShade;
976
- attribute DOMString size;
977
- attribute DOMString width;
978
- };
979
-
980
- [Supplemental,TagName=html]
981
- interface HTMLHtmlElement {
982
- attribute DOMString version;
983
- };
984
-
985
- [Supplemental,TagName=iframe]
986
- interface HTMLIFrameElement {
987
- attribute DOMString align;
988
- attribute DOMString frameBorder;
989
- attribute DOMString longDesc;
990
- attribute DOMString marginHeight;
991
- attribute DOMString marginWidth;
992
- attribute DOMString scrolling;
993
- };
994
-
995
- [Supplemental,TagName=img]
996
- interface HTMLImageElement {
997
- attribute DOMString name;
998
- attribute DOMString align;
999
- attribute DOMString border;
1000
- attribute unsigned long hspace;
1001
- attribute DOMString longDesc;
1002
- attribute unsigned long vspace;
1003
- };
1004
-
1005
- [Supplemental,TagName=input]
1006
- interface HTMLInputElement {
1007
- attribute DOMString align;
1008
- attribute DOMString useMap;
1009
- };
1010
-
1011
- [Supplemental,TagName=legend]
1012
- interface HTMLLegendElement {
1013
- attribute DOMString align;
1014
- };
1015
-
1016
- [Supplemental,TagName=li]
1017
- interface HTMLLIElement {
1018
- attribute DOMString type;
1019
- };
1020
-
1021
- [Supplemental,TagName=link]
1022
- interface HTMLLinkElement {
1023
- attribute DOMString charset;
1024
- attribute DOMString rev;
1025
- attribute DOMString target;
1026
- };
1027
-
1028
- [Supplemental,TagName=menu]
1029
- interface HTMLMenuElement {
1030
- attribute boolean compact;
1031
- };
1032
-
1033
-
1034
- [Supplemental,TagName=meta]
1035
- interface HTMLMetaElement {
1036
- attribute DOMString scheme;
1037
- };
1038
-
1039
- [Supplemental,TagName=object]
1040
- interface HTMLObjectElement {
1041
- attribute DOMString align;
1042
- attribute DOMString archive;
1043
- attribute DOMString border;
1044
- attribute DOMString code;
1045
- attribute DOMString codeBase;
1046
- attribute DOMString codeType;
1047
- attribute boolean declare;
1048
- attribute unsigned long hspace;
1049
- attribute DOMString standby;
1050
- attribute unsigned long vspace;
1051
- };
1052
-
1053
- [Supplemental,TagName=ol]
1054
- interface HTMLOListElement {
1055
- attribute boolean compact;
1056
- attribute DOMString type;
1057
- };
1058
-
1059
- [Supplemental,TagName=p]
1060
- interface HTMLParagraphElement {
1061
- attribute DOMString align;
1062
- };
1063
-
1064
- [Supplemental,TagName=param]
1065
- interface HTMLParamElement {
1066
- attribute DOMString type;
1067
- attribute DOMString valueType;
1068
- };
1069
-
1070
- [Supplemental,TagName=pre]
1071
- interface HTMLPreElement {
1072
- attribute unsigned long width;
1073
- };
1074
-
1075
- [Supplemental,TagName=script]
1076
- interface HTMLScriptElement {
1077
- attribute DOMString event;
1078
- attribute DOMString htmlFor;
1079
- };
1080
-
1081
- [Supplemental,TagName=table]
1082
- interface HTMLTableElement {
1083
- attribute DOMString align;
1084
- attribute DOMString bgColor;
1085
- attribute DOMString border;
1086
- attribute DOMString cellPadding;
1087
- attribute DOMString cellSpacing;
1088
- attribute DOMString frame;
1089
- attribute DOMString rules;
1090
- attribute DOMString width;
1091
- };
1092
-
1093
- [Supplemental,TagName=tbody,tfoot]
1094
- interface HTMLTableSectionElement {
1095
- attribute DOMString align;
1096
- attribute DOMString ch;
1097
- attribute DOMString chOff;
1098
- attribute DOMString vAlign;
1099
- };
1100
-
1101
- [Supplemental,TagName=td]
1102
- interface HTMLTableCellElement {
1103
- attribute DOMString abbr;
1104
- attribute DOMString align;
1105
- attribute DOMString axis;
1106
- attribute DOMString bgColor;
1107
- attribute DOMString ch;
1108
- attribute DOMString chOff;
1109
- attribute DOMString height;
1110
- attribute boolean noWrap;
1111
- attribute DOMString vAlign;
1112
- attribute DOMString width;
1113
- };
1114
-
1115
- [Supplemental,TagName=tr]
1116
- interface HTMLTableRowElement {
1117
- attribute DOMString align;
1118
- attribute DOMString bgColor;
1119
- attribute DOMString ch;
1120
- attribute DOMString chOff;
1121
- attribute DOMString vAlign;
1122
- };
1123
-
1124
- [Supplemental,TagName=ul]
1125
- interface HTMLUListElement {
1126
- attribute boolean compact;
1127
- attribute DOMString type;
1128
- };
1129
-
1130
- // the-thead-element
1131
- [TagName=thead]
1132
- interface HTMLTheadElement : HTMLTableSectionElement {};
1133
-
1134
- // the-dd-element
1135
- [TagName=dd]
1136
- interface HTMLDdElement : HTMLElement {};
1137
-
1138
- // the-address-element
1139
- [TagName=address]
1140
- interface HTMLAddressElement : HTMLElement {};
1141
-
1142
- // the-nav-element
1143
- [TagName=nav]
1144
- interface HTMLNavElement : HTMLElement {};
1145
-
1146
- // the-tfoot-element
1147
- [TagName=tfoot]
1148
- interface HTMLTFootElement : HTMLTableSectionElement {};
1149
-
1150
- // the-sub-and-sup-elements
1151
- [TagName=sub]
1152
- interface HTMLSubElement : HTMLElement {};
1153
- [TagName=sup]
1154
- interface HTMLSupElement : HTMLElement {};
1155
-
1156
- // the-bdo-element
1157
- [TagName=bdo]
1158
- interface HTMLBdoElement : HTMLElement {};
1159
-
1160
- // the-rp-element
1161
- [TagName=rp]
1162
- interface HTMLRpElement : HTMLElement {};
1163
-
1164
- // the-rt-element
1165
- [TagName=rt]
1166
- interface HTMLRtElement : HTMLElement {};
1167
-
1168
- // the-mark-element
1169
- [TagName=mark]
1170
- interface HTMLMarkElement : HTMLElement {};
1171
-
1172
- // the-kbd-element
1173
- [TagName=kbd]
1174
- interface HTMLKbdElement : HTMLElement {};
1175
-
1176
- // the-dfn-element
1177
- [TagName=dfn]
1178
- interface HTMLDfnElement : HTMLElement {};
1179
-
1180
- // the-cite-element
1181
- [TagName=cite]
1182
- interface HTMLCiteElement : HTMLElement {};
1183
-
1184
- // the-ins-element
1185
- [TagName=ins]
1186
- interface HTMLInsElement : HTMLModElement {};
1187
-
1188
- // the-b-element
1189
- [TagName=b]
1190
- interface HTMLBElement : HTMLElement {};
1191
-
1192
- // the-noscript-element
1193
- [TagName=noscript]
1194
- interface HTMLNoscriptElement : HTMLElement {};
1195
-
1196
- // the-figure-element
1197
- [TagName=figure]
1198
- interface HTMLFigureElement : HTMLElement {};
1199
-
1200
- // the-code-element
1201
- [TagName=code]
1202
- interface HTMLCodeElement : HTMLElement {};
1203
-
1204
- // the-q-element
1205
- [TagName=q]
1206
- interface HTMLQElement : HTMLQuoteElement {};
1207
-
1208
- // the-strong-element
1209
- [TagName=strong]
1210
- interface HTMLStrongElement : HTMLElement {};
1211
-
1212
- // the-header-element
1213
- [TagName=header]
1214
- interface HTMLHeaderElement : HTMLElement {};
1215
-
1216
- // the-hgroup-element
1217
- [TagName=hgroup]
1218
- interface HTMLHgroupElement : HTMLElement {};
1219
-
1220
- // the-aside-element
1221
- [TagName=aside]
1222
- interface HTMLAsideElement : HTMLElement {};
1223
-
1224
- // the-samp-element
1225
- [TagName=samp]
1226
- interface HTMLSampElement : HTMLElement {};
1227
-
1228
- // the-section-element
1229
- [TagName=section]
1230
- interface HTMLSectionElement : HTMLElement {};
1231
-
1232
- // the-dt-element
1233
- [TagName=dt]
1234
- interface HTMLDtElement : HTMLElement {};
1235
-
1236
- // the-col-element
1237
- [TagName=col]
1238
- interface HTMLColElement : HTMLTableColElement {};
1239
-
1240
- // the-i-element
1241
- [TagName=i]
1242
- interface HTMLIElement : HTMLElement {};
1243
-
1244
- // the-var-element
1245
- [TagName=var]
1246
- interface HTMLVarElement : HTMLElement {};
1247
-
1248
- // the-abbr-element
1249
- [TagName=abbr]
1250
- interface HTMLAbbrElement : HTMLElement {};
1251
-
1252
- // the-small-element
1253
- [TagName=small]
1254
- interface HTMLSmallElement : HTMLElement {};
1255
-
1256
- // the-footer-element
1257
- [TagName=footer]
1258
- interface HTMLFooterElement : HTMLElement {};
1259
-
1260
- // the-ruby-element
1261
- [TagName=ruby]
1262
- interface HTMLRubyElement : HTMLElement {};
1263
-
1264
- // the-article-element
1265
- [TagName=article]
1266
- interface HTMLArticleElement : HTMLElement {};
1267
-
1268
- // the-del-element
1269
- [TagName=del]
1270
- interface HTMLDelElement : HTMLModElement {};
1271
-
1272
- // the-em-element
1273
- [TagName=em]
1274
- interface HTMLEmElement : HTMLElement {};