-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=81364 Patch by Mike Fenton <mifenton@rim.com> on 2012-03-16 Reviewed by Rob Buis. Treat fields that have name/id's that match url or email as url or email fields providing the appropriate keyboard. PR 137259. Reviewed Internally by Gen Mak and Nima Ghanavatian. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::matchesReservedStringEmail): (DOMSupport): (BlackBerry::WebKit::DOMSupport::matchesReservedStringUrl): (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesEmail): (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesUrl): (BlackBerry::WebKit::DOMSupport::matchesReservedStringPreventingAutocomplete): * WebKitSupport/DOMSupport.h: (WebCore): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::convertInputType): (BlackBerry::WebKit::inputStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b037d298