[BlackBerry] InputHandler: fix calls to HTMLInputElement methods

https://bugs.webkit.org/show_bug.cgi?id=114283

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-09
Reviewed by Rob Buis.

Fix calls with wrong names.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3cc006a9
2013-04-09 Alberto Garcia <agarcia@igalia.com>
[BlackBerry] InputHandler: fix calls to HTMLInputElement methods
https://bugs.webkit.org/show_bug.cgi?id=114283
Reviewed by Rob Buis.
Fix calls with wrong names.
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):
2013-04-08 Benjamin Poulain <benjamin@webkit.org>
Remove HTML Notification
......
......@@ -170,7 +170,7 @@ static BlackBerryInputType convertInputType(const HTMLInputElement* inputElement
return InputTypeSearch;
if (inputElement->isEmailField())
return InputTypeEmail;
if (inputElement->isMonthControl())
if (inputElement->isMonthField())
return InputTypeMonth;
if (inputElement->isNumberField())
return InputTypeNumber;
......@@ -182,13 +182,13 @@ static BlackBerryInputType convertInputType(const HTMLInputElement* inputElement
if (inputElement->isColorControl())
return InputTypeColor;
#endif
if (inputElement->isDateControl())
if (inputElement->isDateField())
return InputTypeDate;
if (inputElement->isDateTimeControl())
if (inputElement->isDateTimeField())
return InputTypeDateTime;
if (inputElement->isDateTimeLocalControl())
if (inputElement->isDateTimeLocalField())
return InputTypeDateTimeLocal;
if (inputElement->isTimeControl())
if (inputElement->isTimeField())
return InputTypeTime;
// FIXME: missing WEEK popup selector
if (DOMSupport::elementIdOrNameIndicatesEmail(inputElement))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment