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

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

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add <datalist> display:none rule in RenderTheme::extraDefaultStyleSheet depending on the runtime fl… 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 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 65edad76326adf89aff9c931d04dbfaeac9b2b72..5d4cf9f4afbdf5faa675932aadb8efe597ac7d34 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -481,12 +481,6 @@ input[type="search"]::-webkit-search-results-decoration {
margin: auto 0;
}
-#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT
-datalist {
- display: none;
-}
-#endif
-
#if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI
input[type="date"] {
-webkit-align-items: center;
@@ -870,8 +864,6 @@ input[type="color"]::-webkit-color-swatch {
-webkit-user-modify: read-only !important;
}
-#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT
-
input[type="color"][list] {
tkent 2013/05/20 21:32:11 These three blocks should be added dynamically by
-webkit-appearance: menulist;
width: 88px;
@@ -887,8 +879,6 @@ input[type="color"][list]::-webkit-color-swatch {
border-color: #000000;
}
-#endif // defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT
-
#endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR
#if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER

Powered by Google App Engine
This is Rietveld 408576698