User:Timdream/forms.js requirements: Difference between revisions

Jump to navigation Jump to search
→‎Focus management: submit/pagehide/beforeunload
(→‎Text input: composition and key events)
(→‎Focus management: submit/pagehide/beforeunload)
Line 25: Line 25:
# (To be removed) When the focus move from one input to another input in the same widget, don't send two blur/focus events but reduce to one focus event only.
# (To be removed) When the focus move from one input to another input in the same widget, don't send two blur/focus events but reduce to one focus event only.
# (Unimplemented) Detect input properties change (type/inputmode/readonly/etc.)
# (Unimplemented) Detect input properties change (type/inputmode/readonly/etc.)
# Send an async message when the page submit/pagehide/beforeunload; also trigger blur to keep the state consistent.


(1)(2) Focus are currently detected by listen to DOM events [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l193 L193].
(1)(2) Focus are currently detected by listen to DOM events [https://hg.mozilla.org/mozilla-central/file/7723b15ea695/dom/inputmethod/forms.js#l193 L193].
Confirmed users
478

edits

Navigation menu