| Index: polymer_0.5.4/bower_components/paper-input/test/paper-autogrow-textarea.html
|
| diff --git a/polymer_0.5.0/bower_components/paper-input/test/autogrow.html b/polymer_0.5.4/bower_components/paper-input/test/paper-autogrow-textarea.html
|
| similarity index 88%
|
| copy from polymer_0.5.0/bower_components/paper-input/test/autogrow.html
|
| copy to polymer_0.5.4/bower_components/paper-input/test/paper-autogrow-textarea.html
|
| index 2bc20b48a850635ecb2a22ee56ca4df73e677b5e..937f5476a319ee689efaef1802b1b10f5d0574ee 100644
|
| --- a/polymer_0.5.0/bower_components/paper-input/test/autogrow.html
|
| +++ b/polymer_0.5.4/bower_components/paper-input/test/paper-autogrow-textarea.html
|
| @@ -10,7 +10,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| <html>
|
| <head>
|
| <meta charset="UTF-8">
|
| - <title>paper-autogrow-textarea</title>
|
| + <title>paper-autogrow-textarea tests</title>
|
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
|
|
| <script src="../../webcomponentsjs/webcomponents.js"></script>
|
| @@ -124,6 +124,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| assert.equal(getComputedStyle(a1.$.mirror).visibility, 'hidden');
|
| });
|
|
|
| + test('grows with a long word', function(done) {
|
| + var h1 = a1.offsetHeight;
|
| +
|
| + t1.value = Array(1000).join("P");
|
| + dispatchInputEvent(t1);
|
| +
|
| + flush(function() {
|
| + var h2 = a1.offsetHeight;
|
| + assert.ok(h2 > h1);
|
| + assert.deepEqual(a1.getBoundingClientRect(), t1.getBoundingClientRect());
|
| + done();
|
| + });
|
| + });
|
| +
|
| });
|
|
|
| </script>
|
|
|