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

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

Issue 307793002: update polymer, nodebind, and templatebinding (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: roll 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 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>enteredView binding test</title> 10 <title>attached binding test</title>
11 <link rel="import" href="packages/polymer/polymer.html"> 11 <link rel="import" href="packages/polymer/polymer.html">
12 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> 12 <script src="/root_dart/tools/testing/dart/test_controller.js"></script>
13 </head> 13 </head>
14 <body> 14 <body>
15 This tests that elements inside the shadowRoot are properly upgraded and 15 This tests that elements inside the shadowRoot are properly upgraded and
16 enteredView is called on them. Essentially this is a Shadow DOM and Custom 16 attached is called on them. Essentially this is a Shadow DOM and Custom
17 Elements integration test. 17 Elements integration test.
18 <br> 18 <br>
19 19
20 <polymer-element name="x-inner"> 20 <polymer-element name="x-inner">
21 <template>x-inner</template> 21 <template>x-inner</template>
22 </polymer-element> 22 </polymer-element>
23 <polymer-element name="x-outer"> 23 <polymer-element name="x-outer">
24 <template> 24 <template>
25 <template if="{{expand}}"> 25 <template if="{{expand}}">
26 inner element: 26 inner element:
27 <x-inner></x-inner> 27 <x-inner></x-inner>
28 </template> 28 </template>
29 </template> 29 </template>
30 </polymer-element> 30 </polymer-element>
31 31
32 outer element: 32 outer element:
33 <x-outer></x-outer> 33 <x-outer></x-outer>
34 34
35 <script type="application/dart" src="entered_view_test.dart"></script> 35 <script type="application/dart" src="entered_view_test.dart"></script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698