Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-textarea.html

Issue 2096903002: Revert of [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 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 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-autogrow-textarea/iron-autogrow-textarea.html"> 10 <link rel="import" href="../iron-autogrow-textarea/iron-autogrow-textarea.html">
(...skipping 19 matching lines...) Expand all
30 See `Polymer.PaperInputContainer` for a list of custom properties used to 30 See `Polymer.PaperInputContainer` for a list of custom properties used to
31 style this element. 31 style this element.
32 --> 32 -->
33 33
34 </head><body><dom-module id="paper-textarea"> 34 </head><body><dom-module id="paper-textarea">
35 <template> 35 <template>
36 <style> 36 <style>
37 :host { 37 :host {
38 display: block; 38 display: block;
39 } 39 }
40
41 :host([hidden]) {
42 display: none !important;
43 }
44 </style> 40 </style>
45 41
46 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label ="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[ autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> 42 <paper-input-container no-label-float$="[[noLabelFloat]]" always-float-label ="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[ autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]">
47 43
48 <label hidden$="[[!label]]" aria-hidden="true">[[label]]</label> 44 <label hidden$="[[!label]]">[[label]]</label>
49 45
50 <iron-autogrow-textarea id="input" class="paper-input-input" bind-value="{ {value}}" disabled$="[[disabled]]" autocomplete$="[[autocomplete]]" autofocus$=" [[autofocus]]" inputmode$="[[inputmode]]" name$="[[name]]" placeholder$="[[place holder]]" readonly$="[[readonly]]" required$="[[required]]" maxlength$="[[maxlen gth]]" autocapitalize$="[[autocapitalize]]" rows$="[[rows]]" max-rows$="[[maxRow s]]" on-change="_onChange"></iron-autogrow-textarea> 46 <iron-autogrow-textarea id="input" class="paper-input-input" bind-value="{ {value}}" disabled$="[[disabled]]" autocomplete$="[[autocomplete]]" autofocus$=" [[autofocus]]" inputmode$="[[inputmode]]" name$="[[name]]" placeholder$="[[place holder]]" readonly$="[[readonly]]" required$="[[required]]" maxlength$="[[maxlen gth]]" autocapitalize$="[[autocapitalize]]" rows$="[[rows]]" max-rows$="[[maxRow s]]" on-change="_onChange"></iron-autogrow-textarea>
51 47
52 <template is="dom-if" if="[[errorMessage]]"> 48 <template is="dom-if" if="[[errorMessage]]">
53 <paper-input-error>[[errorMessage]]</paper-input-error> 49 <paper-input-error>[[errorMessage]]</paper-input-error>
54 </template> 50 </template>
55 51
56 <template is="dom-if" if="[[charCounter]]"> 52 <template is="dom-if" if="[[charCounter]]">
57 <paper-input-char-counter></paper-input-char-counter> 53 <paper-input-char-counter></paper-input-char-counter>
58 </template> 54 </template>
59 55
60 </paper-input-container> 56 </paper-input-container>
61 </template> 57 </template>
62 </dom-module> 58 </dom-module>
63 59
64 <script src="paper-textarea-extracted.js"></script></body></html> 60 <script src="paper-textarea-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698