| OLD | NEW | 
|---|
| 1 <!doctype html> | 1 <!doctype html> | 
| 2 <!-- | 2 <!-- | 
| 3    Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 3    Copyright (c) 2012, 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 lang="en"> | 7 <html lang="en"> | 
| 8 <body> | 8 <body> | 
| 9 <element name="x-conditional" extends="div" constructor="ConditionalExample"> | 9 <element name="x-conditional" extends="div" constructor="ConditionalExample"> | 
| 10   <template> | 10   <template> | 
| 11     <template if="cond"> | 11     <template if="cond"> | 
| 12       <span>yay! test passes</span> | 12       <span>yay! test passes</span> | 
| 13     </template> | 13     </template> | 
| 14     <template if="notCond"> | 14     <template if="notCond"> | 
| 15       <span>error: test failed</span> | 15       <span>error: test failed</span> | 
| 16     </template> | 16     </template> | 
| 17   </template> | 17   </template> | 
| 18   <script type='application/dart'> | 18   <script type='application/dart'> | 
| 19     import 'common.dart'; | 19     import 'common.dart'; | 
| 20     import 'package:web_components/web_components.dart'; | 20     import 'package:web_ui/web_ui.dart'; | 
| 21     class ConditionalExample extends WebComponent {} | 21     class ConditionalExample extends WebComponent {} | 
| 22   </script> | 22   </script> | 
| 23 </element> | 23 </element> | 
| 24 </body> | 24 </body> | 
| 25 </html> | 25 </html> | 
| 26 | 26 | 
| OLD | NEW | 
|---|