Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: pkg/polymer/test/events_test.html

Issue 44573005: Update polymer to commit b7200854b2441a22ce89f6563963f36c50f5150d (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <script src="packages/unittest/test_controller.js"></script> 11 <script src="packages/unittest/test_controller.js"></script>
12 <!-- 12 <!--
13 Test ported from: 13 Test ported from:
14 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js 14 https://github.com/Polymer/polymer/blob/7936ff8/test/js/events.js
15 15
16 TODO(sigmund): when we have support for mutation observers, render all of 16 TODO(sigmund): when we have support for mutation observers, render all of
17 the test in Dart (like events.js does in JS) 17 the test in Dart (like events.js does in JS)
18 --> 18 -->
19 </head> 19 </head>
20 <body> 20 <body>
21 21
22 <polymer-element name="test-a" on-click="clickHandler"> 22 <polymer-element name="test-a" on-click="{{clickHandler}}">
23 <template></template> 23 <template></template>
24 </polymer-element> 24 </polymer-element>
25 25
26 <polymer-element name="test-b"> 26 <polymer-element name="test-b">
27 <template> 27 <template>
28 <div> 28 <div>
29 <span id="b-1">1</span> 29 <span id="b-1">1</span>
30 <span id="b-2" on-click="clickHandler">2</span> 30 <span id="b-2" on-click="{{clickHandler}}">2</span>
31 </div> 31 </div>
32 </template> 32 </template>
33 </polymer-element> 33 </polymer-element>
34 34
35 <test-a id="a"></test-a> 35 <test-a id="a"></test-a>
36 <test-b id="b"></test-b> 36 <test-b id="b"></test-b>
37 37
38 <script type="application/dart" src="events_test.dart"></script> 38 <script type="application/dart" src="events_test.dart"></script>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698