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

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

Issue 14839006: Adding tests for experimental Safe DOM creation technique. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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'; 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
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
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 }
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