Title: [132083] trunk/Source/WebKit/blackberry
Revision
132083
Author
[email protected]
Date
2012-10-22 09:49:48 -0700 (Mon, 22 Oct 2012)

Log Message

[BlackBerry] Remove specialized handling for isIndex fields.
https://bugs.webkit.org/show_bug.cgi?id=100004

Reviewed by Rob Buis.

PR 214342.

Remove special handling for isIndex field as the tag
is rewritten.

Reviewed Internally by Yongxin Dai and Nima Ghanavatian.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::inputStyle):
(BlackBerry::WebKit::InputHandler::elementType):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (132082 => 132083)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-10-22 16:48:18 UTC (rev 132082)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-10-22 16:49:48 UTC (rev 132083)
@@ -1,3 +1,21 @@
+2012-10-22  Mike Fenton  <[email protected]>
+
+        [BlackBerry] Remove specialized handling for isIndex fields.
+        https://bugs.webkit.org/show_bug.cgi?id=100004
+
+        Reviewed by Rob Buis.
+
+        PR 214342.
+
+        Remove special handling for isIndex field as the tag
+        is rewritten.
+
+        Reviewed Internally by Yongxin Dai and Nima Ghanavatian.
+
+        * WebKitSupport/InputHandler.cpp:
+        (BlackBerry::WebKit::inputStyle):
+        (BlackBerry::WebKit::InputHandler::elementType):
+
 2012-10-22  Jocelyn Turcotte  <[email protected]>
 
         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (132082 => 132083)


--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2012-10-22 16:48:18 UTC (rev 132082)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp	2012-10-22 16:49:48 UTC (rev 132083)
@@ -229,7 +229,6 @@
             // 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 @@
 
 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);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to