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

Unified Diff: dart/pkg/polymer/test/event_handlers_test.html

Issue 336013003: Version 1.5.0-dev.4.14 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: dart/pkg/polymer/test/event_handlers_test.html
===================================================================
--- dart/pkg/polymer/test/event_handlers_test.html (revision 37358)
+++ dart/pkg/polymer/test/event_handlers_test.html (working copy)
@@ -11,6 +11,8 @@
-->
<head>
<title>event handlers</title>
+ <script src="packages/web_components/platform.js"></script>
+ <script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/polymer/polymer.html">
<script src="/root_dart/tools/testing/dart/test_controller.js"></script>
</head>
@@ -23,10 +25,8 @@
<polymer-element name="x-test" on-tap="{{hostTapAction}}">
<template>
<style>
- @host {
- * {
- display: block;
- }
+ :host {
+ display: block;
}
.gradient {
background: -webkit-gradient(linear, left top, left bottom,
@@ -45,11 +45,10 @@
on-scroll="{{scrollAction}}">
<div class="gradient">
<template repeat="{{list1}}">
- <div class="list1" on-tap="{{itemTapAction}}">a {{index}}</div>
+ <div class="list1" on-tap="{{itemTapAction}}">{{index}}</div>
</template>
<template repeat="{{item in list2}}">
- <div class="list2"
- on-tap="{{@item.itemTapAction}}">b {{item.index}}</div>
+ <div class="list2" on-tap="{{itemTapAction}}">{{item.index}}</div>
</template>
</div>
</div>
« no previous file with comments | « dart/pkg/polymer/test/event_handlers_test.dart ('k') | dart/pkg/polymer/test/event_path_declarative_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698