| Index: third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html b/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| index ede930168a6e955db5daf060847dfb5e9cdd5aae..aac2019efaaa73d693fd50d73c1f2166816abc94 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html
|
| @@ -36,66 +36,66 @@ Custom property | Description | Default
|
| -->
|
|
|
| </head><body><dom-module id="iron-autogrow-textarea">
|
| -
|
| - <style>
|
| - :host {
|
| - display: inline-block;
|
| - position: relative;
|
| - width: 400px;
|
| - border: 1px solid;
|
| - padding: 2px;
|
| - -moz-appearance: textarea;
|
| - -webkit-appearance: textarea;
|
| - overflow: hidden;
|
| - }
|
| -
|
| - .mirror-text {
|
| - visibility: hidden;
|
| - word-wrap: break-word;
|
| - }
|
| -
|
| - .fit {
|
| - @apply(--layout-fit);
|
| - }
|
| -
|
| - textarea {
|
| - position: relative;
|
| - outline: none;
|
| - border: none;
|
| - resize: none;
|
| - background: inherit;
|
| - color: inherit;
|
| - /* see comments in template */
|
| - width: 100%;
|
| - height: 100%;
|
| - font-size: inherit;
|
| - font-family: inherit;
|
| - line-height: inherit;
|
| - text-align: inherit;
|
| - @apply(--iron-autogrow-textarea);
|
| - }
|
| -
|
| - ::content textarea:invalid {
|
| - box-shadow: none;
|
| - }
|
| -
|
| - textarea::-webkit-input-placeholder {
|
| - @apply(--iron-autogrow-textarea-placeholder);
|
| - }
|
| -
|
| - textarea:-moz-placeholder {
|
| - @apply(--iron-autogrow-textarea-placeholder);
|
| - }
|
| -
|
| - textarea::-moz-placeholder {
|
| - @apply(--iron-autogrow-textarea-placeholder);
|
| - }
|
| -
|
| - textarea:-ms-input-placeholder {
|
| - @apply(--iron-autogrow-textarea-placeholder);
|
| - }
|
| - </style>
|
| <template>
|
| + <style>
|
| + :host {
|
| + display: inline-block;
|
| + position: relative;
|
| + width: 400px;
|
| + border: 1px solid;
|
| + padding: 2px;
|
| + -moz-appearance: textarea;
|
| + -webkit-appearance: textarea;
|
| + overflow: hidden;
|
| + }
|
| +
|
| + .mirror-text {
|
| + visibility: hidden;
|
| + word-wrap: break-word;
|
| + }
|
| +
|
| + .fit {
|
| + @apply(--layout-fit);
|
| + }
|
| +
|
| + textarea {
|
| + position: relative;
|
| + outline: none;
|
| + border: none;
|
| + resize: none;
|
| + background: inherit;
|
| + color: inherit;
|
| + /* see comments in template */
|
| + width: 100%;
|
| + height: 100%;
|
| + font-size: inherit;
|
| + font-family: inherit;
|
| + line-height: inherit;
|
| + text-align: inherit;
|
| + @apply(--iron-autogrow-textarea);
|
| + }
|
| +
|
| + ::content textarea:invalid {
|
| + box-shadow: none;
|
| + }
|
| +
|
| + textarea::-webkit-input-placeholder {
|
| + @apply(--iron-autogrow-textarea-placeholder);
|
| + }
|
| +
|
| + textarea:-moz-placeholder {
|
| + @apply(--iron-autogrow-textarea-placeholder);
|
| + }
|
| +
|
| + textarea::-moz-placeholder {
|
| + @apply(--iron-autogrow-textarea-placeholder);
|
| + }
|
| +
|
| + textarea:-ms-input-placeholder {
|
| + @apply(--iron-autogrow-textarea-placeholder);
|
| + }
|
| + </style>
|
| +
|
| <!-- the mirror sizes the input/textarea so it grows with typing -->
|
| <!-- use   instead of to allow this element to be used in XHTML -->
|
| <div id="mirror" class="mirror-text" aria-hidden="true"> </div>
|
|
|