| OLD | NEW |
| 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-form-element-behavior/iron-form-element-behavio
r.html"> | 10 <link rel="import" href="../iron-form-element-behavior/iron-form-element-behavio
r.html"> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 input:-ms-input-placeholder { | 91 input:-ms-input-placeholder { |
| 92 color: var(--paper-input-container-color, --secondary-text-color); | 92 color: var(--paper-input-container-color, --secondary-text-color); |
| 93 } | 93 } |
| 94 </style> | 94 </style> |
| 95 | 95 |
| 96 <paper-input-container no-label-float="[[noLabelFloat]]" always-float-label=
"[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[a
utoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> | 96 <paper-input-container no-label-float="[[noLabelFloat]]" always-float-label=
"[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[a
utoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]"> |
| 97 | 97 |
| 98 <content select="[prefix]"></content> | 98 <content select="[prefix]"></content> |
| 99 | 99 |
| 100 <label hidden$="[[!label]]" aria-hidden="true">[[label]]</label> | 100 <label hidden$="[[!label]]" aria-hidden="true" for="input">[[label]]</labe
l> |
| 101 | 101 |
| 102 <input is="iron-input" id="input" aria-labelledby$="[[_ariaLabelledBy]]" a
ria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title
]]" bind-value="{{value}}" invalid="{{invalid}}" prevent-invalid-input="[[preven
tInvalidInput]]" allowed-pattern="[[allowedPattern]]" validator="[[validator]]"
type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="
[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlengt
h$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step
$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readon
ly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" aut
ocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabindex]]" autos
ave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[mul
tiple]]"> | 102 <input is="iron-input" id="input" aria-labelledby$="[[_ariaLabelledBy]]" a
ria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title
]]" bind-value="{{value}}" invalid="{{invalid}}" prevent-invalid-input="[[preven
tInvalidInput]]" allowed-pattern="[[allowedPattern]]" validator="[[validator]]"
type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="
[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlengt
h$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step
$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readon
ly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" aut
ocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabindex]]" autos
ave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[mul
tiple]]"> |
| 103 | 103 |
| 104 <content select="[suffix]"></content> | 104 <content select="[suffix]"></content> |
| 105 | 105 |
| 106 <template is="dom-if" if="[[errorMessage]]"> | 106 <template is="dom-if" if="[[errorMessage]]"> |
| 107 <paper-input-error>[[errorMessage]]</paper-input-error> | 107 <paper-input-error aria-live="assertive">[[errorMessage]]</paper-input-e
rror> |
| 108 </template> | 108 </template> |
| 109 | 109 |
| 110 <template is="dom-if" if="[[charCounter]]"> | 110 <template is="dom-if" if="[[charCounter]]"> |
| 111 <paper-input-char-counter></paper-input-char-counter> | 111 <paper-input-char-counter></paper-input-char-counter> |
| 112 </template> | 112 </template> |
| 113 | 113 |
| 114 </paper-input-container> | 114 </paper-input-container> |
| 115 </template> | 115 </template> |
| 116 </dom-module> | 116 </dom-module> |
| 117 | 117 |
| 118 <script src="paper-input-extracted.js"></script></body></html> | 118 <script src="paper-input-extracted.js"></script></body></html> |
| OLD | NEW |