OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 @license | 3 @license |
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
8 Code distributed by Google as part of the polymer project is also | 8 Code distributed by Google as part of the polymer project is also |
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
10 --> | 10 --> |
11 <html> | 11 <html> |
12 <head> | 12 <head> |
13 <meta charset="UTF-8"> | 13 <meta charset="UTF-8"> |
14 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initia
l-scale=1.0, user-scalable=yes"> | 14 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initia
l-scale=1.0, user-scalable=yes"> |
15 <title>paper-radio-button basic tests</title> | 15 <title>paper-radio-button-behavior tests</title> |
16 | 16 |
17 <script src="packages/web_components/webcomponents-lite.js"></script> | 17 <script src="packages/web_components/webcomponents-lite.js"></script> |
18 <link rel="x-dart-test" href="paper_radio_button_basic_test.dart"> | 18 <link rel="x-dart-test" href="paper_radio_button_behavior_test.dart"> |
19 <!--<script type="application/dart" src="paper_radio_button_basic_test.dart"
></script>--> | 19 <!--<script type="application/dart" src="paper_radio_button_behavior_test.da
rt"></script>--> |
20 <script src="packages/test/dart.js"></script> | 20 <script src="packages/test/dart.js"></script> |
21 | 21 |
22 </head> | 22 </head> |
23 <body> | 23 <body> |
24 | 24 |
25 <template id="NoLabel"> | 25 <dom-module id="test-radio-button"> |
26 <paper-radio-button id="radio1"></paper-radio-button> | 26 <style> |
27 </template> | 27 :host #ink { |
| 28 position: absolute; |
| 29 top: -16px; |
| 30 left: -16px; |
| 31 width: 48px; |
| 32 height: 48px; |
| 33 } |
28 | 34 |
29 <template id="WithLabel"> | 35 </style> |
30 <paper-radio-button id="radio2">Batman</paper-radio-button> | 36 <template> |
31 </template> | 37 <div id="container"> |
| 38 <paper-ripple id="ink" class="circle" center></paper-ripple> |
| 39 </div> |
| 40 </template> |
| 41 </dom-module> |
32 | 42 |
33 <template id="AriaLabel"> | 43 <template id="basic"> |
34 <paper-radio-button aria-label="Batman">Robin</paper-radio-button> | 44 <test-radio-button></test-radio-button> |
35 </template> | 45 </template> |
36 | 46 |
37 | 47 |
38 </body> | 48 </body> |
39 </html> | 49 </html> |
OLD | NEW |