summaryrefslogtreecommitdiff
path: root/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-23 10:25:11 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-23 10:25:11 +0200
commit5ea819f80c6840c492386bfafbffb059c7e2091f (patch)
tree42ad0b1d82eff090d14278a088ea0f4840a0f938 /Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
parent43a42f108af6bcbd91f2672731c3047c26213af1 (diff)
downloadqtwebkit-5ea819f80c6840c492386bfafbffb059c7e2091f.tar.gz
Imported WebKit commit 20434eb8eb95065803473139d8794e98a7672f75 (http://svn.webkit.org/repository/webkit/trunk@132191)
New snapshot that should fix build with latest qtbase and the QPlastiqueStyle removal
Diffstat (limited to 'Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp')
-rw-r--r--Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp b/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
index 07397011b..0c23f4acc 100644
--- a/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
+++ b/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp
@@ -229,7 +229,6 @@ static int64_t inputStyle(BlackBerryInputType type, const Element* element)
// with autocorrect disabled explicitly. Only enable predictions.
return NO_AUTO_TEXT | NO_AUTO_CORRECTION;
}
- case InputTypeIsIndex:
case InputTypePassword:
case InputTypeNumber:
case InputTypeTelephone:
@@ -394,12 +393,6 @@ WTF::String InputHandler::elementText()
BlackBerryInputType InputHandler::elementType(Element* element) const
{
- // <isIndex> is bundled with input so we need to check the formControlName
- // first to differentiate it from input which is essentially the same as
- // isIndex has been deprecated.
- if (element->formControlName() == HTMLNames::isindexTag)
- return InputTypeIsIndex;
-
if (const HTMLInputElement* inputElement = static_cast<const HTMLInputElement*>(element->toInputElement()))
return convertInputType(inputElement);