| OLD | NEW |
| 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> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <title>event path</title> | 9 <title>event path</title> |
| 10 <script src="packages/polymer/boot.js"></script> | |
| 11 <script src="packages/unittest/test_controller.js"></script> | 10 <script src="packages/unittest/test_controller.js"></script> |
| 12 <!-- | 11 <!-- |
| 13 Test ported from: | 12 Test ported from: |
| 14 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path.html | 13 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path.html |
| 15 | 14 |
| 16 This test actually doesn't test the polymer's event layer. It just ensures | 15 This test actually doesn't test the polymer's event layer. It just ensures |
| 17 that tests are propagated in the right order when using Shadow DOM. | 16 that tests are propagated in the right order when using Shadow DOM. |
| 18 --> | 17 --> |
| 19 </head> | 18 </head> |
| 20 <body> | 19 <body> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 </script> | 82 </script> |
| 84 </polymer-element> | 83 </polymer-element> |
| 85 | 84 |
| 86 <x-menu-button id="menuButton"> | 85 <x-menu-button id="menuButton"> |
| 87 <div id="item1"><div id="source"></div>Item1</div> | 86 <div id="item1"><div id="source"></div>Item1</div> |
| 88 <div id="item2">Item2</div> | 87 <div id="item2">Item2</div> |
| 89 </x-menu-button> | 88 </x-menu-button> |
| 90 | 89 |
| 91 | 90 |
| 92 <script type="application/dart" src="event_path_test.dart"></script> | 91 <script type="application/dart" src="event_path_test.dart"></script> |
| 92 <script type="application/dart" src="packages/polymer/init.dart"></script> |
| 93 </body> | 93 </body> |
| 94 </html> | 94 </html> |
| OLD | NEW |