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

Side by Side Diff: Source/core/css/themeInputMultipleFields.css

Issue 988523003: Reimplement min-width: auto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 input[type="date" i], 6 input[type="date" i],
7 input[type="datetime-local" i], 7 input[type="datetime-local" i],
8 input[type="month" i], 8 input[type="month" i],
9 input[type="time" i], 9 input[type="time" i],
10 input[type="week" i] { 10 input[type="week" i] {
11 align-items: center; 11 align-items: center;
12 display: -webkit-inline-flex; 12 display: -webkit-inline-flex;
13 font-family: monospace; 13 font-family: monospace;
14 overflow: hidden; 14 overflow: hidden;
15 padding: 0; 15 padding: 0;
16 -webkit-padding-start: 1px; 16 -webkit-padding-start: 1px;
17 } 17 }
18 18
19 input::-webkit-datetime-edit { 19 input::-webkit-datetime-edit {
20 flex: 1; 20 flex: 1;
21 min-width: 0;
21 -webkit-user-modify: read-only !important; 22 -webkit-user-modify: read-only !important;
22 display: inline-block; 23 display: inline-block;
23 overflow: hidden; 24 overflow: hidden;
24 } 25 }
25 26
26 input::-webkit-datetime-edit-fields-wrapper { 27 input::-webkit-datetime-edit-fields-wrapper {
27 -webkit-user-modify: read-only !important; 28 -webkit-user-modify: read-only !important;
28 display: inline-block; 29 display: inline-block;
29 padding: 1px 0; 30 padding: 1px 0;
30 white-space: pre; 31 white-space: pre;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 input[type="date" i]::-webkit-inner-spin-button, 87 input[type="date" i]::-webkit-inner-spin-button,
87 input[type="datetime" i]::-webkit-inner-spin-button, 88 input[type="datetime" i]::-webkit-inner-spin-button,
88 input[type="datetime-local" i]::-webkit-inner-spin-button, 89 input[type="datetime-local" i]::-webkit-inner-spin-button,
89 input[type="month" i]::-webkit-inner-spin-button, 90 input[type="month" i]::-webkit-inner-spin-button,
90 input[type="time" i]::-webkit-inner-spin-button, 91 input[type="time" i]::-webkit-inner-spin-button,
91 input[type="week" i]::-webkit-inner-spin-button { 92 input[type="week" i]::-webkit-inner-spin-button {
92 /* FIXME: Remove height. */ 93 /* FIXME: Remove height. */
93 height: 1.5em; 94 height: 1.5em;
94 -webkit-margin-start: 2px; 95 -webkit-margin-start: 2px;
95 } 96 }
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698