Changeset 130467 in webkit
- Timestamp:
- Oct 4, 2012 11:24:56 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r130465 r130467 1 2012-10-04 Kent Tamura <tkent@chromium.org> 2 3 Fix font for date/time input types. 4 https://bugs.webkit.org/show_bug.cgi?id=98478 5 6 Reviewed by Kentaro Hara. 7 8 input[type=date] should use monospace font if 9 ENABLE_INPUT_MULTIPLE_FIELDS_UI && ENABLE_INPUT_TYPE_DATE. 10 11 For other date/time types, they should use monospace font only 12 if their types are enabled. input[type="foo"] matches input 13 element with type="foo" even if the foo type is not supported. 14 15 The input[type=date] change is covered by 16 fast/forms/date/calendar-picker-appearance.html, 17 platform/chromium/fast/forms/date/date-suggestion-picker-appearance*.html 18 19 * css/html.css: 20 (input[type="date"]): 21 (input[type="datetime"]): 22 (input[type="datetime-local"]): 23 (input[type="month"]): 24 (input[type="time"]): 25 1 26 2012-10-04 Hajime Morrita <morrita@google.com> 2 27 -
trunk/Source/WebCore/css/html.css
r130339 r130467 478 478 479 479 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI 480 input[type="datetime"], 481 input[type="datetime-local"], 482 input[type="month"], 483 input[type="time"], 480 #if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE 481 input[type="date"] { 482 font-family: monospace; 483 } 484 #endif 485 #if defined(ENABLE_INPUT_TYPE_DATETIME) && ENABLE_INPUT_TYPE_DATETIME 486 input[type="datetime"] { 487 font-family: monospace; 488 } 489 #endif 490 #if defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) && ENABLE_INPUT_TYPE_DATETIMELOCAL 491 input[type="datetime-local"] { 492 font-family: monospace; 493 } 494 #endif 495 #if defined(ENABLE_INPUT_TYPE_MONTH) && ENABLE_INPUT_TYPE_MONTH 496 input[type="month"] { 497 font-family: monospace; 498 } 499 #endif 500 #if defined(ENABLE_INPUT_TYPE_TIME) && ENABLE_INPUT_TYPE_TIME 501 input[type="time"] { 502 font-family: monospace; 503 } 504 #endif 505 #if defined(ENABLE_INPUT_TYPE_WEEK) && ENABLE_INPUT_TYPE_WEEK 484 506 input[type="week"] { 485 507 font-family: monospace; 486 508 } 509 #endif 487 510 488 511 input::-webkit-datetime-edit {
Note: See TracChangeset
for help on using the changeset viewer.