| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| index c871583b58f1e0606c882852af4c5fa7af3b0941..286fc9a7e8f6a10d129e3e9ff24f70275aafdb9f 100644
|
| --- a/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| @@ -2314,12 +2314,12 @@ WebString WebViewImpl::inputModeOfFocusedElement()
|
| if (node->hasTagName(HTMLNames::inputTag)) {
|
| const HTMLInputElement* input = toHTMLInputElement(node);
|
| if (input->supportsInputModeAttribute())
|
| - return input->fastGetAttribute(HTMLNames::inputmodeAttr);
|
| + return input->fastGetAttribute(HTMLNames::inputmodeAttr).lower();
|
| return WebString();
|
| }
|
| if (isHTMLTextAreaElement(node)) {
|
| const HTMLTextAreaElement* textarea = toHTMLTextAreaElement(node);
|
| - return textarea->fastGetAttribute(HTMLNames::inputmodeAttr);
|
| + return textarea->fastGetAttribute(HTMLNames::inputmodeAttr).lower();
|
| }
|
|
|
| return WebString();
|
|
|