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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/css/html.css
diff --git a/Source/core/css/html.css b/Source/core/css/html.css
index 2e905889bd7268dfb2ba13c3ef2f22dbacde39c1..fbe5a1e5a7b05bd2634be3fa4a51a9ab0f017d63 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -793,6 +793,10 @@ input[type="color"] {
-webkit-appearance: square-button;
width: 44px;
height: 23px;
+ background-color: ButtonFace;
+ /* Same as native_theme_base. */
+ border: 1px #a9a9a9 solid;
+ padding: 1px 2px;
}
input[type="color"]::-webkit-color-swatch-wrapper {
« 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