| OLD | NEW |
| (Empty) | |
| 1 <!doctype html> |
| 2 <!-- |
| 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 |
| 5 BSD-style license that can be found in the LICENSE file. |
| 6 --> |
| 7 <html> |
| 8 <!--polymer-test: this comment is needed for test_suite.dart--> |
| 9 <head> |
| 10 <title>enteredView binding test</title> |
| 11 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
| 12 </head> |
| 13 <body> |
| 14 This tests that elements inside the shadowRoot are properly upgraded and |
| 15 enteredView is called on them. Essentially this is a Shadow DOM and Custom |
| 16 Elements integration test. |
| 17 <br> |
| 18 |
| 19 <polymer-element name="x-inner"> |
| 20 <template>x-inner</template> |
| 21 </polymer-element> |
| 22 <polymer-element name="x-outer"> |
| 23 <template> |
| 24 <template if="{{expand}}"> |
| 25 inner element: |
| 26 <x-inner></x-inner> |
| 27 </template> |
| 28 </template> |
| 29 </polymer-element> |
| 30 |
| 31 outer element: |
| 32 <x-outer></x-outer> |
| 33 |
| 34 <script type="application/dart" src="entered_view_test.dart"></script> |
| 35 </body> |
| 36 </html> |
| OLD | NEW |