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

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2227373002: chrome://downloads: Fix a regression by RTL-aware input[type=search]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cr_search_field.css Created 4 years, 4 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 | ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- -
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 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 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 z-index: 0; 2449 z-index: 0;
2450 } 2450 }
2451 2451
2452 #searchTerm input[type='search']::-webkit-search-decoration, 2452 #searchTerm input[type='search']::-webkit-search-decoration,
2453 #searchTerm input[type='search']::-webkit-search-cancel-button, 2453 #searchTerm input[type='search']::-webkit-search-cancel-button,
2454 #searchTerm input[type='search']::-webkit-search-results-button { 2454 #searchTerm input[type='search']::-webkit-search-results-button {
2455 -webkit-appearance: none; 2455 -webkit-appearance: none;
2456 } 2456 }
2457 2457
2458 #searchTerm input[type='search']::-webkit-search-cancel-button { 2458 #searchTerm input[type='search']::-webkit-search-cancel-button {
2459 display: block; 2459 display: none;
2460 width: 20px; 2460 }
2461
2462 #searchTerm input[type='search'] {
2463 padding-right: 20px;
2461 } 2464 }
2462 2465
2463 paper-icon-button { 2466 paper-icon-button {
2464 --iron-icon-height: 20px; 2467 --iron-icon-height: 20px;
2465 --iron-icon-width: 20px; 2468 --iron-icon-width: 20px;
2466 --paper-icon-button: { 2469 --paper-icon-button: {
2467 height: 32px; 2470 height: 32px;
2468 padding: 6px; 2471 padding: 6px;
2469 width: 32px; 2472 width: 32px;
2470 }; 2473 };
(...skipping 12 matching lines...) Expand all
2483 right: 0; 2486 right: 0;
2484 top: -4px; 2487 top: -4px;
2485 z-index: 1; 2488 z-index: 1;
2486 } 2489 }
2487 2490
2488 :host-context([dir='rtl']) #searchTerm paper-icon-button { 2491 :host-context([dir='rtl']) #searchTerm paper-icon-button {
2489 left: 0; 2492 left: 0;
2490 right: auto; 2493 right: auto;
2491 } 2494 }
2492 2495
2496 :host-context([dir='rtl']) #searchTerm input[type='search'] {
2497 padding-left: 20px;
2498 padding-right: 0;
2499 }
2500
2493 </style> 2501 </style>
2494 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-tap="toggleShowingSearch_"></paper-icon-button> 2502 <paper-icon-button icon="cr:search" id="searchButton" disabled$="[[showingSe arch]]" title="[[label]]" on-tap="toggleShowingSearch_"></paper-icon-button>
2495 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float=""> 2503 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" hidden$="[[!showingSearch]]" no-label-float="">
2496 <input is="iron-input" id="searchInput" type="search" bind-value="{{value_ }}" placeholder="[[label]]" incremental=""> 2504 <input is="iron-input" id="searchInput" type="search" bind-value="{{value_ }}" placeholder="[[label]]" incremental="">
2497 <template is="dom-if" if="[[value_]]"> 2505 <template is="dom-if" if="[[value_]]">
2498 <paper-icon-button icon="cr:cancel" on-tap="clearSearch_" title="[[clear Label]]" hidden$="[[!showingSearch]]"> 2506 <paper-icon-button icon="cr:cancel" on-tap="clearSearch_" title="[[clear Label]]" hidden$="[[!showingSearch]]">
2499 </paper-icon-button> 2507 </paper-icon-button>
2500 </template> 2508 </template>
2501 </paper-input-container> 2509 </paper-input-container>
2502 </template> 2510 </template>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
2783 <command id="undo-command" shortcut="Meta|z"></command> 2791 <command id="undo-command" shortcut="Meta|z"></command>
2784 <command id="find-command" shortcut="Meta|f"></command> 2792 <command id="find-command" shortcut="Meta|f"></command>
2785 </if> 2793 </if>
2786 <if expr="not is_macosx"> 2794 <if expr="not is_macosx">
2787 <command id="clear-all-command" shortcut="Alt|c"></command> 2795 <command id="clear-all-command" shortcut="Alt|c"></command>
2788 <command id="undo-command" shortcut="Ctrl|z"></command> 2796 <command id="undo-command" shortcut="Ctrl|z"></command>
2789 <command id="find-command" shortcut="Ctrl|f"></command> 2797 <command id="find-command" shortcut="Ctrl|f"></command>
2790 </if> 2798 </if>
2791 <link rel="import" href="chrome://resources/html/polymer.html"> 2799 <link rel="import" href="chrome://resources/html/polymer.html">
2792 <script src="crisper.js"></script></body></html> 2800 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698