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

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

Issue 12159003: Merge 141195 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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/WebCore/css/html.css
===================================================================
--- Source/WebCore/css/html.css (revision 141524)
+++ Source/WebCore/css/html.css (working copy)
@@ -480,54 +480,60 @@
#if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI
#if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE
input[type="date"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
#endif
#if defined(ENABLE_INPUT_TYPE_DATETIME) && ENABLE_INPUT_TYPE_DATETIME
input[type="datetime"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
#endif
#if defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) && ENABLE_INPUT_TYPE_DATETIMELOCAL
input[type="datetime-local"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
#endif
#if defined(ENABLE_INPUT_TYPE_MONTH) && ENABLE_INPUT_TYPE_MONTH
input[type="month"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
#endif
#if defined(ENABLE_INPUT_TYPE_TIME) && ENABLE_INPUT_TYPE_TIME
input[type="time"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
#endif
#if defined(ENABLE_INPUT_TYPE_WEEK) && ENABLE_INPUT_TYPE_WEEK
input[type="week"] {
- -webkit-align-items: stretch;
+ -webkit-align-items: center;
display: -webkit-inline-flex;
font-family: monospace;
+ overflow: hidden;
padding: 0;
-webkit-padding-start: 1px;
}
@@ -537,9 +543,17 @@
-webkit-flex: 1;
-webkit-user-modify: read-only !important;
display: inline-block;
- white-space: pre;
+ min-width: 0;
+ overflow: hidden;
}
+input::-webkit-datetime-edit-fields-wrapper {
+ -webkit-user-modify: read-only !important;
+ display: inline-block;
+ padding: 1px 0;
+ white-space: nowrap;
+}
+
/* If you update padding, border, or margin in the following ruleset, update
DateTimeFieldElement::maximumWidth too. */
input::-webkit-datetime-edit-ampm-field,
@@ -589,12 +603,6 @@
font: inherit !important;
}
-input::-webkit-date-and-time-container {
- -webkit-align-items: center;
- -webkit-flex: 1;
- display: -webkit-inline-flex;
-}
-
input[type="date"]::-webkit-inner-spin-button,
input[type="datetime"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
« no previous file with comments | « LayoutTests/platform/chromium/TestExpectations ('k') | Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698