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

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

Issue 18302005: Fixing mapping of attribute maps on FireFox. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | tools/dom/scripts/generator.py » ('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 /// 2 ///
3 /// For examples, see 3 /// For examples, see
4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) 4 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
5 /// on Github. 5 /// on Github.
6 library dart.dom.html; 6 library dart.dom.html;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:_collection-dev' hide Symbol, deprecated; 10 import 'dart:_collection-dev' hide Symbol, deprecated;
(...skipping 25725 matching lines...) Expand 10 before | Expand all | Expand 10 after
25736 } 25736 }
25737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25738 // for details. All rights reserved. Use of this source code is governed by a 25738 // for details. All rights reserved. Use of this source code is governed by a
25739 // BSD-style license that can be found in the LICENSE file. 25739 // BSD-style license that can be found in the LICENSE file.
25740 25740
25741 25741
25742 @DocsEditable() 25742 @DocsEditable()
25743 @DomName('NamedNodeMap') 25743 @DomName('NamedNodeMap')
25744 // http://dom.spec.whatwg.org/#namednodemap 25744 // http://dom.spec.whatwg.org/#namednodemap
25745 @deprecated // deprecated 25745 @deprecated // deprecated
25746 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin <Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap" { 25746 class _NamedNodeMap extends Interceptor with ListMixin<Node>, ImmutableListMixin <Node> implements JavaScriptIndexingBehavior, List<Node> native "NamedNodeMap,Mo zNamedAttrMap" {
25747 25747
25748 @DomName('NamedNodeMap.length') 25748 @DomName('NamedNodeMap.length')
25749 @DocsEditable() 25749 @DocsEditable()
25750 int get length => JS("int", "#.length", this); 25750 int get length => JS("int", "#.length", this);
25751 25751
25752 Node operator[](int index) { 25752 Node operator[](int index) {
25753 if (JS("bool", "# >>> 0 !== # || # >= #", index, 25753 if (JS("bool", "# >>> 0 !== # || # >= #", index,
25754 index, index, length)) 25754 index, index, length))
25755 throw new RangeError.range(index, 0, length); 25755 throw new RangeError.range(index, 0, length);
25756 return JS("Node", "#[#]", this, index); 25756 return JS("Node", "#[#]", this, index);
(...skipping 3680 matching lines...) Expand 10 before | Expand all | Expand 10 after
29437 _position = nextPosition; 29437 _position = nextPosition;
29438 return true; 29438 return true;
29439 } 29439 }
29440 _current = null; 29440 _current = null;
29441 _position = _array.length; 29441 _position = _array.length;
29442 return false; 29442 return false;
29443 } 29443 }
29444 29444
29445 T get current => _current; 29445 T get current => _current;
29446 } 29446 }
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698