Changeset 58144 in webkit
- Timestamp:
- Apr 22, 2010 8:39:56 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58143 r58144 1 2010-04-22 Ray Rischpater <Raymond.Rischpater@Nokia.com> 2 3 Reviewed by Darin Adler. 4 5 In HTMLInputElement.cpp, shouldUseInputMethod does not return true for 6 some text input types (TELEPHONE, NUMBER, URL, and EMAIL). Addressed 7 this by changing shouldUseInputMethod to use internal methods to 8 check that the field is a text field that isn't a password field. 9 10 No new tests. 11 12 Fixes <https://bugs.webkit.org/show_bug.cgi?id=37719> 13 14 * html/HTMLInputElement.cpp: 15 (WebCore::HTMLInputElement::shouldUseInputMethod): 16 1 17 2010-04-22 Yaar Schnitman <yaar@chromium.org> 2 18 -
trunk/WebCore/html/HTMLInputElement.cpp
r58057 r58144 730 730 bool HTMLInputElement::shouldUseInputMethod() const 731 731 { 732 return m_type == TEXT || m_type == SEARCH || m_type == ISINDEX; 732 // The reason IME's are disabled for the password field is because IMEs 733 // can access the underlying password and display it in clear text -- 734 // e.g. you can use it to access the stored password for any site 735 // with only trivial effort. 736 return isTextField() && inputType() != PASSWORD; 733 737 } 734 738
Note: See TracChangeset
for help on using the changeset viewer.