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

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

Issue 225413019: input[type=color] should look like a button (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More NeedsRebaseline Created 6 years, 8 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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 786
787 input[type="radio"] { 787 input[type="radio"] {
788 -webkit-appearance: radio; 788 -webkit-appearance: radio;
789 box-sizing: border-box; 789 box-sizing: border-box;
790 } 790 }
791 791
792 input[type="color"] { 792 input[type="color"] {
793 -webkit-appearance: square-button; 793 -webkit-appearance: square-button;
794 width: 44px; 794 width: 44px;
795 height: 23px; 795 height: 23px;
796 background-color: ButtonFace;
797 /* Same as native_theme_base. */
798 border: 1px #a9a9a9 solid;
799 padding: 1px 2px;
796 } 800 }
797 801
798 input[type="color"]::-webkit-color-swatch-wrapper { 802 input[type="color"]::-webkit-color-swatch-wrapper {
799 display:flex; 803 display:flex;
800 padding: 4px 2px; 804 padding: 4px 2px;
801 box-sizing: border-box; 805 box-sizing: border-box;
802 -webkit-user-modify: read-only !important; 806 -webkit-user-modify: read-only !important;
803 width: 100%; 807 width: 100%;
804 height: 100% 808 height: 100%
805 } 809 }
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 @page { 1169 @page {
1166 /* FIXME: Define the right default values for page properties. */ 1170 /* FIXME: Define the right default values for page properties. */
1167 size: auto; 1171 size: auto;
1168 margin: auto; 1172 margin: auto;
1169 padding: 0px; 1173 padding: 0px;
1170 border-width: 0px; 1174 border-width: 0px;
1171 } 1175 }
1172 1176
1173 /* noscript is handled internally, as it depends on settings. */ 1177 /* noscript is handled internally, as it depends on settings. */
1174 1178
OLDNEW
« no previous file with comments | « LayoutTests/platform/win/fast/forms/color/input-appearance-color-expected.txt ('k') | Source/core/css/themeWin.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698