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

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

Issue 79353003: [polymer.dart] fix *Changed observers inheriting (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
« no previous file with comments | « pkg/polymer/test/event_handlers_test.dart ('k') | pkg/polymer/test/events_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <!-- Test ported from: 9 <!-- Test ported from:
10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html 10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html
11 --> 11 -->
12 <head> 12 <head>
13 <title>event handlers</title> 13 <title>event handlers</title>
14 <script src="packages/unittest/test_controller.js"></script> 14 <script src="packages/unittest/test_controller.js"></script>
15 </head> 15 </head>
16 <body> 16 <body>
17 17
18 <x-test> 18 <x-test>
19 <div>...light...</div> 19 <div>...light...</div>
20 </x-test> 20 </x-test>
21 21
22 <polymer-element name="x-test" on-tap="{{hostTapAction}}"> 22 <polymer-element name="x-test" on-tap="{{hostTapAction}}">
23 <template> 23 <template>
24 <style> 24 <style>
25 @host { 25 @host {
26 * { 26 * {
27 display: block; 27 display: block;
28 } 28 }
29 } 29 }
30 .gradient { 30 .gradient {
31 background: -webkit-gradient(linear, left top, left bottom, 31 background: -webkit-gradient(linear, left top, left bottom,
32 color-stop(0%,#b4e391), color-stop(50%,#61c419), 32 color-stop(0%,#b4e391), color-stop(50%,#61c419),
33 color-stop(100%,#b4e391)); 33 color-stop(100%,#b4e391));
34 } 34 }
35 </style> 35 </style>
36 36
37 <div id="div" on-tap="{{divTapAction}}">Tap me! 37 <div id="div" on-tap="{{divTapAction}}">Tap me!
38 <content></content> 38 <content></content>
39 </div> 39 </div>
40 <input id="input" on-focus="{{focusAction}}" 40 <input id="input" on-focus="{{focusAction}}"
41 on-blur="{{blurAction}}">focusy</input> 41 on-blur="{{blurAction}}">focusy
42 <div id="list" 42 <div id="list"
43 style="height: 200px; overflow: auto; border: 1px solid black;" 43 style="height: 200px; overflow: auto; border: 1px solid black;"
44 on-scroll="{{scrollAction}}"> 44 on-scroll="{{scrollAction}}">
45 <div class="gradient"> 45 <div class="gradient">
46 <template repeat="{{list1}}"> 46 <template repeat="{{list1}}">
47 <div class="list1" on-tap="{{itemTapAction}}">a {{index}}</div> 47 <div class="list1" on-tap="{{itemTapAction}}">a {{index}}</div>
48 </template> 48 </template>
49 <template repeat="{{item in list2}}"> 49 <template repeat="{{item in list2}}">
50 <div class="list2" 50 <div class="list2"
51 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div> 51 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div>
52 </template> 52 </template>
53 </div> 53 </div>
54 </div> 54 </div>
55 </template> 55 </template>
56 <script type="application/dart" src="event_handlers_test.dart"></script> 56 <script type="application/dart" src="event_handlers_test.dart"></script>
57 </polymer-element> 57 </polymer-element>
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/test/event_handlers_test.dart ('k') | pkg/polymer/test/events_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698