Changeset 133952 in webkit
- Timestamp:
- Nov 8, 2012 2:25:28 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r133945 r133952 1 2012-11-08 Tiancheng Jiang <tijiang@rim.com> 2 3 [BlackBerry] Update BB10 date input form. 4 https://bugs.webkit.org/show_bug.cgi?id=101075 5 6 Reviewed by Rob Buis. 7 8 RIM PR 234531 9 Internally Reviewed by Mike Fenton. 10 Change date input appearance to button and hide caret when click on them. 11 12 * css/themeBlackBerry.css: 13 (input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"]): 14 1 15 2012-11-08 Adam Barth <abarth@webkit.org> 2 16 -
trunk/Source/WebCore/css/themeBlackBerry.css
r133674 r133952 19 19 textarea { 20 20 font-family: monospace; 21 }22 23 input[type="datetime"],24 input[type="date"],25 input[type="week"],26 input[type="month"],27 input[type="time"],28 input[type="datetime-local"],29 input[type="number"],30 input[type="color"] {31 border: solid 2px blue;32 21 } 33 22 … … 64 53 font-weight: normal; 65 54 } 55 56 input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"] { 57 -webkit-appearance: button; 58 text-align: center; 59 } -
trunk/Source/WebKit/blackberry/ChangeLog
r133951 r133952 1 2012-11-08 Tiancheng Jiang <tijiang@rim.com> 2 3 [BlackBerry] Update BB10 date input form. 4 https://bugs.webkit.org/show_bug.cgi?id=101075 5 6 Reviewed by Rob Buis. 7 8 RIM PR 234531 9 Internally Reviewed by Mike Fenton. 10 Change date input appearance to button and hide caret when click on them. 11 12 * WebCoreSupport/DatePickerClient.cpp: 13 (WebCore::DatePickerClient::setValueAndClosePopup): 14 * WebKitSupport/InputHandler.cpp: 15 (BlackBerry::WebKit::InputHandler::openDatePopup): 16 1 17 2012-11-08 Nima Ghanavatian <nghanavatian@rim.com> 2 18 -
trunk/Source/WebKit/blackberry/WebCoreSupport/DatePickerClient.cpp
r131316 r133952 24 24 #include "Document.h" 25 25 #include "DocumentWriter.h" 26 #include "Frame.h" 26 27 #include "HTMLInputElement.h" 27 28 #include "Page.h" … … 129 130 ASSERT(m_element); 130 131 132 // We hide caret when we select date input field, restore it when we close date picker. 133 m_element->document()->frame()->selection()->setCaretVisible(true); 134 131 135 if (value != "-1") 132 136 m_element->setValue(value); -
trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
r133951 r133952 983 983 case BlackBerry::Platform::InputTypeDateTimeLocal: 984 984 case BlackBerry::Platform::InputTypeMonth: { 985 // Date input have button appearance, we hide caret when they get clicked. 986 element->document()->frame()->selection()->setCaretVisible(false); 987 985 988 // Check if popup already exists, close it if does. 986 989 m_webPage->m_page->chrome()->client()->closePagePopup(0);
Note: See TracChangeset
for help on using the changeset viewer.