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 <!--polymer-test: this comment is needed for test_suite.dart--> | 8 <!--polymer-test: this comment is needed for test_suite.dart--> |
9 <head> | 9 <head> |
10 <title>event path</title> | 10 <title>event path</title> |
| 11 <link rel="import" href="packages/polymer/polymer.html"> |
11 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> | 12 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
12 <!-- | 13 <!-- |
13 Test ported from: | 14 Test ported from: |
14 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path.html | 15 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path.html |
15 | 16 |
16 This test actually doesn't test the polymer's event layer. It just ensures | 17 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. | 18 that tests are propagated in the right order when using Shadow DOM. |
18 --> | 19 --> |
19 </head> | 20 </head> |
20 <body> | 21 <body> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 <x-menu-button id="menuButton"> | 59 <x-menu-button id="menuButton"> |
59 <div id="item1"><div id="source"></div>Item1</div> | 60 <div id="item1"><div id="source"></div>Item1</div> |
60 <div id="item2">Item2</div> | 61 <div id="item2">Item2</div> |
61 </x-menu-button> | 62 </x-menu-button> |
62 | 63 |
63 | 64 |
64 <script type="application/dart" src="event_path_test.dart"></script> | 65 <script type="application/dart" src="event_path_test.dart"></script> |
65 </body> | 66 </body> |
66 </html> | 67 </html> |
OLD | NEW |