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><title>event path declarative test</title> | 9 <head><title>event path declarative test</title> |
| 10 <link rel="import" href="packages/polymer/polymer.html"> |
10 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> | 11 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
11 <!-- | 12 <!-- |
12 Test ported from: | 13 Test ported from: |
13 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path-declara
tive.html | 14 https://github.com/Polymer/polymer/blob/7936ff8/test/html/event-path-declara
tive.html |
14 --> | 15 --> |
15 </head> | 16 </head> |
16 <body> | 17 <body> |
17 <x-bar><div id="target">Test</div></x-bar> | 18 <x-bar><div id="target">Test</div></x-bar> |
18 <polymer-element name="x-zug" on-test-event="{{testEventHandler}}"> | 19 <polymer-element name="x-zug" on-test-event="{{testEventHandler}}"> |
19 <template> | 20 <template> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 <content id="xBarContent" on-test-event="{{contentTestEventHandler}}"> | 67 <content id="xBarContent" on-test-event="{{contentTestEventHandler}}"> |
67 </content> | 68 </content> |
68 </div> | 69 </div> |
69 </x-foo> | 70 </x-foo> |
70 </template> | 71 </template> |
71 </polymer-element> | 72 </polymer-element> |
72 | 73 |
73 <script type="application/dart" src="event_path_declarative_test.dart"></scrip
t> | 74 <script type="application/dart" src="event_path_declarative_test.dart"></scrip
t> |
74 </body> | 75 </body> |
75 </html> | 76 </html> |
OLD | NEW |