NEW46110
Spellcheck checks spelling of user id fields
https://bugs.webkit.org/show_bug.cgi?id=46110
Summary Spellcheck checks spelling of user id fields
Evan Stade
Reported 2010-09-20 11:49:18 PDT
user id fields in login forms should not be spellchecked by default. For example, the user id field of gmail.com login. firefox/gecko doesn't have this problem (but at the same time, doesn't appear to spellcheck any single-line <input> such as website search boxes, which is divergent from webkit)
Attachments
Tony Chang
Comment 1 2010-09-21 10:21:48 PDT
(In reply to comment #0) > user id fields in login forms should not be spellchecked by default. For example, the user id field of gmail.com login. How can the browser tell if it's a user id field vs some other <input type="text"> field?
Alexey Proskuryakov
Comment 2 2010-09-21 10:29:12 PDT
If a browser has a "autofill passwords" feature (like Safari does), there's presumably a decent heuristic implemented already. But it's in browser, not in WebKit.
Evan Stade
Comment 3 2010-09-21 10:34:15 PDT
I guess based on the "name" attribute. For example, on gmail it's <input name="Email" [...]> So don't spellcheck for a whitelist of name values that includes "Email". This can in turn be overridden by the spellcheck attribute. I'm not claiming I understand all the implications of this approach but this was abstractly what I had had in mind.
Note You need to log in before you can comment on or make changes to this bug.