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

Side by Side Diff: third_party/WebKit/Source/core/css/html.css

Issue 2219373002: input[type=search]: Flip the position of cancel button in RTL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 box-sizing: border-box; 429 box-sizing: border-box;
430 } 430 }
431 431
432 input::-webkit-textfield-decoration-container { 432 input::-webkit-textfield-decoration-container {
433 display: flex; 433 display: flex;
434 align-items: center; 434 align-items: center;
435 -webkit-user-modify: read-only !important; 435 -webkit-user-modify: read-only !important;
436 content: none !important; 436 content: none !important;
437 } 437 }
438 438
439 input[type="search" i]::-webkit-textfield-decoration-container {
440 direction: ltr;
441 }
442
443 input::-webkit-clear-button { 439 input::-webkit-clear-button {
444 -webkit-appearance: searchfield-cancel-button; 440 -webkit-appearance: searchfield-cancel-button;
445 display: inline-block; 441 display: inline-block;
446 flex: none; 442 flex: none;
447 -webkit-user-modify: read-only !important; 443 -webkit-user-modify: read-only !important;
448 -webkit-margin-start: 2px; 444 -webkit-margin-start: 2px;
449 opacity: 0; 445 opacity: 0;
450 pointer-events: none; 446 pointer-events: none;
451 } 447 }
452 448
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 padding: 0px; 1108 padding: 0px;
1113 border-width: 0px; 1109 border-width: 0px;
1114 } 1110 }
1115 1111
1116 /* Allows thead sections to print at the top of each page. */ 1112 /* Allows thead sections to print at the top of each page. */
1117 @media print { 1113 @media print {
1118 thead { break-inside:avoid; } 1114 thead { break-inside:avoid; }
1119 } 1115 }
1120 1116
1121 /* noscript is handled internally, as it depends on settings. */ 1117 /* noscript is handled internally, as it depends on settings. */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698