OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <title>core-collapse</title> | 12 <title>core-collapse</title> |
13 | 13 |
14 <script src="../../platform/platform.js"></script> | 14 <script src="../../webcomponentsjs/webcomponents.js"></script> |
15 <link rel="import" href="../../polymer-test-tools/tools.html"> | 15 <link rel="import" href="../../polymer-test-tools/tools.html"> |
16 <script src="../../polymer-test-tools/htmltest.js"></script> | 16 <script src="../../polymer-test-tools/htmltest.js"></script> |
17 | 17 |
18 | 18 |
19 <link rel="import" href="../../core-collapse/core-collapse.html"> | 19 <link rel="import" href="../../core-collapse/core-collapse.html"> |
20 </head> | 20 </head> |
21 <body unresolved> | 21 <body unresolved> |
22 | 22 |
23 <button onclick="document.querySelector('#collapse').toggle()">toggle collapse
</button> | 23 <button onclick="document.querySelector('#collapse').toggle()">toggle collapse
</button> |
24 | 24 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 function getCollapseComputedStyle() { | 60 function getCollapseComputedStyle() { |
61 var b = document.querySelector('#collapse'); | 61 var b = document.querySelector('#collapse'); |
62 return getComputedStyle(b); | 62 return getComputedStyle(b); |
63 } | 63 } |
64 | 64 |
65 </script> | 65 </script> |
66 | 66 |
67 </body> | 67 </body> |
68 </html> | 68 </html> |
OLD | NEW |