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

Side by Side Diff: test/data/input/trim_indentation_space2_test.html

Issue 49223002: fix webui for sdk 0.8.7 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « test/data/input/table_test.html ('k') | test/data/input/trim_indentation_space_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html lang="en"> 7 <html lang="en">
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
(...skipping 22 matching lines...) Expand all
33 [ 33 [
34 {{j}} 34 {{j}}
35 <template iterate="k in list3" indentation="preserve">( 35 <template iterate="k in list3" indentation="preserve">(
36 {{k}}) 36 {{k}})
37 </template> 37 </template>
38 ] 38 ]
39 </template> 39 </template>
40 </template> 40 </template>
41 </div> 41 </div>
42 <script type="application/dart"> 42 <script type="application/dart">
43 import 'dart:async';
43 import 'dart:html'; 44 import 'dart:html';
44 import 'package:unittest/unittest.dart'; 45 import 'package:unittest/unittest.dart';
45 var list1 = ['a', 'b', 'c']; 46 var list1 = ['a', 'b', 'c'];
46 var list2 = ['_', '_']; 47 var list2 = ['_', '_'];
47 var list3 = ['-', '-']; 48 var list3 = ['-', '-'];
48 49
49 main() { 50 main() {
50 window.setImmediate(() { 51 Timer.run(() {
51 var t1 = query('#t1').text; 52 var t1 = query('#t1').text;
52 var t2 = query('#t2').text; 53 var t2 = query('#t2').text;
53 var t3 = query('#t3').text; 54 var t3 = query('#t3').text;
54 expect(t1, equalsIgnoringWhitespace('a b c')); 55 expect(t1, equalsIgnoringWhitespace('a b c'));
55 expect(t2, equalsIgnoringWhitespace('abc')); 56 expect(t2, equalsIgnoringWhitespace('abc'));
56 expect(t3, equalsIgnoringWhitespace( 57 expect(t3, equalsIgnoringWhitespace(
57 'a [_( -) ( -) ][_( -) ( -) ] b [_( -) ( -) ][_( -) ( -) ] ' 58 'a [_( -) ( -) ][_( -) ( -) ] b [_( -) ( -) ][_( -) ( -) ] '
58 'c [_( -) ( -) ][_( -) ( -) ]')); 59 'c [_( -) ( -) ][_( -) ( -) ]'));
59 window.postMessage('done', '*'); 60 window.postMessage('done', '*');
60 }); 61 });
61 } 62 }
62 </script> 63 </script>
63 </body> 64 </body>
64 </html> 65 </html>
65 66
OLDNEW
« no previous file with comments | « test/data/input/table_test.html ('k') | test/data/input/trim_indentation_space_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698