| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
| 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE |
| 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS |
| 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS |
| 6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
| 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS |
| 8 --> | 8 --> |
| 9 | 9 |
| 10 <!-- | 10 <!-- |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 <style> | 40 <style> |
| 41 :host { | 41 :host { |
| 42 display: inline-block; | 42 display: inline-block; |
| 43 position: relative; | 43 position: relative; |
| 44 width: 400px; | 44 width: 400px; |
| 45 } | 45 } |
| 46 | 46 |
| 47 .mirror-text { | 47 .mirror-text { |
| 48 visibility: hidden; | 48 visibility: hidden; |
| 49 word-wrap: break-word; |
| 49 } | 50 } |
| 50 | 51 |
| 51 ::content textarea { | 52 ::content textarea { |
| 52 padding: 0; | 53 padding: 0; |
| 53 margin: 0; | 54 margin: 0; |
| 54 border: none; | 55 border: none; |
| 55 outline: none; | 56 outline: none; |
| 56 resize: none; | 57 resize: none; |
| 57 /* see comments in template */ | 58 /* see comments in template */ |
| 58 width: 100%; | 59 width: 100%; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 }, | 153 }, |
| 153 | 154 |
| 154 inputAction: function(e) { | 155 inputAction: function(e) { |
| 155 this.update(e.target); | 156 this.update(e.target); |
| 156 } | 157 } |
| 157 | 158 |
| 158 }); | 159 }); |
| 159 | 160 |
| 160 </script> | 161 </script> |
| 161 </polymer-element> | 162 </polymer-element> |
| OLD | NEW |