| 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> | 11 <title>list_test</title> |
| 12 <!-- use ../input/ so that the url also works from the output directory --> | 12 <script type='application/javascript' src="testing.js"></script> |
| 13 <script type='application/javascript' src="../input/testing.js"></script> | |
| 14 <style> | 13 <style> |
| 15 x-test { display: block; } | 14 x-test { display: block; } |
| 16 </style> | 15 </style> |
| 17 </head> | 16 </head> |
| 18 <body> | 17 <body> |
| 19 <element name="x-test" extends="div" constructor="Empty"> | 18 <element name="x-test" extends="div" constructor="Empty"> |
| 20 <template> | 19 <template> |
| 21 <div>This tests a component with </div> | 20 <div>This tests a component with </div> |
| 22 <div>multiple children of <template> tag.</div> | 21 <div>multiple children of <template> tag.</div> |
| 23 </template> | 22 </template> |
| 24 </element> | 23 </element> |
| 25 <x-test></x-test> | 24 <x-test></x-test> |
| 26 <script type="application/dart"> | 25 <script type="application/dart"> |
| 27 import 'dart:html'; | 26 import 'dart:html'; |
| 28 import '../input/common.dart'; | 27 import 'common.dart'; |
| 29 main() { | 28 main() { |
| 30 window.setTimeout(() => window.postMessage('done', '*'), 0); | 29 window.setTimeout(() => window.postMessage('done', '*'), 0); |
| 31 } | 30 } |
| 32 </script> | 31 </script> |
| 33 </body> | 32 </body> |
| 34 </html> | 33 </html> |
| OLD | NEW |