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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea.html

Issue 1633603004: Add script to remove prefixed CSS from third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing files Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/polymer/v1_0/components-chromium/iron-flex-layout/classes/iron-flex-layout.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-behaviors/iron-control-state.html"> 10 <link rel="import" href="../iron-behaviors/iron-control-state.html">
(...skipping 26 matching lines...) Expand all
37 37
38 </head><body><dom-module id="iron-autogrow-textarea"> 38 </head><body><dom-module id="iron-autogrow-textarea">
39 <template> 39 <template>
40 <style> 40 <style>
41 :host { 41 :host {
42 display: inline-block; 42 display: inline-block;
43 position: relative; 43 position: relative;
44 width: 400px; 44 width: 400px;
45 border: 1px solid; 45 border: 1px solid;
46 padding: 2px; 46 padding: 2px;
47 -moz-appearance: textarea;
48 -webkit-appearance: textarea; 47 -webkit-appearance: textarea;
49 overflow: hidden; 48 overflow: hidden;
50 } 49 }
51 50
52 .mirror-text { 51 .mirror-text {
53 visibility: hidden; 52 visibility: hidden;
54 word-wrap: break-word; 53 word-wrap: break-word;
55 } 54 }
56 55
57 .fit { 56 .fit {
(...skipping 14 matching lines...) Expand all
72 font-family: inherit; 71 font-family: inherit;
73 line-height: inherit; 72 line-height: inherit;
74 text-align: inherit; 73 text-align: inherit;
75 @apply(--iron-autogrow-textarea); 74 @apply(--iron-autogrow-textarea);
76 } 75 }
77 76
78 ::content textarea:invalid { 77 ::content textarea:invalid {
79 box-shadow: none; 78 box-shadow: none;
80 } 79 }
81 80
82 textarea::-webkit-input-placeholder {
83 @apply(--iron-autogrow-textarea-placeholder); 81 @apply(--iron-autogrow-textarea-placeholder);
84 } 82 }
85 83
86 textarea:-moz-placeholder {
87 @apply(--iron-autogrow-textarea-placeholder);
88 }
89 84
90 textarea::-moz-placeholder {
91 @apply(--iron-autogrow-textarea-placeholder);
92 }
93 85
94 textarea:-ms-input-placeholder {
95 @apply(--iron-autogrow-textarea-placeholder);
96 }
97 </style> 86 </style>
98 87
99 <!-- the mirror sizes the input/textarea so it grows with typing --> 88 <!-- the mirror sizes the input/textarea so it grows with typing -->
100 <!-- use &#160; instead &nbsp; of to allow this element to be used in XHTML --> 89 <!-- use &#160; instead &nbsp; of to allow this element to be used in XHTML -->
101 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div> 90 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div>
102 91
103 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --> 92 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff -->
104 <div class="textarea-container fit"> 93 <div class="textarea-container fit">
105 <textarea id="textarea" name$="[[name]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholde r]]" readonly$="[[readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea> 94 <textarea id="textarea" name$="[[name]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholde r]]" readonly$="[[readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea>
106 </div> 95 </div>
107 </template> 96 </template>
108 </dom-module> 97 </dom-module>
109 98
110 <script src="iron-autogrow-textarea-extracted.js"></script></body></html> 99 <script src="iron-autogrow-textarea-extracted.js"></script></body></html>
OLDNEW
« no previous file with comments | « no previous file | third_party/polymer/v1_0/components-chromium/iron-flex-layout/classes/iron-flex-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698