| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!--polymer-test: this comment is needed for test_suite.dart--> | 3 <!--polymer-test: this comment is needed for test_suite.dart--> |
| 4 <head> | 4 <head> |
| 5 <title>property to attribute reflection with bind</title> | 5 <title>property to attribute reflection with bind</title> |
| 6 <link rel="import" href="packages/polymer/polymer.html"> |
| 6 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> | 7 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> |
| 7 </head> | 8 </head> |
| 8 | 9 |
| 9 <body> | 10 <body> |
| 10 <polymer-element name="my-child-element"> | 11 <polymer-element name="my-child-element"> |
| 11 <template> | 12 <template> |
| 12 <h1>Hello from the child</h1> | 13 <h1>Hello from the child</h1> |
| 13 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p> | 14 <p>The camelCase is {{camelCase}}, attr {{attributes["camelCase"]}}</p> |
| 14 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p> | 15 <p>The lowercase is {{lowercase}}, attr {{attributes["lowercase"]}}</p> |
| 15 </template> | 16 </template> |
| 16 </polymer-element> | 17 </polymer-element> |
| 17 | 18 |
| 18 <polymer-element name="my-element"> | 19 <polymer-element name="my-element"> |
| 19 <template> | 20 <template> |
| 20 <h1>Hello from the custom element. The volume is {{volume}}</h1> | 21 <h1>Hello from the custom element. The volume is {{volume}}</h1> |
| 21 <p> | 22 <p> |
| 22 <my-child-element id="child" | 23 <my-child-element id="child" |
| 23 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element> | 24 camelCase="{{volume}}" lowercase="{{volume}}"></my-child-element> |
| 24 </p> | 25 </p> |
| 25 </template> | 26 </template> |
| 26 </polymer-element> | 27 </polymer-element> |
| 27 | 28 |
| 28 <my-element></my-element> | 29 <my-element></my-element> |
| 29 | 30 |
| 30 <script type="application/dart" src="prop_attr_bind_reflection_test.dart"> | 31 <script type="application/dart" src="prop_attr_bind_reflection_test.dart"> |
| 31 </script> | 32 </script> |
| 32 </body> | 33 </body> |
| 33 </html> | 34 </html> |
| OLD | NEW |