Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 16770003: Adding hidden HTMLElement base class back for Dart2JS (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev' hide Symbol; 6 import 'dart:_collection-dev' hide Symbol;
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 @DocsEditable 98 @DocsEditable
99 Stream<ErrorEvent> get onError => errorEvent.forTarget(this); 99 Stream<ErrorEvent> get onError => errorEvent.forTarget(this);
100 } 100 }
101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
102 // for details. All rights reserved. Use of this source code is governed by a 102 // for details. All rights reserved. Use of this source code is governed by a
103 // BSD-style license that can be found in the LICENSE file. 103 // BSD-style license that can be found in the LICENSE file.
104 104
105 105
106 @DocsEditable 106 @DocsEditable
107 @DomName('HTMLAnchorElement') 107 @DomName('HTMLAnchorElement')
108 class AnchorElement extends Element native "HTMLAnchorElement" { 108 class AnchorElement extends _HTMLElement native "HTMLAnchorElement" {
109 109
110 @DomName('HTMLAnchorElement.HTMLAnchorElement') 110 @DomName('HTMLAnchorElement.HTMLAnchorElement')
111 @DocsEditable 111 @DocsEditable
112 factory AnchorElement({String href}) { 112 factory AnchorElement({String href}) {
113 var e = document.$dom_createElement("a"); 113 var e = document.$dom_createElement("a");
114 if (href != null) e.href = href; 114 if (href != null) e.href = href;
115 return e; 115 return e;
116 } 116 }
117 117
118 @DomName('HTMLAnchorElement.download') 118 @DomName('HTMLAnchorElement.download')
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 * DOM Area Element, which links regions of an image map with a hyperlink. 355 * DOM Area Element, which links regions of an image map with a hyperlink.
356 * 356 *
357 * The element can also define an uninteractive region of the map. 357 * The element can also define an uninteractive region of the map.
358 * 358 *
359 * See also: 359 * See also:
360 * 360 *
361 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area) 361 * * [<area>](https://developer.mozilla.org/en-US/docs/HTML/Element/area)
362 * on MDN. 362 * on MDN.
363 */ 363 */
364 @DomName('HTMLAreaElement') 364 @DomName('HTMLAreaElement')
365 class AreaElement extends Element native "HTMLAreaElement" { 365 class AreaElement extends _HTMLElement native "HTMLAreaElement" {
366 366
367 @DomName('HTMLAreaElement.HTMLAreaElement') 367 @DomName('HTMLAreaElement.HTMLAreaElement')
368 @DocsEditable 368 @DocsEditable
369 factory AreaElement() => document.$dom_createElement("area"); 369 factory AreaElement() => document.$dom_createElement("area");
370 370
371 @DomName('HTMLAreaElement.alt') 371 @DomName('HTMLAreaElement.alt')
372 @DocsEditable 372 @DocsEditable
373 String alt; 373 String alt;
374 374
375 @DomName('HTMLAreaElement.coords') 375 @DomName('HTMLAreaElement.coords')
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 @DocsEditable 457 @DocsEditable
458 final String reason; 458 final String reason;
459 } 459 }
460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
461 // for details. All rights reserved. Use of this source code is governed by a 461 // for details. All rights reserved. Use of this source code is governed by a
462 // BSD-style license that can be found in the LICENSE file. 462 // BSD-style license that can be found in the LICENSE file.
463 463
464 464
465 @DocsEditable 465 @DocsEditable
466 @DomName('HTMLBRElement') 466 @DomName('HTMLBRElement')
467 class BRElement extends Element native "HTMLBRElement" { 467 class BRElement extends _HTMLElement native "HTMLBRElement" {
468 468
469 @DomName('HTMLBRElement.HTMLBRElement') 469 @DomName('HTMLBRElement.HTMLBRElement')
470 @DocsEditable 470 @DocsEditable
471 factory BRElement() => document.$dom_createElement("br"); 471 factory BRElement() => document.$dom_createElement("br");
472 } 472 }
473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
474 // for details. All rights reserved. Use of this source code is governed by a 474 // for details. All rights reserved. Use of this source code is governed by a
475 // BSD-style license that can be found in the LICENSE file. 475 // BSD-style license that can be found in the LICENSE file.
476 476
477 477
478 @DocsEditable 478 @DocsEditable
479 @DomName('BarProp') 479 @DomName('BarProp')
480 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar prop 480 // http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#bar prop
481 @deprecated // standard 481 @deprecated // standard
482 class BarProp native "BarProp" { 482 class BarProp native "BarProp" {
483 483
484 @DomName('BarProp.visible') 484 @DomName('BarProp.visible')
485 @DocsEditable 485 @DocsEditable
486 final bool visible; 486 final bool visible;
487 } 487 }
488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
489 // for details. All rights reserved. Use of this source code is governed by a 489 // for details. All rights reserved. Use of this source code is governed by a
490 // BSD-style license that can be found in the LICENSE file. 490 // BSD-style license that can be found in the LICENSE file.
491 491
492 492
493 @DocsEditable 493 @DocsEditable
494 @DomName('HTMLBaseElement') 494 @DomName('HTMLBaseElement')
495 class BaseElement extends Element native "HTMLBaseElement" { 495 class BaseElement extends _HTMLElement native "HTMLBaseElement" {
496 496
497 @DomName('HTMLBaseElement.HTMLBaseElement') 497 @DomName('HTMLBaseElement.HTMLBaseElement')
498 @DocsEditable 498 @DocsEditable
499 factory BaseElement() => document.$dom_createElement("base"); 499 factory BaseElement() => document.$dom_createElement("base");
500 500
501 @DomName('HTMLBaseElement.href') 501 @DomName('HTMLBaseElement.href')
502 @DocsEditable 502 @DocsEditable
503 String href; 503 String href;
504 504
505 @DomName('HTMLBaseElement.target') 505 @DomName('HTMLBaseElement.target')
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); } 560 static _bag_set(bag, key, value) { JS('void', '#[#] = #', bag, key, value); }
561 } 561 }
562 562
563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
564 // for details. All rights reserved. Use of this source code is governed by a 564 // for details. All rights reserved. Use of this source code is governed by a
565 // BSD-style license that can be found in the LICENSE file. 565 // BSD-style license that can be found in the LICENSE file.
566 566
567 567
568 @DocsEditable 568 @DocsEditable
569 @DomName('HTMLBodyElement') 569 @DomName('HTMLBodyElement')
570 class BodyElement extends Element native "HTMLBodyElement" { 570 class BodyElement extends _HTMLElement native "HTMLBodyElement" {
571 571
572 @DomName('HTMLBodyElement.blurEvent') 572 @DomName('HTMLBodyElement.blurEvent')
573 @DocsEditable 573 @DocsEditable
574 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider< Event>('blur'); 574 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider< Event>('blur');
575 575
576 @DomName('HTMLBodyElement.errorEvent') 576 @DomName('HTMLBodyElement.errorEvent')
577 @DocsEditable 577 @DocsEditable
578 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); 578 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error');
579 579
580 @DomName('HTMLBodyElement.focusEvent') 580 @DomName('HTMLBodyElement.focusEvent')
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 @DocsEditable 669 @DocsEditable
670 Stream<Event> get onUnload => unloadEvent.forTarget(this); 670 Stream<Event> get onUnload => unloadEvent.forTarget(this);
671 } 671 }
672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
673 // for details. All rights reserved. Use of this source code is governed by a 673 // for details. All rights reserved. Use of this source code is governed by a
674 // BSD-style license that can be found in the LICENSE file. 674 // BSD-style license that can be found in the LICENSE file.
675 675
676 676
677 @DocsEditable 677 @DocsEditable
678 @DomName('HTMLButtonElement') 678 @DomName('HTMLButtonElement')
679 class ButtonElement extends Element native "HTMLButtonElement" { 679 class ButtonElement extends _HTMLElement native "HTMLButtonElement" {
680 680
681 @DomName('HTMLButtonElement.HTMLButtonElement') 681 @DomName('HTMLButtonElement.HTMLButtonElement')
682 @DocsEditable 682 @DocsEditable
683 factory ButtonElement() => document.$dom_createElement("button"); 683 factory ButtonElement() => document.$dom_createElement("button");
684 684
685 @DomName('HTMLButtonElement.autofocus') 685 @DomName('HTMLButtonElement.autofocus')
686 @DocsEditable 686 @DocsEditable
687 bool autofocus; 687 bool autofocus;
688 688
689 @DomName('HTMLButtonElement.disabled') 689 @DomName('HTMLButtonElement.disabled')
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 @DomName('Canvas2DContextAttributes.alpha') 778 @DomName('Canvas2DContextAttributes.alpha')
779 @DocsEditable 779 @DocsEditable
780 bool alpha; 780 bool alpha;
781 } 781 }
782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
783 // for details. All rights reserved. Use of this source code is governed by a 783 // for details. All rights reserved. Use of this source code is governed by a
784 // BSD-style license that can be found in the LICENSE file. 784 // BSD-style license that can be found in the LICENSE file.
785 785
786 786
787 @DomName('HTMLCanvasElement') 787 @DomName('HTMLCanvasElement')
788 class CanvasElement extends Element implements CanvasImageSource native "HTMLCan vasElement" { 788 class CanvasElement extends _HTMLElement implements CanvasImageSource native "HT MLCanvasElement" {
789 789
790 @DomName('HTMLCanvasElement.HTMLCanvasElement') 790 @DomName('HTMLCanvasElement.HTMLCanvasElement')
791 @DocsEditable 791 @DocsEditable
792 factory CanvasElement({int width, int height}) { 792 factory CanvasElement({int width, int height}) {
793 var e = document.$dom_createElement("canvas"); 793 var e = document.$dom_createElement("canvas");
794 if (width != null) e.width = width; 794 if (width != null) e.width = width;
795 if (height != null) e.height = height; 795 if (height != null) e.height = height;
796 return e; 796 return e;
797 } 797 }
798 798
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1801 // for details. All rights reserved. Use of this source code is governed by a 1801 // for details. All rights reserved. Use of this source code is governed by a
1802 // BSD-style license that can be found in the LICENSE file. 1802 // BSD-style license that can be found in the LICENSE file.
1803 1803
1804 1804
1805 @DocsEditable 1805 @DocsEditable
1806 @DomName('HTMLContentElement') 1806 @DomName('HTMLContentElement')
1807 @SupportedBrowser(SupportedBrowser.CHROME, '26') 1807 @SupportedBrowser(SupportedBrowser.CHROME, '26')
1808 @Experimental 1808 @Experimental
1809 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont ent-element 1809 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#cont ent-element
1810 class ContentElement extends Element native "HTMLContentElement" { 1810 class ContentElement extends _HTMLElement native "HTMLContentElement" {
1811 1811
1812 @DomName('HTMLContentElement.HTMLContentElement') 1812 @DomName('HTMLContentElement.HTMLContentElement')
1813 @DocsEditable 1813 @DocsEditable
1814 factory ContentElement() => document.$dom_createElement("content"); 1814 factory ContentElement() => document.$dom_createElement("content");
1815 1815
1816 /// Checks if this type is supported on the current platform. 1816 /// Checks if this type is supported on the current platform.
1817 static bool get supported => Element.isTagSupported('content'); 1817 static bool get supported => Element.isTagSupported('content');
1818 1818
1819 @DomName('HTMLContentElement.resetStyleInheritance') 1819 @DomName('HTMLContentElement.resetStyleInheritance')
1820 @DocsEditable 1820 @DocsEditable
(...skipping 4207 matching lines...) Expand 10 before | Expand all | Expand 10 after
6028 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, Object detailArg) native; 6028 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, Object detailArg) native;
6029 6029
6030 } 6030 }
6031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6032 // for details. All rights reserved. Use of this source code is governed by a 6032 // for details. All rights reserved. Use of this source code is governed by a
6033 // BSD-style license that can be found in the LICENSE file. 6033 // BSD-style license that can be found in the LICENSE file.
6034 6034
6035 6035
6036 @DocsEditable 6036 @DocsEditable
6037 @DomName('HTMLDListElement') 6037 @DomName('HTMLDListElement')
6038 class DListElement extends Element native "HTMLDListElement" { 6038 class DListElement extends _HTMLElement native "HTMLDListElement" {
6039 6039
6040 @DomName('HTMLDListElement.HTMLDListElement') 6040 @DomName('HTMLDListElement.HTMLDListElement')
6041 @DocsEditable 6041 @DocsEditable
6042 factory DListElement() => document.$dom_createElement("dl"); 6042 factory DListElement() => document.$dom_createElement("dl");
6043 } 6043 }
6044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6045 // for details. All rights reserved. Use of this source code is governed by a 6045 // for details. All rights reserved. Use of this source code is governed by a
6046 // BSD-style license that can be found in the LICENSE file. 6046 // BSD-style license that can be found in the LICENSE file.
6047 6047
6048 6048
6049 @DocsEditable 6049 @DocsEditable
6050 @DomName('HTMLDataListElement') 6050 @DomName('HTMLDataListElement')
6051 @SupportedBrowser(SupportedBrowser.CHROME) 6051 @SupportedBrowser(SupportedBrowser.CHROME)
6052 @SupportedBrowser(SupportedBrowser.FIREFOX) 6052 @SupportedBrowser(SupportedBrowser.FIREFOX)
6053 @SupportedBrowser(SupportedBrowser.IE, '10') 6053 @SupportedBrowser(SupportedBrowser.IE, '10')
6054 @SupportedBrowser(SupportedBrowser.SAFARI) 6054 @SupportedBrowser(SupportedBrowser.SAFARI)
6055 class DataListElement extends Element native "HTMLDataListElement" { 6055 class DataListElement extends _HTMLElement native "HTMLDataListElement" {
6056 6056
6057 @DomName('HTMLDataListElement.HTMLDataListElement') 6057 @DomName('HTMLDataListElement.HTMLDataListElement')
6058 @DocsEditable 6058 @DocsEditable
6059 factory DataListElement() => document.$dom_createElement("datalist"); 6059 factory DataListElement() => document.$dom_createElement("datalist");
6060 6060
6061 /// Checks if this type is supported on the current platform. 6061 /// Checks if this type is supported on the current platform.
6062 static bool get supported => Element.isTagSupported('datalist'); 6062 static bool get supported => Element.isTagSupported('datalist');
6063 6063
6064 @DomName('HTMLDataListElement.options') 6064 @DomName('HTMLDataListElement.options')
6065 @DocsEditable 6065 @DocsEditable
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
6215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6216 // for details. All rights reserved. Use of this source code is governed by a 6216 // for details. All rights reserved. Use of this source code is governed by a
6217 // BSD-style license that can be found in the LICENSE file. 6217 // BSD-style license that can be found in the LICENSE file.
6218 6218
6219 6219
6220 @DocsEditable 6220 @DocsEditable
6221 @DomName('HTMLDetailsElement') 6221 @DomName('HTMLDetailsElement')
6222 @SupportedBrowser(SupportedBrowser.CHROME) 6222 @SupportedBrowser(SupportedBrowser.CHROME)
6223 @SupportedBrowser(SupportedBrowser.SAFARI) 6223 @SupportedBrowser(SupportedBrowser.SAFARI)
6224 @Experimental 6224 @Experimental
6225 class DetailsElement extends Element native "HTMLDetailsElement" { 6225 class DetailsElement extends _HTMLElement native "HTMLDetailsElement" {
6226 6226
6227 @DomName('HTMLDetailsElement.HTMLDetailsElement') 6227 @DomName('HTMLDetailsElement.HTMLDetailsElement')
6228 @DocsEditable 6228 @DocsEditable
6229 factory DetailsElement() => document.$dom_createElement("details"); 6229 factory DetailsElement() => document.$dom_createElement("details");
6230 6230
6231 /// Checks if this type is supported on the current platform. 6231 /// Checks if this type is supported on the current platform.
6232 static bool get supported => Element.isTagSupported('details'); 6232 static bool get supported => Element.isTagSupported('details');
6233 6233
6234 @DomName('HTMLDetailsElement.open') 6234 @DomName('HTMLDetailsElement.open')
6235 @DocsEditable 6235 @DocsEditable
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
6351 final num gamma; 6351 final num gamma;
6352 } 6352 }
6353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6353 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6354 // for details. All rights reserved. Use of this source code is governed by a 6354 // for details. All rights reserved. Use of this source code is governed by a
6355 // BSD-style license that can be found in the LICENSE file. 6355 // BSD-style license that can be found in the LICENSE file.
6356 6356
6357 6357
6358 @DocsEditable 6358 @DocsEditable
6359 @DomName('HTMLDialogElement') 6359 @DomName('HTMLDialogElement')
6360 @Unstable 6360 @Unstable
6361 class DialogElement extends Element native "HTMLDialogElement" { 6361 class DialogElement extends _HTMLElement native "HTMLDialogElement" {
6362 6362
6363 @DomName('HTMLDialogElement.open') 6363 @DomName('HTMLDialogElement.open')
6364 @DocsEditable 6364 @DocsEditable
6365 bool open; 6365 bool open;
6366 6366
6367 @DomName('HTMLDialogElement.close') 6367 @DomName('HTMLDialogElement.close')
6368 @DocsEditable 6368 @DocsEditable
6369 void close() native; 6369 void close() native;
6370 6370
6371 @DomName('HTMLDialogElement.show') 6371 @DomName('HTMLDialogElement.show')
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
6591 * div.text = 'Here's my new DivElem 6591 * div.text = 'Here's my new DivElem
6592 * document.body.elements.add(elem); 6592 * document.body.elements.add(elem);
6593 * 6593 *
6594 * See also: 6594 * See also:
6595 * 6595 *
6596 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. 6596 * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C.
6597 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f rom W3C. 6597 * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) f rom W3C.
6598 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C. 6598 * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C.
6599 */ 6599 */
6600 @DomName('HTMLDivElement') 6600 @DomName('HTMLDivElement')
6601 class DivElement extends Element native "HTMLDivElement" { 6601 class DivElement extends _HTMLElement native "HTMLDivElement" {
6602 6602
6603 @DomName('HTMLDivElement.HTMLDivElement') 6603 @DomName('HTMLDivElement.HTMLDivElement')
6604 @DocsEditable 6604 @DocsEditable
6605 factory DivElement() => document.$dom_createElement("div"); 6605 factory DivElement() => document.$dom_createElement("div");
6606 } 6606 }
6607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6608 // for details. All rights reserved. Use of this source code is governed by a 6608 // for details. All rights reserved. Use of this source code is governed by a
6609 // BSD-style license that can be found in the LICENSE file. 6609 // BSD-style license that can be found in the LICENSE file.
6610 6610
6611 6611
(...skipping 2941 matching lines...) Expand 10 before | Expand all | Expand 10 after
9553 // for details. All rights reserved. Use of this source code is governed by a 9553 // for details. All rights reserved. Use of this source code is governed by a
9554 // BSD-style license that can be found in the LICENSE file. 9554 // BSD-style license that can be found in the LICENSE file.
9555 9555
9556 9556
9557 @DocsEditable 9557 @DocsEditable
9558 @DomName('HTMLEmbedElement') 9558 @DomName('HTMLEmbedElement')
9559 @SupportedBrowser(SupportedBrowser.CHROME) 9559 @SupportedBrowser(SupportedBrowser.CHROME)
9560 @SupportedBrowser(SupportedBrowser.IE) 9560 @SupportedBrowser(SupportedBrowser.IE)
9561 @SupportedBrowser(SupportedBrowser.SAFARI) 9561 @SupportedBrowser(SupportedBrowser.SAFARI)
9562 @Unstable 9562 @Unstable
9563 class EmbedElement extends Element native "HTMLEmbedElement" { 9563 class EmbedElement extends _HTMLElement native "HTMLEmbedElement" {
9564 9564
9565 @DomName('HTMLEmbedElement.HTMLEmbedElement') 9565 @DomName('HTMLEmbedElement.HTMLEmbedElement')
9566 @DocsEditable 9566 @DocsEditable
9567 factory EmbedElement() => document.$dom_createElement("embed"); 9567 factory EmbedElement() => document.$dom_createElement("embed");
9568 9568
9569 /// Checks if this type is supported on the current platform. 9569 /// Checks if this type is supported on the current platform.
9570 static bool get supported => Element.isTagSupported('embed'); 9570 static bool get supported => Element.isTagSupported('embed');
9571 9571
9572 @DomName('HTMLEmbedElement.align') 9572 @DomName('HTMLEmbedElement.align')
9573 @DocsEditable 9573 @DocsEditable
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
10221 10221
10222 } 10222 }
10223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10224 // for details. All rights reserved. Use of this source code is governed by a 10224 // for details. All rights reserved. Use of this source code is governed by a
10225 // BSD-style license that can be found in the LICENSE file. 10225 // BSD-style license that can be found in the LICENSE file.
10226 10226
10227 10227
10228 @DocsEditable 10228 @DocsEditable
10229 @DomName('HTMLFieldSetElement') 10229 @DomName('HTMLFieldSetElement')
10230 @Unstable 10230 @Unstable
10231 class FieldSetElement extends Element native "HTMLFieldSetElement" { 10231 class FieldSetElement extends _HTMLElement native "HTMLFieldSetElement" {
10232 10232
10233 @DomName('HTMLFieldSetElement.HTMLFieldSetElement') 10233 @DomName('HTMLFieldSetElement.HTMLFieldSetElement')
10234 @DocsEditable 10234 @DocsEditable
10235 factory FieldSetElement() => document.$dom_createElement("fieldset"); 10235 factory FieldSetElement() => document.$dom_createElement("fieldset");
10236 10236
10237 @DomName('HTMLFieldSetElement.disabled') 10237 @DomName('HTMLFieldSetElement.disabled')
10238 @DocsEditable 10238 @DocsEditable
10239 bool disabled; 10239 bool disabled;
10240 10240
10241 @DomName('HTMLFieldSetElement.elements') 10241 @DomName('HTMLFieldSetElement.elements')
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
10980 @DocsEditable 10980 @DocsEditable
10981 void append(String name, value, [String filename]) native; 10981 void append(String name, value, [String filename]) native;
10982 } 10982 }
10983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 10983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10984 // for details. All rights reserved. Use of this source code is governed by a 10984 // for details. All rights reserved. Use of this source code is governed by a
10985 // BSD-style license that can be found in the LICENSE file. 10985 // BSD-style license that can be found in the LICENSE file.
10986 10986
10987 10987
10988 @DocsEditable 10988 @DocsEditable
10989 @DomName('HTMLFormElement') 10989 @DomName('HTMLFormElement')
10990 class FormElement extends Element native "HTMLFormElement" { 10990 class FormElement extends _HTMLElement native "HTMLFormElement" {
10991 10991
10992 @DomName('HTMLFormElement.autocompleteEvent') 10992 @DomName('HTMLFormElement.autocompleteEvent')
10993 @DocsEditable 10993 @DocsEditable
10994 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute 10994 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute
10995 @Experimental 10995 @Experimental
10996 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP rovider<Event>('autocomplete'); 10996 static const EventStreamProvider<Event> autocompleteEvent = const EventStreamP rovider<Event>('autocomplete');
10997 10997
10998 @DomName('HTMLFormElement.autocompleteerrorEvent') 10998 @DomName('HTMLFormElement.autocompleteerrorEvent')
10999 @DocsEditable 10999 @DocsEditable
11000 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute 11000 // http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of- controls-and-forms.html#autofilling-form-controls:-the-autocomplete-attribute
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
11251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11251 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11252 // for details. All rights reserved. Use of this source code is governed by a 11252 // for details. All rights reserved. Use of this source code is governed by a
11253 // BSD-style license that can be found in the LICENSE file. 11253 // BSD-style license that can be found in the LICENSE file.
11254 11254
11255 11255
11256 @DocsEditable 11256 @DocsEditable
11257 /** 11257 /**
11258 * An `<hr>` tag. 11258 * An `<hr>` tag.
11259 */ 11259 */
11260 @DomName('HTMLHRElement') 11260 @DomName('HTMLHRElement')
11261 class HRElement extends Element native "HTMLHRElement" { 11261 class HRElement extends _HTMLElement native "HTMLHRElement" {
11262 11262
11263 @DomName('HTMLHRElement.HTMLHRElement') 11263 @DomName('HTMLHRElement.HTMLHRElement')
11264 @DocsEditable 11264 @DocsEditable
11265 factory HRElement() => document.$dom_createElement("hr"); 11265 factory HRElement() => document.$dom_createElement("hr");
11266 } 11266 }
11267 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 11267 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
11268 // for details. All rights reserved. Use of this source code is governed by a 11268 // for details. All rights reserved. Use of this source code is governed by a
11269 // BSD-style license that can be found in the LICENSE file. 11269 // BSD-style license that can be found in the LICENSE file.
11270 11270
11271 // WARNING: Do not edit - generated code. 11271 // WARNING: Do not edit - generated code.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
11304 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St ring oldURL, String newURL) native; 11304 void $dom_initHashChangeEvent(String type, bool canBubble, bool cancelable, St ring oldURL, String newURL) native;
11305 11305
11306 } 11306 }
11307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11308 // for details. All rights reserved. Use of this source code is governed by a 11308 // for details. All rights reserved. Use of this source code is governed by a
11309 // BSD-style license that can be found in the LICENSE file. 11309 // BSD-style license that can be found in the LICENSE file.
11310 11310
11311 11311
11312 @DocsEditable 11312 @DocsEditable
11313 @DomName('HTMLHeadElement') 11313 @DomName('HTMLHeadElement')
11314 class HeadElement extends Element native "HTMLHeadElement" { 11314 class HeadElement extends _HTMLElement native "HTMLHeadElement" {
11315 11315
11316 @DomName('HTMLHeadElement.HTMLHeadElement') 11316 @DomName('HTMLHeadElement.HTMLHeadElement')
11317 @DocsEditable 11317 @DocsEditable
11318 factory HeadElement() => document.$dom_createElement("head"); 11318 factory HeadElement() => document.$dom_createElement("head");
11319 } 11319 }
11320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11321 // for details. All rights reserved. Use of this source code is governed by a 11321 // for details. All rights reserved. Use of this source code is governed by a
11322 // BSD-style license that can be found in the LICENSE file. 11322 // BSD-style license that can be found in the LICENSE file.
11323 11323
11324 11324
11325 @DocsEditable 11325 @DocsEditable
11326 @DomName('HTMLHeadingElement') 11326 @DomName('HTMLHeadingElement')
11327 class HeadingElement extends Element native "HTMLHeadingElement" { 11327 class HeadingElement extends _HTMLElement native "HTMLHeadingElement" {
11328 11328
11329 @DomName('HTMLHeadingElement.HTMLHeadingElement') 11329 @DomName('HTMLHeadingElement.HTMLHeadingElement')
11330 @DocsEditable 11330 @DocsEditable
11331 factory HeadingElement.h1() => document.$dom_createElement("h1"); 11331 factory HeadingElement.h1() => document.$dom_createElement("h1");
11332 11332
11333 @DomName('HTMLHeadingElement.HTMLHeadingElement') 11333 @DomName('HTMLHeadingElement.HTMLHeadingElement')
11334 @DocsEditable 11334 @DocsEditable
11335 factory HeadingElement.h2() => document.$dom_createElement("h2"); 11335 factory HeadingElement.h2() => document.$dom_createElement("h2");
11336 11336
11337 @DomName('HTMLHeadingElement.HTMLHeadingElement') 11337 @DomName('HTMLHeadingElement.HTMLHeadingElement')
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
11720 // Note: used to polyfill <template> 11720 // Note: used to polyfill <template>
11721 Document _templateContentsOwner; 11721 Document _templateContentsOwner;
11722 } 11722 }
11723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11724 // for details. All rights reserved. Use of this source code is governed by a 11724 // for details. All rights reserved. Use of this source code is governed by a
11725 // BSD-style license that can be found in the LICENSE file. 11725 // BSD-style license that can be found in the LICENSE file.
11726 11726
11727 11727
11728 @DocsEditable 11728 @DocsEditable
11729 @DomName('HTMLHtmlElement') 11729 @DomName('HTMLHtmlElement')
11730 class HtmlElement extends Element native "HTMLHtmlElement" { 11730 class HtmlElement extends _HTMLElement native "HTMLHtmlElement" {
11731 11731
11732 @DomName('HTMLHtmlElement.HTMLHtmlElement') 11732 @DomName('HTMLHtmlElement.HTMLHtmlElement')
11733 @DocsEditable 11733 @DocsEditable
11734 factory HtmlElement() => document.$dom_createElement("html"); 11734 factory HtmlElement() => document.$dom_createElement("html");
11735 } 11735 }
11736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11737 // for details. All rights reserved. Use of this source code is governed by a 11737 // for details. All rights reserved. Use of this source code is governed by a
11738 // BSD-style license that can be found in the LICENSE file. 11738 // BSD-style license that can be found in the LICENSE file.
11739 11739
11740 11740
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
12383 @DocsEditable 12383 @DocsEditable
12384 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); 12384 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this);
12385 } 12385 }
12386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12387 // for details. All rights reserved. Use of this source code is governed by a 12387 // for details. All rights reserved. Use of this source code is governed by a
12388 // BSD-style license that can be found in the LICENSE file. 12388 // BSD-style license that can be found in the LICENSE file.
12389 12389
12390 12390
12391 @DocsEditable 12391 @DocsEditable
12392 @DomName('HTMLIFrameElement') 12392 @DomName('HTMLIFrameElement')
12393 class IFrameElement extends Element native "HTMLIFrameElement" { 12393 class IFrameElement extends _HTMLElement native "HTMLIFrameElement" {
12394 12394
12395 @DomName('HTMLIFrameElement.HTMLIFrameElement') 12395 @DomName('HTMLIFrameElement.HTMLIFrameElement')
12396 @DocsEditable 12396 @DocsEditable
12397 factory IFrameElement() => document.$dom_createElement("iframe"); 12397 factory IFrameElement() => document.$dom_createElement("iframe");
12398 12398
12399 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW indow); 12399 WindowBase get contentWindow => _convertNativeToDart_Window(this._get_contentW indow);
12400 @JSName('contentWindow') 12400 @JSName('contentWindow')
12401 @DomName('HTMLIFrameElement.contentWindow') 12401 @DomName('HTMLIFrameElement.contentWindow')
12402 @DocsEditable 12402 @DocsEditable
12403 @Creates('Window|=Object') 12403 @Creates('Window|=Object')
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
12453 @DocsEditable 12453 @DocsEditable
12454 final int width; 12454 final int width;
12455 12455
12456 } 12456 }
12457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12458 // for details. All rights reserved. Use of this source code is governed by a 12458 // for details. All rights reserved. Use of this source code is governed by a
12459 // BSD-style license that can be found in the LICENSE file. 12459 // BSD-style license that can be found in the LICENSE file.
12460 12460
12461 12461
12462 @DomName('HTMLImageElement') 12462 @DomName('HTMLImageElement')
12463 class ImageElement extends Element implements CanvasImageSource native "HTMLImag eElement" { 12463 class ImageElement extends _HTMLElement implements CanvasImageSource native "HTM LImageElement" {
12464 12464
12465 @DomName('HTMLImageElement.HTMLImageElement') 12465 @DomName('HTMLImageElement.HTMLImageElement')
12466 @DocsEditable 12466 @DocsEditable
12467 factory ImageElement({String src, int width, int height}) { 12467 factory ImageElement({String src, int width, int height}) {
12468 var e = document.$dom_createElement("img"); 12468 var e = document.$dom_createElement("img");
12469 if (src != null) e.src = src; 12469 if (src != null) e.src = src;
12470 if (width != null) e.width = width; 12470 if (width != null) e.width = width;
12471 if (height != null) e.height = height; 12471 if (height != null) e.height = height;
12472 return e; 12472 return e;
12473 } 12473 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
12532 @deprecated // deprecated 12532 @deprecated // deprecated
12533 final int y; 12533 final int y;
12534 12534
12535 } 12535 }
12536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12537 // for details. All rights reserved. Use of this source code is governed by a 12537 // for details. All rights reserved. Use of this source code is governed by a
12538 // BSD-style license that can be found in the LICENSE file. 12538 // BSD-style license that can be found in the LICENSE file.
12539 12539
12540 12540
12541 @DomName('HTMLInputElement') 12541 @DomName('HTMLInputElement')
12542 class InputElement extends Element implements 12542 class InputElement extends _HTMLElement implements
12543 HiddenInputElement, 12543 HiddenInputElement,
12544 SearchInputElement, 12544 SearchInputElement,
12545 TextInputElement, 12545 TextInputElement,
12546 UrlInputElement, 12546 UrlInputElement,
12547 TelephoneInputElement, 12547 TelephoneInputElement,
12548 EmailInputElement, 12548 EmailInputElement,
12549 PasswordInputElement, 12549 PasswordInputElement,
12550 DateInputElement, 12550 DateInputElement,
12551 MonthInputElement, 12551 MonthInputElement,
12552 WeekInputElement, 12552 WeekInputElement,
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after
13591 // for details. All rights reserved. Use of this source code is governed by a 13591 // for details. All rights reserved. Use of this source code is governed by a
13592 // BSD-style license that can be found in the LICENSE file. 13592 // BSD-style license that can be found in the LICENSE file.
13593 13593
13594 13594
13595 @DocsEditable 13595 @DocsEditable
13596 @DomName('HTMLKeygenElement') 13596 @DomName('HTMLKeygenElement')
13597 @SupportedBrowser(SupportedBrowser.CHROME) 13597 @SupportedBrowser(SupportedBrowser.CHROME)
13598 @SupportedBrowser(SupportedBrowser.SAFARI) 13598 @SupportedBrowser(SupportedBrowser.SAFARI)
13599 @Experimental 13599 @Experimental
13600 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen t.html#the-keygen-element 13600 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-elemen t.html#the-keygen-element
13601 class KeygenElement extends Element native "HTMLKeygenElement" { 13601 class KeygenElement extends _HTMLElement native "HTMLKeygenElement" {
13602 13602
13603 @DomName('HTMLKeygenElement.HTMLKeygenElement') 13603 @DomName('HTMLKeygenElement.HTMLKeygenElement')
13604 @DocsEditable 13604 @DocsEditable
13605 factory KeygenElement() => document.$dom_createElement("keygen"); 13605 factory KeygenElement() => document.$dom_createElement("keygen");
13606 13606
13607 /// Checks if this type is supported on the current platform. 13607 /// Checks if this type is supported on the current platform.
13608 static bool get supported => Element.isTagSupported('keygen') && (new Element. tag('keygen') is KeygenElement); 13608 static bool get supported => Element.isTagSupported('keygen') && (new Element. tag('keygen') is KeygenElement);
13609 13609
13610 @DomName('HTMLKeygenElement.autofocus') 13610 @DomName('HTMLKeygenElement.autofocus')
13611 @DocsEditable 13611 @DocsEditable
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
13662 @DocsEditable 13662 @DocsEditable
13663 void setCustomValidity(String error) native; 13663 void setCustomValidity(String error) native;
13664 } 13664 }
13665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13666 // for details. All rights reserved. Use of this source code is governed by a 13666 // for details. All rights reserved. Use of this source code is governed by a
13667 // BSD-style license that can be found in the LICENSE file. 13667 // BSD-style license that can be found in the LICENSE file.
13668 13668
13669 13669
13670 @DocsEditable 13670 @DocsEditable
13671 @DomName('HTMLLIElement') 13671 @DomName('HTMLLIElement')
13672 class LIElement extends Element native "HTMLLIElement" { 13672 class LIElement extends _HTMLElement native "HTMLLIElement" {
13673 13673
13674 @DomName('HTMLLIElement.HTMLLIElement') 13674 @DomName('HTMLLIElement.HTMLLIElement')
13675 @DocsEditable 13675 @DocsEditable
13676 factory LIElement() => document.$dom_createElement("li"); 13676 factory LIElement() => document.$dom_createElement("li");
13677 13677
13678 @DomName('HTMLLIElement.type') 13678 @DomName('HTMLLIElement.type')
13679 @DocsEditable 13679 @DocsEditable
13680 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLLIElement-partial 13680 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#H TMLLIElement-partial
13681 @deprecated // deprecated 13681 @deprecated // deprecated
13682 String type; 13682 String type;
13683 13683
13684 @DomName('HTMLLIElement.value') 13684 @DomName('HTMLLIElement.value')
13685 @DocsEditable 13685 @DocsEditable
13686 int value; 13686 int value;
13687 } 13687 }
13688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13689 // for details. All rights reserved. Use of this source code is governed by a 13689 // for details. All rights reserved. Use of this source code is governed by a
13690 // BSD-style license that can be found in the LICENSE file. 13690 // BSD-style license that can be found in the LICENSE file.
13691 13691
13692 13692
13693 @DocsEditable 13693 @DocsEditable
13694 @DomName('HTMLLabelElement') 13694 @DomName('HTMLLabelElement')
13695 class LabelElement extends Element native "HTMLLabelElement" { 13695 class LabelElement extends _HTMLElement native "HTMLLabelElement" {
13696 13696
13697 @DomName('HTMLLabelElement.HTMLLabelElement') 13697 @DomName('HTMLLabelElement.HTMLLabelElement')
13698 @DocsEditable 13698 @DocsEditable
13699 factory LabelElement() => document.$dom_createElement("label"); 13699 factory LabelElement() => document.$dom_createElement("label");
13700 13700
13701 @DomName('HTMLLabelElement.control') 13701 @DomName('HTMLLabelElement.control')
13702 @DocsEditable 13702 @DocsEditable
13703 final Element control; 13703 final Element control;
13704 13704
13705 @DomName('HTMLLabelElement.form') 13705 @DomName('HTMLLabelElement.form')
13706 @DocsEditable 13706 @DocsEditable
13707 final FormElement form; 13707 final FormElement form;
13708 13708
13709 @DomName('HTMLLabelElement.htmlFor') 13709 @DomName('HTMLLabelElement.htmlFor')
13710 @DocsEditable 13710 @DocsEditable
13711 String htmlFor; 13711 String htmlFor;
13712 } 13712 }
13713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13714 // for details. All rights reserved. Use of this source code is governed by a 13714 // for details. All rights reserved. Use of this source code is governed by a
13715 // BSD-style license that can be found in the LICENSE file. 13715 // BSD-style license that can be found in the LICENSE file.
13716 13716
13717 13717
13718 @DocsEditable 13718 @DocsEditable
13719 @DomName('HTMLLegendElement') 13719 @DomName('HTMLLegendElement')
13720 class LegendElement extends Element native "HTMLLegendElement" { 13720 class LegendElement extends _HTMLElement native "HTMLLegendElement" {
13721 13721
13722 @DomName('HTMLLegendElement.HTMLLegendElement') 13722 @DomName('HTMLLegendElement.HTMLLegendElement')
13723 @DocsEditable 13723 @DocsEditable
13724 factory LegendElement() => document.$dom_createElement("legend"); 13724 factory LegendElement() => document.$dom_createElement("legend");
13725 13725
13726 @DomName('HTMLLegendElement.form') 13726 @DomName('HTMLLegendElement.form')
13727 @DocsEditable 13727 @DocsEditable
13728 final FormElement form; 13728 final FormElement form;
13729 } 13729 }
13730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13731 // for details. All rights reserved. Use of this source code is governed by a 13731 // for details. All rights reserved. Use of this source code is governed by a
13732 // BSD-style license that can be found in the LICENSE file. 13732 // BSD-style license that can be found in the LICENSE file.
13733 13733
13734 13734
13735 @DocsEditable 13735 @DocsEditable
13736 @DomName('HTMLLinkElement') 13736 @DomName('HTMLLinkElement')
13737 class LinkElement extends Element native "HTMLLinkElement" { 13737 class LinkElement extends _HTMLElement native "HTMLLinkElement" {
13738 13738
13739 @DomName('HTMLLinkElement.HTMLLinkElement') 13739 @DomName('HTMLLinkElement.HTMLLinkElement')
13740 @DocsEditable 13740 @DocsEditable
13741 factory LinkElement() => document.$dom_createElement("link"); 13741 factory LinkElement() => document.$dom_createElement("link");
13742 13742
13743 @DomName('HTMLLinkElement.disabled') 13743 @DomName('HTMLLinkElement.disabled')
13744 @DocsEditable 13744 @DocsEditable
13745 bool disabled; 13745 bool disabled;
13746 13746
13747 @DomName('HTMLLinkElement.href') 13747 @DomName('HTMLLinkElement.href')
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
13861 // http://webaudio.github.io/web-midi-api/#midierrorcallback 13861 // http://webaudio.github.io/web-midi-api/#midierrorcallback
13862 @Experimental 13862 @Experimental
13863 typedef void MidiErrorCallback(DomError error); 13863 typedef void MidiErrorCallback(DomError error);
13864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13865 // for details. All rights reserved. Use of this source code is governed by a 13865 // for details. All rights reserved. Use of this source code is governed by a
13866 // BSD-style license that can be found in the LICENSE file. 13866 // BSD-style license that can be found in the LICENSE file.
13867 13867
13868 13868
13869 @DocsEditable 13869 @DocsEditable
13870 @DomName('HTMLMapElement') 13870 @DomName('HTMLMapElement')
13871 class MapElement extends Element native "HTMLMapElement" { 13871 class MapElement extends _HTMLElement native "HTMLMapElement" {
13872 13872
13873 @DomName('HTMLMapElement.HTMLMapElement') 13873 @DomName('HTMLMapElement.HTMLMapElement')
13874 @DocsEditable 13874 @DocsEditable
13875 factory MapElement() => document.$dom_createElement("map"); 13875 factory MapElement() => document.$dom_createElement("map");
13876 13876
13877 @DomName('HTMLMapElement.areas') 13877 @DomName('HTMLMapElement.areas')
13878 @DocsEditable 13878 @DocsEditable
13879 final HtmlCollection areas; 13879 final HtmlCollection areas;
13880 13880
13881 @DomName('HTMLMapElement.name') 13881 @DomName('HTMLMapElement.name')
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
13971 void unpause() native; 13971 void unpause() native;
13972 } 13972 }
13973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13973 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13974 // for details. All rights reserved. Use of this source code is governed by a 13974 // for details. All rights reserved. Use of this source code is governed by a
13975 // BSD-style license that can be found in the LICENSE file. 13975 // BSD-style license that can be found in the LICENSE file.
13976 13976
13977 13977
13978 @DocsEditable 13978 @DocsEditable
13979 @DomName('HTMLMediaElement') 13979 @DomName('HTMLMediaElement')
13980 @Unstable 13980 @Unstable
13981 class MediaElement extends Element native "HTMLMediaElement" { 13981 class MediaElement extends _HTMLElement native "HTMLMediaElement" {
13982 13982
13983 @DomName('HTMLMediaElement.canplayEvent') 13983 @DomName('HTMLMediaElement.canplayEvent')
13984 @DocsEditable 13984 @DocsEditable
13985 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid er<Event>('canplay'); 13985 static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvid er<Event>('canplay');
13986 13986
13987 @DomName('HTMLMediaElement.canplaythroughEvent') 13987 @DomName('HTMLMediaElement.canplaythroughEvent')
13988 @DocsEditable 13988 @DocsEditable
13989 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea mProvider<Event>('canplaythrough'); 13989 static const EventStreamProvider<Event> canPlayThroughEvent = const EventStrea mProvider<Event>('canplaythrough');
13990 13990
13991 @DomName('HTMLMediaElement.durationchangeEvent') 13991 @DomName('HTMLMediaElement.durationchangeEvent')
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
15076 * An HTML <menu> element. 15076 * An HTML <menu> element.
15077 * 15077 *
15078 * A <menu> element represents an unordered list of menu commands. 15078 * A <menu> element represents an unordered list of menu commands.
15079 * 15079 *
15080 * See also: 15080 * See also:
15081 * 15081 *
15082 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN. 15082 * * [Menu Element](https://developer.mozilla.org/en-US/docs/HTML/Element/menu) from MDN.
15083 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C. 15083 * * [Menu Element](http://www.w3.org/TR/html5/the-menu-element.html#the-menu-e lement) from the W3C.
15084 */ 15084 */
15085 @DomName('HTMLMenuElement') 15085 @DomName('HTMLMenuElement')
15086 class MenuElement extends Element native "HTMLMenuElement" { 15086 class MenuElement extends _HTMLElement native "HTMLMenuElement" {
15087 15087
15088 @DomName('HTMLMenuElement.HTMLMenuElement') 15088 @DomName('HTMLMenuElement.HTMLMenuElement')
15089 @DocsEditable 15089 @DocsEditable
15090 factory MenuElement() => document.$dom_createElement("menu"); 15090 factory MenuElement() => document.$dom_createElement("menu");
15091 } 15091 }
15092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15093 // for details. All rights reserved. Use of this source code is governed by a 15093 // for details. All rights reserved. Use of this source code is governed by a
15094 // BSD-style license that can be found in the LICENSE file. 15094 // BSD-style license that can be found in the LICENSE file.
15095 15095
15096 15096
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
15234 @DocsEditable 15234 @DocsEditable
15235 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); 15235 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
15236 } 15236 }
15237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15238 // for details. All rights reserved. Use of this source code is governed by a 15238 // for details. All rights reserved. Use of this source code is governed by a
15239 // BSD-style license that can be found in the LICENSE file. 15239 // BSD-style license that can be found in the LICENSE file.
15240 15240
15241 15241
15242 @DocsEditable 15242 @DocsEditable
15243 @DomName('HTMLMetaElement') 15243 @DomName('HTMLMetaElement')
15244 class MetaElement extends Element native "HTMLMetaElement" { 15244 class MetaElement extends _HTMLElement native "HTMLMetaElement" {
15245 15245
15246 @DomName('HTMLMetaElement.content') 15246 @DomName('HTMLMetaElement.content')
15247 @DocsEditable 15247 @DocsEditable
15248 String content; 15248 String content;
15249 15249
15250 @DomName('HTMLMetaElement.httpEquiv') 15250 @DomName('HTMLMetaElement.httpEquiv')
15251 @DocsEditable 15251 @DocsEditable
15252 String httpEquiv; 15252 String httpEquiv;
15253 15253
15254 @DomName('HTMLMetaElement.name') 15254 @DomName('HTMLMetaElement.name')
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
15292 // for details. All rights reserved. Use of this source code is governed by a 15292 // for details. All rights reserved. Use of this source code is governed by a
15293 // BSD-style license that can be found in the LICENSE file. 15293 // BSD-style license that can be found in the LICENSE file.
15294 15294
15295 15295
15296 @DocsEditable 15296 @DocsEditable
15297 @DomName('HTMLMeterElement') 15297 @DomName('HTMLMeterElement')
15298 @SupportedBrowser(SupportedBrowser.CHROME) 15298 @SupportedBrowser(SupportedBrowser.CHROME)
15299 @SupportedBrowser(SupportedBrowser.FIREFOX) 15299 @SupportedBrowser(SupportedBrowser.FIREFOX)
15300 @SupportedBrowser(SupportedBrowser.SAFARI) 15300 @SupportedBrowser(SupportedBrowser.SAFARI)
15301 @Unstable 15301 @Unstable
15302 class MeterElement extends Element native "HTMLMeterElement" { 15302 class MeterElement extends _HTMLElement native "HTMLMeterElement" {
15303 15303
15304 @DomName('HTMLMeterElement.HTMLMeterElement') 15304 @DomName('HTMLMeterElement.HTMLMeterElement')
15305 @DocsEditable 15305 @DocsEditable
15306 factory MeterElement() => document.$dom_createElement("meter"); 15306 factory MeterElement() => document.$dom_createElement("meter");
15307 15307
15308 /// Checks if this type is supported on the current platform. 15308 /// Checks if this type is supported on the current platform.
15309 static bool get supported => Element.isTagSupported('meter'); 15309 static bool get supported => Element.isTagSupported('meter');
15310 15310
15311 @DomName('HTMLMeterElement.high') 15311 @DomName('HTMLMeterElement.high')
15312 @DocsEditable 15312 @DocsEditable
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
15587 MimeType namedItem(String name) native; 15587 MimeType namedItem(String name) native;
15588 } 15588 }
15589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15590 // for details. All rights reserved. Use of this source code is governed by a 15590 // for details. All rights reserved. Use of this source code is governed by a
15591 // BSD-style license that can be found in the LICENSE file. 15591 // BSD-style license that can be found in the LICENSE file.
15592 15592
15593 15593
15594 @DocsEditable 15594 @DocsEditable
15595 @DomName('HTMLModElement') 15595 @DomName('HTMLModElement')
15596 @Unstable 15596 @Unstable
15597 class ModElement extends Element native "HTMLModElement" { 15597 class ModElement extends _HTMLElement native "HTMLModElement" {
15598 15598
15599 @DomName('HTMLModElement.cite') 15599 @DomName('HTMLModElement.cite')
15600 @DocsEditable 15600 @DocsEditable
15601 String cite; 15601 String cite;
15602 15602
15603 @DomName('HTMLModElement.dateTime') 15603 @DomName('HTMLModElement.dateTime')
15604 @DocsEditable 15604 @DocsEditable
15605 String dateTime; 15605 String dateTime;
15606 } 15606 }
15607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
17155 // http://www.w3.org/TR/notifications/#notificationpermissioncallback 17155 // http://www.w3.org/TR/notifications/#notificationpermissioncallback
17156 @Experimental 17156 @Experimental
17157 typedef void _NotificationPermissionCallback(String permission); 17157 typedef void _NotificationPermissionCallback(String permission);
17158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17159 // for details. All rights reserved. Use of this source code is governed by a 17159 // for details. All rights reserved. Use of this source code is governed by a
17160 // BSD-style license that can be found in the LICENSE file. 17160 // BSD-style license that can be found in the LICENSE file.
17161 17161
17162 17162
17163 @DocsEditable 17163 @DocsEditable
17164 @DomName('HTMLOListElement') 17164 @DomName('HTMLOListElement')
17165 class OListElement extends Element native "HTMLOListElement" { 17165 class OListElement extends _HTMLElement native "HTMLOListElement" {
17166 17166
17167 @DomName('HTMLOListElement.HTMLOListElement') 17167 @DomName('HTMLOListElement.HTMLOListElement')
17168 @DocsEditable 17168 @DocsEditable
17169 factory OListElement() => document.$dom_createElement("ol"); 17169 factory OListElement() => document.$dom_createElement("ol");
17170 17170
17171 @DomName('HTMLOListElement.reversed') 17171 @DomName('HTMLOListElement.reversed')
17172 @DocsEditable 17172 @DocsEditable
17173 bool reversed; 17173 bool reversed;
17174 17174
17175 @DomName('HTMLOListElement.start') 17175 @DomName('HTMLOListElement.start')
17176 @DocsEditable 17176 @DocsEditable
17177 int start; 17177 int start;
17178 17178
17179 @DomName('HTMLOListElement.type') 17179 @DomName('HTMLOListElement.type')
17180 @DocsEditable 17180 @DocsEditable
17181 String type; 17181 String type;
17182 } 17182 }
17183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17183 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17184 // for details. All rights reserved. Use of this source code is governed by a 17184 // for details. All rights reserved. Use of this source code is governed by a
17185 // BSD-style license that can be found in the LICENSE file. 17185 // BSD-style license that can be found in the LICENSE file.
17186 17186
17187 17187
17188 @DocsEditable 17188 @DocsEditable
17189 @DomName('HTMLObjectElement') 17189 @DomName('HTMLObjectElement')
17190 @SupportedBrowser(SupportedBrowser.CHROME) 17190 @SupportedBrowser(SupportedBrowser.CHROME)
17191 @SupportedBrowser(SupportedBrowser.IE) 17191 @SupportedBrowser(SupportedBrowser.IE)
17192 @SupportedBrowser(SupportedBrowser.SAFARI) 17192 @SupportedBrowser(SupportedBrowser.SAFARI)
17193 @Unstable 17193 @Unstable
17194 class ObjectElement extends Element native "HTMLObjectElement" { 17194 class ObjectElement extends _HTMLElement native "HTMLObjectElement" {
17195 17195
17196 @DomName('HTMLObjectElement.HTMLObjectElement') 17196 @DomName('HTMLObjectElement.HTMLObjectElement')
17197 @DocsEditable 17197 @DocsEditable
17198 factory ObjectElement() => document.$dom_createElement("object"); 17198 factory ObjectElement() => document.$dom_createElement("object");
17199 17199
17200 /// Checks if this type is supported on the current platform. 17200 /// Checks if this type is supported on the current platform.
17201 static bool get supported => Element.isTagSupported('object'); 17201 static bool get supported => Element.isTagSupported('object');
17202 17202
17203 @DomName('HTMLObjectElement.code') 17203 @DomName('HTMLObjectElement.code')
17204 @DocsEditable 17204 @DocsEditable
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
17264 @DocsEditable 17264 @DocsEditable
17265 void setCustomValidity(String error) native; 17265 void setCustomValidity(String error) native;
17266 } 17266 }
17267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17268 // for details. All rights reserved. Use of this source code is governed by a 17268 // for details. All rights reserved. Use of this source code is governed by a
17269 // BSD-style license that can be found in the LICENSE file. 17269 // BSD-style license that can be found in the LICENSE file.
17270 17270
17271 17271
17272 @DocsEditable 17272 @DocsEditable
17273 @DomName('HTMLOptGroupElement') 17273 @DomName('HTMLOptGroupElement')
17274 class OptGroupElement extends Element native "HTMLOptGroupElement" { 17274 class OptGroupElement extends _HTMLElement native "HTMLOptGroupElement" {
17275 17275
17276 @DomName('HTMLOptGroupElement.HTMLOptGroupElement') 17276 @DomName('HTMLOptGroupElement.HTMLOptGroupElement')
17277 @DocsEditable 17277 @DocsEditable
17278 factory OptGroupElement() => document.$dom_createElement("optgroup"); 17278 factory OptGroupElement() => document.$dom_createElement("optgroup");
17279 17279
17280 @DomName('HTMLOptGroupElement.disabled') 17280 @DomName('HTMLOptGroupElement.disabled')
17281 @DocsEditable 17281 @DocsEditable
17282 bool disabled; 17282 bool disabled;
17283 17283
17284 @DomName('HTMLOptGroupElement.label') 17284 @DomName('HTMLOptGroupElement.label')
17285 @DocsEditable 17285 @DocsEditable
17286 String label; 17286 String label;
17287 } 17287 }
17288 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17288 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17289 // for details. All rights reserved. Use of this source code is governed by a 17289 // for details. All rights reserved. Use of this source code is governed by a
17290 // BSD-style license that can be found in the LICENSE file. 17290 // BSD-style license that can be found in the LICENSE file.
17291 17291
17292 17292
17293 @DocsEditable 17293 @DocsEditable
17294 @DomName('HTMLOptionElement') 17294 @DomName('HTMLOptionElement')
17295 class OptionElement extends Element native "HTMLOptionElement" { 17295 class OptionElement extends _HTMLElement native "HTMLOptionElement" {
17296 17296
17297 @DomName('HTMLOptionElement.HTMLOptionElement') 17297 @DomName('HTMLOptionElement.HTMLOptionElement')
17298 @DocsEditable 17298 @DocsEditable
17299 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) { 17299 factory OptionElement([String data, String value, bool defaultSelected, bool s elected]) {
17300 if (selected != null) { 17300 if (selected != null) {
17301 return OptionElement._create_1(data, value, defaultSelected, selected); 17301 return OptionElement._create_1(data, value, defaultSelected, selected);
17302 } 17302 }
17303 if (defaultSelected != null) { 17303 if (defaultSelected != null) {
17304 return OptionElement._create_2(data, value, defaultSelected); 17304 return OptionElement._create_2(data, value, defaultSelected);
17305 } 17305 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
17348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17349 // for details. All rights reserved. Use of this source code is governed by a 17349 // for details. All rights reserved. Use of this source code is governed by a
17350 // BSD-style license that can be found in the LICENSE file. 17350 // BSD-style license that can be found in the LICENSE file.
17351 17351
17352 17352
17353 @DocsEditable 17353 @DocsEditable
17354 @DomName('HTMLOutputElement') 17354 @DomName('HTMLOutputElement')
17355 @SupportedBrowser(SupportedBrowser.CHROME) 17355 @SupportedBrowser(SupportedBrowser.CHROME)
17356 @SupportedBrowser(SupportedBrowser.FIREFOX) 17356 @SupportedBrowser(SupportedBrowser.FIREFOX)
17357 @SupportedBrowser(SupportedBrowser.SAFARI) 17357 @SupportedBrowser(SupportedBrowser.SAFARI)
17358 class OutputElement extends Element native "HTMLOutputElement" { 17358 class OutputElement extends _HTMLElement native "HTMLOutputElement" {
17359 17359
17360 @DomName('HTMLOutputElement.HTMLOutputElement') 17360 @DomName('HTMLOutputElement.HTMLOutputElement')
17361 @DocsEditable 17361 @DocsEditable
17362 factory OutputElement() => document.$dom_createElement("output"); 17362 factory OutputElement() => document.$dom_createElement("output");
17363 17363
17364 /// Checks if this type is supported on the current platform. 17364 /// Checks if this type is supported on the current platform.
17365 static bool get supported => Element.isTagSupported('output'); 17365 static bool get supported => Element.isTagSupported('output');
17366 17366
17367 @DomName('HTMLOutputElement.defaultValue') 17367 @DomName('HTMLOutputElement.defaultValue')
17368 @DocsEditable 17368 @DocsEditable
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
17464 @DocsEditable 17464 @DocsEditable
17465 final bool persisted; 17465 final bool persisted;
17466 } 17466 }
17467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17468 // for details. All rights reserved. Use of this source code is governed by a 17468 // for details. All rights reserved. Use of this source code is governed by a
17469 // BSD-style license that can be found in the LICENSE file. 17469 // BSD-style license that can be found in the LICENSE file.
17470 17470
17471 17471
17472 @DocsEditable 17472 @DocsEditable
17473 @DomName('HTMLParagraphElement') 17473 @DomName('HTMLParagraphElement')
17474 class ParagraphElement extends Element native "HTMLParagraphElement" { 17474 class ParagraphElement extends _HTMLElement native "HTMLParagraphElement" {
17475 17475
17476 @DomName('HTMLParagraphElement.HTMLParagraphElement') 17476 @DomName('HTMLParagraphElement.HTMLParagraphElement')
17477 @DocsEditable 17477 @DocsEditable
17478 factory ParagraphElement() => document.$dom_createElement("p"); 17478 factory ParagraphElement() => document.$dom_createElement("p");
17479 } 17479 }
17480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17481 // for details. All rights reserved. Use of this source code is governed by a 17481 // for details. All rights reserved. Use of this source code is governed by a
17482 // BSD-style license that can be found in the LICENSE file. 17482 // BSD-style license that can be found in the LICENSE file.
17483 17483
17484 17484
17485 @DocsEditable 17485 @DocsEditable
17486 @DomName('HTMLParamElement') 17486 @DomName('HTMLParamElement')
17487 @Unstable 17487 @Unstable
17488 class ParamElement extends Element native "HTMLParamElement" { 17488 class ParamElement extends _HTMLElement native "HTMLParamElement" {
17489 17489
17490 @DomName('HTMLParamElement.HTMLParamElement') 17490 @DomName('HTMLParamElement.HTMLParamElement')
17491 @DocsEditable 17491 @DocsEditable
17492 factory ParamElement() => document.$dom_createElement("param"); 17492 factory ParamElement() => document.$dom_createElement("param");
17493 17493
17494 @DomName('HTMLParamElement.name') 17494 @DomName('HTMLParamElement.name')
17495 @DocsEditable 17495 @DocsEditable
17496 String name; 17496 String name;
17497 17497
17498 @DomName('HTMLParamElement.value') 17498 @DomName('HTMLParamElement.value')
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
18090 @DomName('PositionErrorCallback') 18090 @DomName('PositionErrorCallback')
18091 @Unstable 18091 @Unstable
18092 typedef void _PositionErrorCallback(PositionError error); 18092 typedef void _PositionErrorCallback(PositionError error);
18093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18094 // for details. All rights reserved. Use of this source code is governed by a 18094 // for details. All rights reserved. Use of this source code is governed by a
18095 // BSD-style license that can be found in the LICENSE file. 18095 // BSD-style license that can be found in the LICENSE file.
18096 18096
18097 18097
18098 @DocsEditable 18098 @DocsEditable
18099 @DomName('HTMLPreElement') 18099 @DomName('HTMLPreElement')
18100 class PreElement extends Element native "HTMLPreElement" { 18100 class PreElement extends _HTMLElement native "HTMLPreElement" {
18101 18101
18102 @DomName('HTMLPreElement.HTMLPreElement') 18102 @DomName('HTMLPreElement.HTMLPreElement')
18103 @DocsEditable 18103 @DocsEditable
18104 factory PreElement() => document.$dom_createElement("pre"); 18104 factory PreElement() => document.$dom_createElement("pre");
18105 18105
18106 @DomName('HTMLPreElement.wrap') 18106 @DomName('HTMLPreElement.wrap')
18107 @DocsEditable 18107 @DocsEditable
18108 @deprecated // deprecated 18108 @deprecated // deprecated
18109 bool wrap; 18109 bool wrap;
18110 } 18110 }
(...skipping 25 matching lines...) Expand all
18136 // for details. All rights reserved. Use of this source code is governed by a 18136 // for details. All rights reserved. Use of this source code is governed by a
18137 // BSD-style license that can be found in the LICENSE file. 18137 // BSD-style license that can be found in the LICENSE file.
18138 18138
18139 18139
18140 @DocsEditable 18140 @DocsEditable
18141 @DomName('HTMLProgressElement') 18141 @DomName('HTMLProgressElement')
18142 @SupportedBrowser(SupportedBrowser.CHROME) 18142 @SupportedBrowser(SupportedBrowser.CHROME)
18143 @SupportedBrowser(SupportedBrowser.FIREFOX) 18143 @SupportedBrowser(SupportedBrowser.FIREFOX)
18144 @SupportedBrowser(SupportedBrowser.IE, '10') 18144 @SupportedBrowser(SupportedBrowser.IE, '10')
18145 @SupportedBrowser(SupportedBrowser.SAFARI) 18145 @SupportedBrowser(SupportedBrowser.SAFARI)
18146 class ProgressElement extends Element native "HTMLProgressElement" { 18146 class ProgressElement extends _HTMLElement native "HTMLProgressElement" {
18147 18147
18148 @DomName('HTMLProgressElement.HTMLProgressElement') 18148 @DomName('HTMLProgressElement.HTMLProgressElement')
18149 @DocsEditable 18149 @DocsEditable
18150 factory ProgressElement() => document.$dom_createElement("progress"); 18150 factory ProgressElement() => document.$dom_createElement("progress");
18151 18151
18152 /// Checks if this type is supported on the current platform. 18152 /// Checks if this type is supported on the current platform.
18153 static bool get supported => Element.isTagSupported('progress'); 18153 static bool get supported => Element.isTagSupported('progress');
18154 18154
18155 @DomName('HTMLProgressElement.labels') 18155 @DomName('HTMLProgressElement.labels')
18156 @DocsEditable 18156 @DocsEditable
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
18192 @DocsEditable 18192 @DocsEditable
18193 final int total; 18193 final int total;
18194 } 18194 }
18195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18196 // for details. All rights reserved. Use of this source code is governed by a 18196 // for details. All rights reserved. Use of this source code is governed by a
18197 // BSD-style license that can be found in the LICENSE file. 18197 // BSD-style license that can be found in the LICENSE file.
18198 18198
18199 18199
18200 @DocsEditable 18200 @DocsEditable
18201 @DomName('HTMLQuoteElement') 18201 @DomName('HTMLQuoteElement')
18202 class QuoteElement extends Element native "HTMLQuoteElement" { 18202 class QuoteElement extends _HTMLElement native "HTMLQuoteElement" {
18203 18203
18204 @DomName('HTMLQuoteElement.cite') 18204 @DomName('HTMLQuoteElement.cite')
18205 @DocsEditable 18205 @DocsEditable
18206 String cite; 18206 String cite;
18207 } 18207 }
18208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18209 // for details. All rights reserved. Use of this source code is governed by a 18209 // for details. All rights reserved. Use of this source code is governed by a
18210 // BSD-style license that can be found in the LICENSE file. 18210 // BSD-style license that can be found in the LICENSE file.
18211 18211
18212 // WARNING: Do not edit - generated code. 18212 // WARNING: Do not edit - generated code.
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
19143 @DocsEditable 19143 @DocsEditable
19144 final int width; 19144 final int width;
19145 } 19145 }
19146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19147 // for details. All rights reserved. Use of this source code is governed by a 19147 // for details. All rights reserved. Use of this source code is governed by a
19148 // BSD-style license that can be found in the LICENSE file. 19148 // BSD-style license that can be found in the LICENSE file.
19149 19149
19150 19150
19151 @DocsEditable 19151 @DocsEditable
19152 @DomName('HTMLScriptElement') 19152 @DomName('HTMLScriptElement')
19153 class ScriptElement extends Element native "HTMLScriptElement" { 19153 class ScriptElement extends _HTMLElement native "HTMLScriptElement" {
19154 19154
19155 @DomName('HTMLScriptElement.HTMLScriptElement') 19155 @DomName('HTMLScriptElement.HTMLScriptElement')
19156 @DocsEditable 19156 @DocsEditable
19157 factory ScriptElement() => document.$dom_createElement("script"); 19157 factory ScriptElement() => document.$dom_createElement("script");
19158 19158
19159 @DomName('HTMLScriptElement.async') 19159 @DomName('HTMLScriptElement.async')
19160 @DocsEditable 19160 @DocsEditable
19161 bool async; 19161 bool async;
19162 19162
19163 @DomName('HTMLScriptElement.charset') 19163 @DomName('HTMLScriptElement.charset')
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
19321 @DomName('SecurityPolicyViolationEvent.violatedDirective') 19321 @DomName('SecurityPolicyViolationEvent.violatedDirective')
19322 @DocsEditable 19322 @DocsEditable
19323 final String violatedDirective; 19323 final String violatedDirective;
19324 } 19324 }
19325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19326 // for details. All rights reserved. Use of this source code is governed by a 19326 // for details. All rights reserved. Use of this source code is governed by a
19327 // BSD-style license that can be found in the LICENSE file. 19327 // BSD-style license that can be found in the LICENSE file.
19328 19328
19329 19329
19330 @DomName('HTMLSelectElement') 19330 @DomName('HTMLSelectElement')
19331 class SelectElement extends Element native "HTMLSelectElement" { 19331 class SelectElement extends _HTMLElement native "HTMLSelectElement" {
19332 19332
19333 @DomName('HTMLSelectElement.HTMLSelectElement') 19333 @DomName('HTMLSelectElement.HTMLSelectElement')
19334 @DocsEditable 19334 @DocsEditable
19335 factory SelectElement() => document.$dom_createElement("select"); 19335 factory SelectElement() => document.$dom_createElement("select");
19336 19336
19337 @DomName('HTMLSelectElement.autofocus') 19337 @DomName('HTMLSelectElement.autofocus')
19338 @DocsEditable 19338 @DocsEditable
19339 bool autofocus; 19339 bool autofocus;
19340 19340
19341 @DomName('HTMLSelectElement.disabled') 19341 @DomName('HTMLSelectElement.disabled')
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
19563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19564 // for details. All rights reserved. Use of this source code is governed by a 19564 // for details. All rights reserved. Use of this source code is governed by a
19565 // BSD-style license that can be found in the LICENSE file. 19565 // BSD-style license that can be found in the LICENSE file.
19566 19566
19567 19567
19568 @DocsEditable 19568 @DocsEditable
19569 @DomName('HTMLShadowElement') 19569 @DomName('HTMLShadowElement')
19570 @SupportedBrowser(SupportedBrowser.CHROME, '26') 19570 @SupportedBrowser(SupportedBrowser.CHROME, '26')
19571 @Experimental 19571 @Experimental
19572 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad ow-element 19572 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad ow-element
19573 class ShadowElement extends Element native "HTMLShadowElement" { 19573 class ShadowElement extends _HTMLElement native "HTMLShadowElement" {
19574 19574
19575 /// Checks if this type is supported on the current platform. 19575 /// Checks if this type is supported on the current platform.
19576 static bool get supported => Element.isTagSupported('shadow'); 19576 static bool get supported => Element.isTagSupported('shadow');
19577 19577
19578 @DomName('HTMLShadowElement.olderShadowRoot') 19578 @DomName('HTMLShadowElement.olderShadowRoot')
19579 @DocsEditable 19579 @DocsEditable
19580 final ShadowRoot olderShadowRoot; 19580 final ShadowRoot olderShadowRoot;
19581 19581
19582 @DomName('HTMLShadowElement.resetStyleInheritance') 19582 @DomName('HTMLShadowElement.resetStyleInheritance')
19583 @DocsEditable 19583 @DocsEditable
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
19754 @DocsEditable 19754 @DocsEditable
19755 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native; 19755 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native;
19756 } 19756 }
19757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19758 // for details. All rights reserved. Use of this source code is governed by a 19758 // for details. All rights reserved. Use of this source code is governed by a
19759 // BSD-style license that can be found in the LICENSE file. 19759 // BSD-style license that can be found in the LICENSE file.
19760 19760
19761 19761
19762 @DocsEditable 19762 @DocsEditable
19763 @DomName('HTMLSourceElement') 19763 @DomName('HTMLSourceElement')
19764 class SourceElement extends Element native "HTMLSourceElement" { 19764 class SourceElement extends _HTMLElement native "HTMLSourceElement" {
19765 19765
19766 @DomName('HTMLSourceElement.HTMLSourceElement') 19766 @DomName('HTMLSourceElement.HTMLSourceElement')
19767 @DocsEditable 19767 @DocsEditable
19768 factory SourceElement() => document.$dom_createElement("source"); 19768 factory SourceElement() => document.$dom_createElement("source");
19769 19769
19770 @DomName('HTMLSourceElement.media') 19770 @DomName('HTMLSourceElement.media')
19771 @DocsEditable 19771 @DocsEditable
19772 String media; 19772 String media;
19773 19773
19774 @DomName('HTMLSourceElement.src') 19774 @DomName('HTMLSourceElement.src')
19775 @DocsEditable 19775 @DocsEditable
19776 String src; 19776 String src;
19777 19777
19778 @DomName('HTMLSourceElement.type') 19778 @DomName('HTMLSourceElement.type')
19779 @DocsEditable 19779 @DocsEditable
19780 String type; 19780 String type;
19781 } 19781 }
19782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19783 // for details. All rights reserved. Use of this source code is governed by a 19783 // for details. All rights reserved. Use of this source code is governed by a
19784 // BSD-style license that can be found in the LICENSE file. 19784 // BSD-style license that can be found in the LICENSE file.
19785 19785
19786 19786
19787 @DocsEditable 19787 @DocsEditable
19788 @DomName('HTMLSpanElement') 19788 @DomName('HTMLSpanElement')
19789 class SpanElement extends Element native "HTMLSpanElement" { 19789 class SpanElement extends _HTMLElement native "HTMLSpanElement" {
19790 19790
19791 @DomName('HTMLSpanElement.HTMLSpanElement') 19791 @DomName('HTMLSpanElement.HTMLSpanElement')
19792 @DocsEditable 19792 @DocsEditable
19793 factory SpanElement() => document.$dom_createElement("span"); 19793 factory SpanElement() => document.$dom_createElement("span");
19794 } 19794 }
19795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19796 // for details. All rights reserved. Use of this source code is governed by a 19796 // for details. All rights reserved. Use of this source code is governed by a
19797 // BSD-style license that can be found in the LICENSE file. 19797 // BSD-style license that can be found in the LICENSE file.
19798 19798
19799 19799
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
20679 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface 20679 // http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransferitem-int erface
20680 @Experimental 20680 @Experimental
20681 typedef void _StringCallback(String data); 20681 typedef void _StringCallback(String data);
20682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20683 // for details. All rights reserved. Use of this source code is governed by a 20683 // for details. All rights reserved. Use of this source code is governed by a
20684 // BSD-style license that can be found in the LICENSE file. 20684 // BSD-style license that can be found in the LICENSE file.
20685 20685
20686 20686
20687 @DocsEditable 20687 @DocsEditable
20688 @DomName('HTMLStyleElement') 20688 @DomName('HTMLStyleElement')
20689 class StyleElement extends Element native "HTMLStyleElement" { 20689 class StyleElement extends _HTMLElement native "HTMLStyleElement" {
20690 20690
20691 @DomName('HTMLStyleElement.HTMLStyleElement') 20691 @DomName('HTMLStyleElement.HTMLStyleElement')
20692 @DocsEditable 20692 @DocsEditable
20693 factory StyleElement() => document.$dom_createElement("style"); 20693 factory StyleElement() => document.$dom_createElement("style");
20694 20694
20695 @DomName('HTMLStyleElement.disabled') 20695 @DomName('HTMLStyleElement.disabled')
20696 @DocsEditable 20696 @DocsEditable
20697 bool disabled; 20697 bool disabled;
20698 20698
20699 @DomName('HTMLStyleElement.media') 20699 @DomName('HTMLStyleElement.media')
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
20768 @DocsEditable 20768 @DocsEditable
20769 final String type; 20769 final String type;
20770 } 20770 }
20771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20772 // for details. All rights reserved. Use of this source code is governed by a 20772 // for details. All rights reserved. Use of this source code is governed by a
20773 // BSD-style license that can be found in the LICENSE file. 20773 // BSD-style license that can be found in the LICENSE file.
20774 20774
20775 20775
20776 @DocsEditable 20776 @DocsEditable
20777 @DomName('HTMLTableCaptionElement') 20777 @DomName('HTMLTableCaptionElement')
20778 class TableCaptionElement extends Element native "HTMLTableCaptionElement" { 20778 class TableCaptionElement extends _HTMLElement native "HTMLTableCaptionElement" {
20779 20779
20780 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement') 20780 @DomName('HTMLTableCaptionElement.HTMLTableCaptionElement')
20781 @DocsEditable 20781 @DocsEditable
20782 factory TableCaptionElement() => document.$dom_createElement("caption"); 20782 factory TableCaptionElement() => document.$dom_createElement("caption");
20783 } 20783 }
20784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20785 // for details. All rights reserved. Use of this source code is governed by a 20785 // for details. All rights reserved. Use of this source code is governed by a
20786 // BSD-style license that can be found in the LICENSE file. 20786 // BSD-style license that can be found in the LICENSE file.
20787 20787
20788 20788
20789 @DocsEditable 20789 @DocsEditable
20790 @DomName('HTMLTableCellElement') 20790 @DomName('HTMLTableCellElement')
20791 class TableCellElement extends Element native "HTMLTableCellElement" { 20791 class TableCellElement extends _HTMLElement native "HTMLTableCellElement" {
20792 20792
20793 @DomName('HTMLTableCellElement.HTMLTableCellElement') 20793 @DomName('HTMLTableCellElement.HTMLTableCellElement')
20794 @DocsEditable 20794 @DocsEditable
20795 factory TableCellElement() => document.$dom_createElement("td"); 20795 factory TableCellElement() => document.$dom_createElement("td");
20796 20796
20797 @DomName('HTMLTableCellElement.cellIndex') 20797 @DomName('HTMLTableCellElement.cellIndex')
20798 @DocsEditable 20798 @DocsEditable
20799 final int cellIndex; 20799 final int cellIndex;
20800 20800
20801 @DomName('HTMLTableCellElement.colSpan') 20801 @DomName('HTMLTableCellElement.colSpan')
20802 @DocsEditable 20802 @DocsEditable
20803 int colSpan; 20803 int colSpan;
20804 20804
20805 @DomName('HTMLTableCellElement.headers') 20805 @DomName('HTMLTableCellElement.headers')
20806 @DocsEditable 20806 @DocsEditable
20807 String headers; 20807 String headers;
20808 20808
20809 @DomName('HTMLTableCellElement.rowSpan') 20809 @DomName('HTMLTableCellElement.rowSpan')
20810 @DocsEditable 20810 @DocsEditable
20811 int rowSpan; 20811 int rowSpan;
20812 } 20812 }
20813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20814 // for details. All rights reserved. Use of this source code is governed by a 20814 // for details. All rights reserved. Use of this source code is governed by a
20815 // BSD-style license that can be found in the LICENSE file. 20815 // BSD-style license that can be found in the LICENSE file.
20816 20816
20817 20817
20818 @DocsEditable 20818 @DocsEditable
20819 @DomName('HTMLTableColElement') 20819 @DomName('HTMLTableColElement')
20820 class TableColElement extends Element native "HTMLTableColElement" { 20820 class TableColElement extends _HTMLElement native "HTMLTableColElement" {
20821 20821
20822 @DomName('HTMLTableColElement.HTMLTableColElement') 20822 @DomName('HTMLTableColElement.HTMLTableColElement')
20823 @DocsEditable 20823 @DocsEditable
20824 factory TableColElement() => document.$dom_createElement("col"); 20824 factory TableColElement() => document.$dom_createElement("col");
20825 20825
20826 @DomName('HTMLTableColElement.span') 20826 @DomName('HTMLTableColElement.span')
20827 @DocsEditable 20827 @DocsEditable
20828 int span; 20828 int span;
20829 } 20829 }
20830 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 20830 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
20831 // for details. All rights reserved. Use of this source code is governed by a 20831 // for details. All rights reserved. Use of this source code is governed by a
20832 // BSD-style license that can be found in the LICENSE file. 20832 // BSD-style license that can be found in the LICENSE file.
20833 20833
20834 20834
20835 @DocsEditable 20835 @DocsEditable
20836 @DomName('HTMLTableElement') 20836 @DomName('HTMLTableElement')
20837 class TableElement extends Element native "HTMLTableElement" { 20837 class TableElement extends _HTMLElement native "HTMLTableElement" {
20838 20838
20839 @DomName('HTMLTableElement.tBodies') 20839 @DomName('HTMLTableElement.tBodies')
20840 List<TableSectionElement> get tBodies => 20840 List<TableSectionElement> get tBodies =>
20841 new _WrappedList<TableSectionElement>($dom_tBodies); 20841 new _WrappedList<TableSectionElement>($dom_tBodies);
20842 20842
20843 @DomName('HTMLTableElement.rows') 20843 @DomName('HTMLTableElement.rows')
20844 List<TableRowElement> get rows => 20844 List<TableRowElement> get rows =>
20845 new _WrappedList<TableRowElement>($dom_rows); 20845 new _WrappedList<TableRowElement>($dom_rows);
20846 20846
20847 TableRowElement addRow() { 20847 TableRowElement addRow() {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
20935 @DocsEditable 20935 @DocsEditable
20936 Element $dom_insertRow(int index) native; 20936 Element $dom_insertRow(int index) native;
20937 } 20937 }
20938 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 20938 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
20939 // for details. All rights reserved. Use of this source code is governed by a 20939 // for details. All rights reserved. Use of this source code is governed by a
20940 // BSD-style license that can be found in the LICENSE file. 20940 // BSD-style license that can be found in the LICENSE file.
20941 20941
20942 20942
20943 @DocsEditable 20943 @DocsEditable
20944 @DomName('HTMLTableRowElement') 20944 @DomName('HTMLTableRowElement')
20945 class TableRowElement extends Element native "HTMLTableRowElement" { 20945 class TableRowElement extends _HTMLElement native "HTMLTableRowElement" {
20946 20946
20947 @DomName('HTMLTableRowElement.cells') 20947 @DomName('HTMLTableRowElement.cells')
20948 List<TableCellElement> get cells => 20948 List<TableCellElement> get cells =>
20949 new _WrappedList<TableCellElement>($dom_cells); 20949 new _WrappedList<TableCellElement>($dom_cells);
20950 20950
20951 TableCellElement addCell() { 20951 TableCellElement addCell() {
20952 return insertCell(-1); 20952 return insertCell(-1);
20953 } 20953 }
20954 20954
20955 TableCellElement insertCell(int index) => $dom_insertCell(index); 20955 TableCellElement insertCell(int index) => $dom_insertCell(index);
(...skipping 25 matching lines...) Expand all
20981 @DocsEditable 20981 @DocsEditable
20982 Element $dom_insertCell(int index) native; 20982 Element $dom_insertCell(int index) native;
20983 } 20983 }
20984 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 20984 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
20985 // for details. All rights reserved. Use of this source code is governed by a 20985 // for details. All rights reserved. Use of this source code is governed by a
20986 // BSD-style license that can be found in the LICENSE file. 20986 // BSD-style license that can be found in the LICENSE file.
20987 20987
20988 20988
20989 @DocsEditable 20989 @DocsEditable
20990 @DomName('HTMLTableSectionElement') 20990 @DomName('HTMLTableSectionElement')
20991 class TableSectionElement extends Element native "HTMLTableSectionElement" { 20991 class TableSectionElement extends _HTMLElement native "HTMLTableSectionElement" {
20992 20992
20993 @DomName('HTMLTableSectionElement.rows') 20993 @DomName('HTMLTableSectionElement.rows')
20994 List<TableRowElement> get rows => 20994 List<TableRowElement> get rows =>
20995 new _WrappedList<TableRowElement>($dom_rows); 20995 new _WrappedList<TableRowElement>($dom_rows);
20996 20996
20997 TableRowElement addRow() { 20997 TableRowElement addRow() {
20998 return insertRow(-1); 20998 return insertRow(-1);
20999 } 20999 }
21000 21000
21001 TableRowElement insertRow(int index) => $dom_insertRow(index); 21001 TableRowElement insertRow(int index) => $dom_insertRow(index);
(...skipping 18 matching lines...) Expand all
21020 // BSD-style license that can be found in the LICENSE file. 21020 // BSD-style license that can be found in the LICENSE file.
21021 21021
21022 // WARNING: Do not edit - generated code. 21022 // WARNING: Do not edit - generated code.
21023 21023
21024 21024
21025 @Experimental 21025 @Experimental
21026 @DomName('HTMLTemplateElement') 21026 @DomName('HTMLTemplateElement')
21027 @SupportedBrowser(SupportedBrowser.CHROME) 21027 @SupportedBrowser(SupportedBrowser.CHROME)
21028 @Experimental 21028 @Experimental
21029 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t emplate-element 21029 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html#t emplate-element
21030 class TemplateElement extends Element native "HTMLTemplateElement" { 21030 class TemplateElement extends _HTMLElement native "HTMLTemplateElement" {
21031 21031
21032 @DomName('HTMLTemplateElement.HTMLTemplateElement') 21032 @DomName('HTMLTemplateElement.HTMLTemplateElement')
21033 @DocsEditable 21033 @DocsEditable
21034 factory TemplateElement() => document.$dom_createElement("template"); 21034 factory TemplateElement() => document.$dom_createElement("template");
21035 21035
21036 /// Checks if this type is supported on the current platform. 21036 /// Checks if this type is supported on the current platform.
21037 static bool get supported => Element.isTagSupported('template'); 21037 static bool get supported => Element.isTagSupported('template');
21038 21038
21039 @JSName('content') 21039 @JSName('content')
21040 @DomName('HTMLTemplateElement.content') 21040 @DomName('HTMLTemplateElement.content')
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
21227 super.unbindAll(); 21227 super.unbindAll();
21228 } 21228 }
21229 } 21229 }
21230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21231 // for details. All rights reserved. Use of this source code is governed by a 21231 // for details. All rights reserved. Use of this source code is governed by a
21232 // BSD-style license that can be found in the LICENSE file. 21232 // BSD-style license that can be found in the LICENSE file.
21233 21233
21234 21234
21235 @DocsEditable 21235 @DocsEditable
21236 @DomName('HTMLTextAreaElement') 21236 @DomName('HTMLTextAreaElement')
21237 class TextAreaElement extends Element native "HTMLTextAreaElement" { 21237 class TextAreaElement extends _HTMLElement native "HTMLTextAreaElement" {
21238 21238
21239 @DomName('HTMLTextAreaElement.HTMLTextAreaElement') 21239 @DomName('HTMLTextAreaElement.HTMLTextAreaElement')
21240 @DocsEditable 21240 @DocsEditable
21241 factory TextAreaElement() => document.$dom_createElement("textarea"); 21241 factory TextAreaElement() => document.$dom_createElement("textarea");
21242 21242
21243 @DomName('HTMLTextAreaElement.autofocus') 21243 @DomName('HTMLTextAreaElement.autofocus')
21244 @DocsEditable 21244 @DocsEditable
21245 bool autofocus; 21245 bool autofocus;
21246 21246
21247 @DomName('HTMLTextAreaElement.cols') 21247 @DomName('HTMLTextAreaElement.cols')
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
21759 21759
21760 @DomName('TimeoutHandler') 21760 @DomName('TimeoutHandler')
21761 typedef void TimeoutHandler(); 21761 typedef void TimeoutHandler();
21762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21763 // for details. All rights reserved. Use of this source code is governed by a 21763 // for details. All rights reserved. Use of this source code is governed by a
21764 // BSD-style license that can be found in the LICENSE file. 21764 // BSD-style license that can be found in the LICENSE file.
21765 21765
21766 21766
21767 @DocsEditable 21767 @DocsEditable
21768 @DomName('HTMLTitleElement') 21768 @DomName('HTMLTitleElement')
21769 class TitleElement extends Element native "HTMLTitleElement" { 21769 class TitleElement extends _HTMLElement native "HTMLTitleElement" {
21770 21770
21771 @DomName('HTMLTitleElement.HTMLTitleElement') 21771 @DomName('HTMLTitleElement.HTMLTitleElement')
21772 @DocsEditable 21772 @DocsEditable
21773 factory TitleElement() => document.$dom_createElement("title"); 21773 factory TitleElement() => document.$dom_createElement("title");
21774 } 21774 }
21775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21776 // for details. All rights reserved. Use of this source code is governed by a 21776 // for details. All rights reserved. Use of this source code is governed by a
21777 // BSD-style license that can be found in the LICENSE file. 21777 // BSD-style license that can be found in the LICENSE file.
21778 21778
21779 21779
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
22019 // BSD-style license that can be found in the LICENSE file. 22019 // BSD-style license that can be found in the LICENSE file.
22020 22020
22021 22021
22022 @DocsEditable 22022 @DocsEditable
22023 @DomName('HTMLTrackElement') 22023 @DomName('HTMLTrackElement')
22024 @SupportedBrowser(SupportedBrowser.CHROME) 22024 @SupportedBrowser(SupportedBrowser.CHROME)
22025 @SupportedBrowser(SupportedBrowser.IE, '10') 22025 @SupportedBrowser(SupportedBrowser.IE, '10')
22026 @SupportedBrowser(SupportedBrowser.SAFARI) 22026 @SupportedBrowser(SupportedBrowser.SAFARI)
22027 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#the-track-element 22027 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element .html#the-track-element
22028 @Experimental 22028 @Experimental
22029 class TrackElement extends Element native "HTMLTrackElement" { 22029 class TrackElement extends _HTMLElement native "HTMLTrackElement" {
22030 22030
22031 @DomName('HTMLTrackElement.HTMLTrackElement') 22031 @DomName('HTMLTrackElement.HTMLTrackElement')
22032 @DocsEditable 22032 @DocsEditable
22033 factory TrackElement() => document.$dom_createElement("track"); 22033 factory TrackElement() => document.$dom_createElement("track");
22034 22034
22035 /// Checks if this type is supported on the current platform. 22035 /// Checks if this type is supported on the current platform.
22036 static bool get supported => Element.isTagSupported('track'); 22036 static bool get supported => Element.isTagSupported('track');
22037 22037
22038 @DomName('HTMLTrackElement.ERROR') 22038 @DomName('HTMLTrackElement.ERROR')
22039 @DocsEditable 22039 @DocsEditable
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
22286 @DomName('UIEvent.pageY') 22286 @DomName('UIEvent.pageY')
22287 Point get page => new Point($dom_pageX, $dom_pageY); 22287 Point get page => new Point($dom_pageX, $dom_pageY);
22288 } 22288 }
22289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22290 // for details. All rights reserved. Use of this source code is governed by a 22290 // for details. All rights reserved. Use of this source code is governed by a
22291 // BSD-style license that can be found in the LICENSE file. 22291 // BSD-style license that can be found in the LICENSE file.
22292 22292
22293 22293
22294 @DocsEditable 22294 @DocsEditable
22295 @DomName('HTMLUListElement') 22295 @DomName('HTMLUListElement')
22296 class UListElement extends Element native "HTMLUListElement" { 22296 class UListElement extends _HTMLElement native "HTMLUListElement" {
22297 22297
22298 @DomName('HTMLUListElement.HTMLUListElement') 22298 @DomName('HTMLUListElement.HTMLUListElement')
22299 @DocsEditable 22299 @DocsEditable
22300 factory UListElement() => document.$dom_createElement("ul"); 22300 factory UListElement() => document.$dom_createElement("ul");
22301 } 22301 }
22302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22303 // for details. All rights reserved. Use of this source code is governed by a 22303 // for details. All rights reserved. Use of this source code is governed by a
22304 // BSD-style license that can be found in the LICENSE file. 22304 // BSD-style license that can be found in the LICENSE file.
22305 22305
22306 22306
22307 @DocsEditable 22307 @DocsEditable
22308 @DomName('HTMLUnknownElement') 22308 @DomName('HTMLUnknownElement')
22309 class UnknownElement extends Element native "HTMLUnknownElement" { 22309 class UnknownElement extends _HTMLElement native "HTMLUnknownElement" {
22310 } 22310 }
22311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22312 // for details. All rights reserved. Use of this source code is governed by a 22312 // for details. All rights reserved. Use of this source code is governed by a
22313 // BSD-style license that can be found in the LICENSE file. 22313 // BSD-style license that can be found in the LICENSE file.
22314 22314
22315 22315
22316 @DomName('URL') 22316 @DomName('URL')
22317 class Url native "URL" { 22317 class Url native "URL" {
22318 22318
22319 static String createObjectUrl(blob_OR_source_OR_stream) => 22319 static String createObjectUrl(blob_OR_source_OR_stream) =>
(...skipping 2719 matching lines...) Expand 10 before | Expand all | Expand 10 after
25039 } 25039 }
25040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25041 // for details. All rights reserved. Use of this source code is governed by a 25041 // for details. All rights reserved. Use of this source code is governed by a
25042 // BSD-style license that can be found in the LICENSE file. 25042 // BSD-style license that can be found in the LICENSE file.
25043 25043
25044 25044
25045 @DocsEditable 25045 @DocsEditable
25046 @DomName('HTMLAppletElement') 25046 @DomName('HTMLAppletElement')
25047 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -applet-element 25047 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -applet-element
25048 @deprecated // deprecated 25048 @deprecated // deprecated
25049 abstract class _HTMLAppletElement extends Element native "HTMLAppletElement" { 25049 abstract class _HTMLAppletElement extends _HTMLElement native "HTMLAppletElement " {
25050 } 25050 }
25051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25052 // for details. All rights reserved. Use of this source code is governed by a 25052 // for details. All rights reserved. Use of this source code is governed by a
25053 // BSD-style license that can be found in the LICENSE file. 25053 // BSD-style license that can be found in the LICENSE file.
25054 25054
25055 25055
25056 @DocsEditable 25056 @DocsEditable
25057 @DomName('HTMLBaseFontElement') 25057 @DomName('HTMLBaseFontElement')
25058 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas efont 25058 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#bas efont
25059 @deprecated // deprecated 25059 @deprecated // deprecated
25060 abstract class _HTMLBaseFontElement extends Element native "HTMLBaseFontElement" { 25060 abstract class _HTMLBaseFontElement extends _HTMLElement native "HTMLBaseFontEle ment" {
25061 } 25061 }
25062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25063 // for details. All rights reserved. Use of this source code is governed by a 25063 // for details. All rights reserved. Use of this source code is governed by a
25064 // BSD-style license that can be found in the LICENSE file. 25064 // BSD-style license that can be found in the LICENSE file.
25065 25065
25066 25066
25067 @DocsEditable 25067 @DocsEditable
25068 @DomName('HTMLDirectoryElement') 25068 @DomName('HTMLDirectoryElement')
25069 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir 25069 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dir
25070 @deprecated // deprecated 25070 @deprecated // deprecated
25071 abstract class _HTMLDirectoryElement extends Element native "HTMLDirectoryElemen t" { 25071 abstract class _HTMLDirectoryElement extends _HTMLElement native "HTMLDirectoryE lement" {
25072 } 25072 }
25073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25074 // for details. All rights reserved. Use of this source code is governed by a 25074 // for details. All rights reserved. Use of this source code is governed by a
25075 // BSD-style license that can be found in the LICENSE file. 25075 // BSD-style license that can be found in the LICENSE file.
25076 25076
25077 25077
25078 @DocsEditable 25078 @DocsEditable
25079 @DomName('HTMLFontElement') 25079 @DomName('HTMLFontElement')
25080 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lfontelement 25080 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lfontelement
25081 @deprecated // deprecated 25081 @deprecated // deprecated
25082 abstract class _HTMLFontElement extends Element native "HTMLFontElement" { 25082 abstract class _HTMLFontElement extends _HTMLElement native "HTMLFontElement" {
25083 } 25083 }
25084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25085 // for details. All rights reserved. Use of this source code is governed by a 25085 // for details. All rights reserved. Use of this source code is governed by a
25086 // BSD-style license that can be found in the LICENSE file. 25086 // BSD-style license that can be found in the LICENSE file.
25087 25087
25088 25088
25089 @DocsEditable 25089 @DocsEditable
25090 @DomName('HTMLFrameElement') 25090 @DomName('HTMLFrameElement')
25091 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lframeelement 25091 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#htm lframeelement
25092 @deprecated // deprecated 25092 @deprecated // deprecated
25093 abstract class _HTMLFrameElement extends Element native "HTMLFrameElement" { 25093 abstract class _HTMLFrameElement extends _HTMLElement native "HTMLFrameElement" {
25094 } 25094 }
25095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25096 // for details. All rights reserved. Use of this source code is governed by a 25096 // for details. All rights reserved. Use of this source code is governed by a
25097 // BSD-style license that can be found in the LICENSE file. 25097 // BSD-style license that can be found in the LICENSE file.
25098 25098
25099 25099
25100 @DocsEditable 25100 @DocsEditable
25101 @DomName('HTMLFrameSetElement') 25101 @DomName('HTMLFrameSetElement')
25102 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra meset 25102 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#fra meset
25103 @deprecated // deprecated 25103 @deprecated // deprecated
25104 abstract class _HTMLFrameSetElement extends Element native "HTMLFrameSetElement" { 25104 abstract class _HTMLFrameSetElement extends _HTMLElement native "HTMLFrameSetEle ment" {
25105 } 25105 }
25106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25107 // for details. All rights reserved. Use of this source code is governed by a 25107 // for details. All rights reserved. Use of this source code is governed by a
25108 // BSD-style license that can be found in the LICENSE file. 25108 // BSD-style license that can be found in the LICENSE file.
25109 25109
25110 25110
25111 @DocsEditable 25111 @DocsEditable
25112 @DomName('HTMLMarqueeElement') 25112 @DomName('HTMLMarqueeElement')
25113 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -marquee-element 25113 // http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#the -marquee-element
25114 @deprecated // deprecated 25114 @deprecated // deprecated
25115 abstract class _HTMLMarqueeElement extends Element native "HTMLMarqueeElement" { 25115 abstract class _HTMLMarqueeElement extends _HTMLElement native "HTMLMarqueeEleme nt" {
25116 } 25116 }
25117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25118 // for details. All rights reserved. Use of this source code is governed by a 25118 // for details. All rights reserved. Use of this source code is governed by a
25119 // BSD-style license that can be found in the LICENSE file. 25119 // BSD-style license that can be found in the LICENSE file.
25120 25120
25121 25121
25122 @DocsEditable 25122 @DocsEditable
25123 @DomName('NamedNodeMap') 25123 @DomName('NamedNodeMap')
25124 // http://dom.spec.whatwg.org/#namednodemap 25124 // http://dom.spec.whatwg.org/#namednodemap
25125 @deprecated // deprecated 25125 @deprecated // deprecated
(...skipping 4764 matching lines...) Expand 10 before | Expand all | Expand 10 after
29890 _position = nextPosition; 29890 _position = nextPosition;
29891 return true; 29891 return true;
29892 } 29892 }
29893 _current = null; 29893 _current = null;
29894 _position = _array.length; 29894 _position = _array.length;
29895 return false; 29895 return false;
29896 } 29896 }
29897 29897
29898 T get current => _current; 29898 T get current => _current;
29899 } 29899 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698