OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2012, 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"> |
11 <title>list_test</title> | |
12 <script type='application/javascript' src="testing.js"></script> | 11 <script type='application/javascript' src="testing.js"></script> |
13 <style> | 12 <style> |
14 x-test { display: block; } | 13 x-test { display: block; } |
15 </style> | 14 </style> |
16 </head> | 15 </head> |
17 <body> | 16 <body> |
18 <element name="x-test" extends="div" constructor="Empty"> | 17 <element name="x-test" extends="div" constructor="Empty"> |
19 <template> | 18 <template> |
20 <div>This tests a component with </div> | 19 <div>This tests a component with </div> |
21 <div>multiple children of <template> tag.</div> | 20 <div>multiple children of <template> tag.</div> |
22 </template> | 21 </template> |
23 </element> | 22 </element> |
24 <x-test></x-test> | 23 <x-test></x-test> |
25 <script type="application/dart"> | 24 <script type="application/dart"> |
26 import 'dart:html'; | 25 import 'dart:html'; |
27 import 'common.dart'; | 26 import 'common.dart'; |
28 main() { | 27 main() { |
29 window.setTimeout(() => window.postMessage('done', '*'), 0); | 28 window.setImmediate(() => window.postMessage('done', '*')); |
30 } | 29 } |
31 </script> | 30 </script> |
32 </body> | 31 </body> |
33 </html> | 32 </html> |
OLD | NEW |