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

Side by Side Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2263973002: md-history: Fix a search field regression caused by r410495. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner-lite.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner-lite.html">
6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field_behavior.html"> 6 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field_behavior.html">
7 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 7 <link rel="import" href="chrome://resources/cr_elements/icons.html">
8 8
9 <dom-module id="cr-toolbar-search-field"> 9 <dom-module id="cr-toolbar-search-field">
10 <template> 10 <template>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 display: none; 64 display: none;
65 }; 65 };
66 --paper-input-container-underline-focus: { 66 --paper-input-container-underline-focus: {
67 display: none; 67 display: none;
68 }; 68 };
69 --paper-input-container-label: { 69 --paper-input-container-label: {
70 color: inherit; 70 color: inherit;
71 font-size: inherit; 71 font-size: inherit;
72 }; 72 };
73 -webkit-padding-start: 2px; 73 -webkit-padding-start: 2px;
74 -webkit-padding-end: 1px;
74 flex: 1; 75 flex: 1;
75 } 76 }
76 77
77 input[type='search']::-webkit-search-decoration, 78 input[type='search']::-webkit-search-cancel-button {
78 input[type='search']::-webkit-search-cancel-button,
79 input[type='search']::-webkit-search-results-button {
80 -webkit-appearance: none; 79 -webkit-appearance: none;
80 margin: 0;
81 } 81 }
82 82
83 /** Wide layout. */ 83 /** Wide layout. */
84 :host(:not([narrow])) { 84 :host(:not([narrow])) {
85 -webkit-padding-end: 0; 85 -webkit-padding-end: 0;
86 background: rgba(0, 0, 0, 0.22); 86 background: rgba(0, 0, 0, 0.22);
87 border-radius: 2px; 87 border-radius: 2px;
88 cursor: text; 88 cursor: text;
89 width: var(--cr-toolbar-field-width); 89 width: var(--cr-toolbar-field-width);
90 } 90 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 <input is="iron-input" id="searchInput" type="search" 132 <input is="iron-input" id="searchInput" type="search"
133 on-blur="onInputBlur_" incremental></input> 133 on-blur="onInputBlur_" incremental></input>
134 </paper-input-container> 134 </paper-input-container>
135 <paper-icon-button icon="cr:cancel" id="clearSearch" 135 <paper-icon-button icon="cr:cancel" id="clearSearch"
136 title="[[clearLabel]]" hidden$="[[!hasSearchText_]]" 136 title="[[clearLabel]]" hidden$="[[!hasSearchText_]]"
137 on-tap="hideSearch_"> 137 on-tap="hideSearch_">
138 </paper-icon-button> 138 </paper-icon-button>
139 </template> 139 </template>
140 <script src="cr_toolbar_search_field.js"></script> 140 <script src="cr_toolbar_search_field.js"></script>
141 </dom-module> 141 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698