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

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

Issue 11557024: Merge 136808 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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 | « LayoutTests/platform/chromium/TestExpectations ('k') | Source/WebCore/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/html.css
===================================================================
--- Source/WebCore/css/html.css (revision 137540)
+++ Source/WebCore/css/html.css (working copy)
@@ -540,6 +540,8 @@
white-space: pre;
}
+/* If you update padding, border, or margin in the following ruleset, update
+ DateTimeFieldElement::maximumWidth too. */
input::-webkit-datetime-edit-ampm-field,
input::-webkit-datetime-edit-day-field,
input::-webkit-datetime-edit-hour-field,
@@ -551,9 +553,9 @@
input::-webkit-datetime-edit-year-field {
-webkit-user-modify: read-only !important;
border: none;
- display: inline-block;
- margin: 1px;
- text-align: center;
+ display: inline;
+ font: inherit !important;
+ padding: 1px;
}
/* Remove focus ring from fields and use highlight color */
@@ -579,9 +581,12 @@
color: GrayText;
}
+/* If you update padding, border, or margin in the following ruleset, update
+ DateTimeEditElement::customStyelForRenderer too. */
input::-webkit-datetime-edit-text {
-webkit-user-modify: read-only !important;
- display: inline-block;
+ display: inline;
+ font: inherit !important;
}
input::-webkit-date-and-time-container {
« no previous file with comments | « LayoutTests/platform/chromium/TestExpectations ('k') | Source/WebCore/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698