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

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: Process CSS files too. Created 4 years, 10 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-behaviors/iron-control-state.html"> 10 <link rel="import" href="../iron-behaviors/iron-control-state.html">
(...skipping 28 matching lines...) Expand all
39 39
40 </head><body><dom-module id="iron-autogrow-textarea"> 40 </head><body><dom-module id="iron-autogrow-textarea">
41 41
42 <style> 42 <style>
43 :host { 43 :host {
44 display: inline-block; 44 display: inline-block;
45 position: relative; 45 position: relative;
46 width: 400px; 46 width: 400px;
47 border: 1px solid; 47 border: 1px solid;
48 padding: 2px; 48 padding: 2px;
49 -moz-appearance: textarea;
50 -webkit-appearance: textarea;
51 } 49 }
52 50
53 .mirror-text { 51 .mirror-text {
54 visibility: hidden; 52 visibility: hidden;
55 word-wrap: break-word; 53 word-wrap: break-word;
56 } 54 }
57 55
58 .fit { 56 .fit {
59 @apply(--layout-fit); 57 @apply(--layout-fit);
60 } 58 }
(...skipping 26 matching lines...) Expand all
87 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div> 85 <div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div>
88 86
89 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --> 87 <!-- size the input/textarea with a div, because the textarea has intrinsic size in ff -->
90 <div class="textarea-container fit"> 88 <div class="textarea-container fit">
91 <textarea id="textarea" autocomplete$="[[autocomplete]]" autofocus$="[[aut ofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholder]]" readonly$="[ [readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea> 89 <textarea id="textarea" autocomplete$="[[autocomplete]]" autofocus$="[[aut ofocus]]" inputmode$="[[inputmode]]" placeholder$="[[placeholder]]" readonly$="[ [readonly]]" required$="[[required]]" disabled$="[[disabled]]" rows$="[[rows]]" maxlength$="[[maxlength]]"></textarea>
92 </div> 90 </div>
93 </template> 91 </template>
94 </dom-module> 92 </dom-module>
95 93
96 <script src="iron-autogrow-textarea-extracted.js"></script></body></html> 94 <script src="iron-autogrow-textarea-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698