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

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

Issue 2089563002: [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: polymer update Created 4 years, 6 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-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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 @demo demo/index.html 65 @demo demo/index.html
66 --> 66 -->
67 67
68 </head><body><dom-module id="paper-input"> 68 </head><body><dom-module id="paper-input">
69 <template> 69 <template>
70 <style> 70 <style>
71 :host { 71 :host {
72 display: block; 72 display: block;
73 } 73 }
74 74
75 :host([hidden]) {
76 display: none !important;
77 }
78
75 input::-webkit-input-placeholder { 79 input::-webkit-input-placeholder {
76 color: var(--paper-input-container-color, --secondary-text-color); 80 color: var(--paper-input-container-color, --secondary-text-color);
77 } 81 }
78 82
79 input:-moz-placeholder { 83 input:-moz-placeholder {
80 color: var(--paper-input-container-color, --secondary-text-color); 84 color: var(--paper-input-container-color, --secondary-text-color);
81 } 85 }
82 86
83 input::-moz-placeholder { 87 input::-moz-placeholder {
84 color: var(--paper-input-container-color, --secondary-text-color); 88 color: var(--paper-input-container-color, --secondary-text-color);
85 } 89 }
86 90
87 input:-ms-input-placeholder { 91 input:-ms-input-placeholder {
88 color: var(--paper-input-container-color, --secondary-text-color); 92 color: var(--paper-input-container-color, --secondary-text-color);
89 } 93 }
90 </style> 94 </style>
91 95
92 <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]]">
93 97
94 <content select="[prefix]"></content> 98 <content select="[prefix]"></content>
95 99
96 <label hidden$="[[!label]]">[[label]]</label> 100 <label hidden$="[[!label]]" aria-hidden="true">[[label]]</label>
97 101
98 <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]]">
99 103
100 <content select="[suffix]"></content> 104 <content select="[suffix]"></content>
101 105
102 <template is="dom-if" if="[[errorMessage]]"> 106 <template is="dom-if" if="[[errorMessage]]">
103 <paper-input-error>[[errorMessage]]</paper-input-error> 107 <paper-input-error>[[errorMessage]]</paper-input-error>
104 </template> 108 </template>
105 109
106 <template is="dom-if" if="[[charCounter]]"> 110 <template is="dom-if" if="[[charCounter]]">
107 <paper-input-char-counter></paper-input-char-counter> 111 <paper-input-char-counter></paper-input-char-counter>
108 </template> 112 </template>
109 113
110 </paper-input-container> 114 </paper-input-container>
111 </template> 115 </template>
112 </dom-module> 116 </dom-module>
113 117
114 <script src="paper-input-extracted.js"></script></body></html> 118 <script src="paper-input-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698