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

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

Issue 15838011: Fix where the clear button will be drawn when adding padding to the input element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changed to static function, Removed pngs Created 7 years, 7 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 | Annotate | Revision Log
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 input[type="search"]::-webkit-textfield-decoration-container { 445 input[type="search"]::-webkit-textfield-decoration-container {
446 direction: ltr; 446 direction: ltr;
447 } 447 }
448 448
449 input::-webkit-clear-button { 449 input::-webkit-clear-button {
450 -webkit-appearance: searchfield-cancel-button; 450 -webkit-appearance: searchfield-cancel-button;
451 display: inline-block; 451 display: inline-block;
452 -webkit-flex: none; 452 -webkit-flex: none;
453 -webkit-user-modify: read-only !important; 453 -webkit-user-modify: read-only !important;
454 margin-left: 2px; 454 -webkit-margin-start: 2px;
455 } 455 }
456 456
457 input[type="search"]::-webkit-search-cancel-button { 457 input[type="search"]::-webkit-search-cancel-button {
458 -webkit-appearance: searchfield-cancel-button; 458 -webkit-appearance: searchfield-cancel-button;
459 display: block; 459 display: block;
460 -webkit-flex: none; 460 -webkit-flex: none;
461 -webkit-user-modify: read-only !important; 461 -webkit-user-modify: read-only !important;
462 -webkit-align-self: flex-start; 462 -webkit-align-self: flex-start;
463 margin: auto 0; 463 margin: auto 0;
464 } 464 }
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 @page { 1248 @page {
1249 /* FIXME: Define the right default values for page properties. */ 1249 /* FIXME: Define the right default values for page properties. */
1250 size: auto; 1250 size: auto;
1251 margin: auto; 1251 margin: auto;
1252 padding: 0px; 1252 padding: 0px;
1253 border-width: 0px; 1253 border-width: 0px;
1254 } 1254 }
1255 1255
1256 /* noscript is handled internally, as it depends on settings. */ 1256 /* noscript is handled internally, as it depends on settings. */
1257 1257
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698