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

Unified Diff: Source/core/css/html.css

Issue 174833002: Move UA style rulesets for <datalist> and input[type=color][list] to html.css (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/html.css
diff --git a/Source/core/css/html.css b/Source/core/css/html.css
index df9dd1ec3f0e42cad350d7887b74c711df44aa94..7b49c3c161757ccf8eb54677fdf53ad9c4e7e824 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -771,6 +771,10 @@ input[type="button"]:active:disabled, input[type="submit"]:active:disabled, inpu
border-style: outset
}
+datalist {
+ display: none
+}
+
area, param {
display: none
}
@@ -807,6 +811,21 @@ input[type="color"]::-webkit-color-swatch {
-webkit-user-modify: read-only !important;
}
+input[type="color"][list] {
+ -webkit-appearance: menulist;
+ width: 88px;
+ height: 23px
+}
+
+input[type="color"][list]::-webkit-color-swatch-wrapper {
+ padding-left: 8px;
+ padding-right: 24px;
+}
+
+input[type="color"][list]::-webkit-color-swatch {
+ border-color: #000000;
tkent 2014/02/21 07:33:39 Why we use a border color different from input[typ
keishi 2014/02/25 01:37:02 When we have a list attribute the button looks lik
+}
+
input::-webkit-calendar-picker-indicator {
display: inline-block;
width: 0.66em;
« no previous file with comments | « no previous file | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698