OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <polymer-element name="ct-test-output" attributes="type url"> | 7 <polymer-element name="ct-test-output" attributes="type url"> |
8 <template> | 8 <template> |
9 <style> | 9 <style> |
10 .result { | 10 .result { |
11 border: 1px solid gray; | 11 border: 1px solid gray; |
| 12 line-height: 0; |
12 } | 13 } |
13 iframe { | 14 iframe { |
14 border: none; | 15 border: none; |
15 width: 100%; | 16 width: 100%; |
16 height: 400px; | 17 height: 400px; |
17 } | 18 } |
18 img { | 19 img { |
19 width: 100%; | 20 width: 100%; |
20 } | 21 } |
21 </style> | 22 </style> |
(...skipping 15 matching lines...) Expand all Loading... |
37 <script> | 38 <script> |
38 Polymer({ | 39 Polymer({ |
39 type: '', | 40 type: '', |
40 url: '', | 41 url: '', |
41 _kAudioType: results.kAudioType, | 42 _kAudioType: results.kAudioType, |
42 _kImageType: results.kImageType, | 43 _kImageType: results.kImageType, |
43 _kTextType: results.kTextType, | 44 _kTextType: results.kTextType, |
44 }); | 45 }); |
45 </script> | 46 </script> |
46 </polymer-element> | 47 </polymer-element> |
OLD | NEW |