| OLD | NEW |
| 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'; | 6 import 'dart:_collection-dev'; |
| 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 17529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17540 void setStartBefore(Node refNode) native; | 17540 void setStartBefore(Node refNode) native; |
| 17541 | 17541 |
| 17542 @DomName('Range.surroundContents') | 17542 @DomName('Range.surroundContents') |
| 17543 @DocsEditable | 17543 @DocsEditable |
| 17544 void surroundContents(Node newParent) native; | 17544 void surroundContents(Node newParent) native; |
| 17545 | 17545 |
| 17546 @DomName('Range.toString') | 17546 @DomName('Range.toString') |
| 17547 @DocsEditable | 17547 @DocsEditable |
| 17548 String toString() native; | 17548 String toString() native; |
| 17549 | 17549 |
| 17550 |
| 17551 /** |
| 17552 * Checks if createContextualFragment is supported. |
| 17553 * |
| 17554 * See also: |
| 17555 * |
| 17556 * * [createContextualFragment] |
| 17557 */ |
| 17558 static bool get supportsCreateContextualFragment => |
| 17559 JS('bool', '("createContextualFragment" in window.Range.prototype)'); |
| 17550 } | 17560 } |
| 17551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17552 // for details. All rights reserved. Use of this source code is governed by a | 17562 // for details. All rights reserved. Use of this source code is governed by a |
| 17553 // BSD-style license that can be found in the LICENSE file. | 17563 // BSD-style license that can be found in the LICENSE file. |
| 17554 | 17564 |
| 17555 | 17565 |
| 17556 @DocsEditable | 17566 @DocsEditable |
| 17557 @DomName('RangeException') | 17567 @DomName('RangeException') |
| 17558 class RangeException native "RangeException" { | 17568 class RangeException native "RangeException" { |
| 17559 | 17569 |
| (...skipping 11958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29518 _position = nextPosition; | 29528 _position = nextPosition; |
| 29519 return true; | 29529 return true; |
| 29520 } | 29530 } |
| 29521 _current = null; | 29531 _current = null; |
| 29522 _position = _array.length; | 29532 _position = _array.length; |
| 29523 return false; | 29533 return false; |
| 29524 } | 29534 } |
| 29525 | 29535 |
| 29526 T get current => _current; | 29536 T get current => _current; |
| 29527 } | 29537 } |
| OLD | NEW |