Closed Bug 909690 Opened 11 years ago Closed 11 years ago

implement autocorrect, autocapitalize on textarea and input[type=text]

Categories

(Firefox for Android Graveyard :: General, defect)

23 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dave, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130814063812 Steps to reproduce: I have a text area <textarea autofocus="autofocus" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false"></textarea> Test jsfiddle is available at http://jsfiddle.net/ZNker Actual results: Based on my testing, I saw: * autocomplete on/off doesn't appear to have any effect (probably okay) * autocapitalize on/off doesn't appear to have any effect (shift always unshifted by default on first char of sentence) * autocorrect off doesn't have an effect (I always see android suggestions bar and automatic spelling correction takes place after leaving a word) * spellcheck doesn't seem to have an effect(? Probably okay) * autofocus DOES work (sweet!) Expected results: I would like to see autocapitalize work such that "on" toggles shift on by default for the first character in a sentence, and "off" disables any automatic toggleage of shift (the current behavior). Make autocapitalize "on" or "off" by default if not specified on the tag. I would like to see that autocorrect "off" disables the suggestion bar so that I get to reclaim that screen realestate. Additionally, when autocorrect="off", I would like to see the keydown, keypress, keyup events fire immediately on each virtual keyboard press. (I am using textarea for capturing game input, and I need the key events as the user presses keys) This page contains apple's documentation for their implementation of these attributes: https://developer.apple.com/library/IOS/documentation/AppleApplications/Reference/SafariWebContent/DesigningForms/DesigningForms.html Here is the w3's documentation on textarea (features autocomplete rather than autocorrect and autocapitalize): http://www.w3.org/html/wg/drafts/html/master/forms.html#the-textarea-element I would prefer Firefox simply implement what iOS has implemented to keep my code simple and browser neutral. Thanks! Firefox for Android is my go-to browser on android as of today!
This is several different bugs some of which we already support and already have bugs filed for. Please see the list at https://bugzilla.mozilla.org/showdependencytree.cgi?id=344614&maxdepth=2&hide_resolved=0
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.