Commit Graph

69 Commits

Author SHA1 Message Date
Martijn Wargers
8edcd51ccd Bug 915437 - "System JS : ERROR chrome://browser/content/forms.js:942 TypeError: Argument 1 of Range.setEnd is not an object." on all B2G mochitest-9 runs. r=yxl 2013-09-30 13:53:40 +02:00
Masayuki Nakano
ea79a53670 Bug 911951 part.3 Reimplement CompositionManager.setComposition() and CompositionManager.endComposition() r=yxl 2013-09-13 00:19:00 +09:00
Yuan Xulei
68aabca295 Bug 902847 - Don't trim spaces before newline for contentEditable. r=hsivonen 2013-09-05 16:10:04 -04:00
Yuan Xulei
b3682128d6 Bug 904530 - endComposition should commit text before cursor. r=masayuki 2013-09-05 08:20:25 -04:00
Fabrice Desré
ab5ac459be Bug 910761 - "System JS : ERROR chrome://browser/content/forms.js:335 TypeError: target.contentDocument is null" on all B2G mochitest-3 runs r=yxl 2013-09-02 18:56:14 -07:00
Yuan Xulei
b705b8a88e Bug 904530 - Implement composition methods for InputContext API. r=fabrice, r=masayuki 2013-08-30 08:07:16 -04:00
Jan Jongboom
f93a41e3b8 Bug 811177 - Keyboard should also work for designMode=on. r=yxl 2013-08-29 09:57:12 -04:00
Jan Jongboom
626d804b1c Bug 902942 - Deletion observer checks against wrong variable. r=yxl 2013-08-28 11:55:57 -04:00
Jan Jongboom
332ec65794 Bug 902847 - ContentEditable insertText doesnt handle CR right. r=yxl 2013-08-22 09:53:47 -04:00
Jan Jongboom
23a8d48c8e Bug 902942 - Deleting focused element doesn't update forms.js focusedElement. r=yxl 2013-08-21 08:24:25 -04:00
Yuan Xulei
f3164d88c9 Bug 904628 - Ensure focused element is not null when calling FormAssistant.updateSelection(). r=fabrice 2013-08-15 12:59:28 -04:00
Yuan Xulei
ef579c676c Bug 904628 - Make the code dealing with contentEditable in forms.js more robust. r=fabrice 2013-08-14 13:54:36 -04:00
Yuan Xulei
ffbf20220b Bug 902168 - Ignore editable document in forms.js. r=fabrice 2013-08-14 13:53:53 -04:00
Yuan Xulei
e3c81538ae Bug 904224 - Don't handle key events in forms.js if these is no focused input element. r=fabrice 2013-08-13 08:40:54 -04:00
Fabrice Desré
b40ae1e5cc Bug 904224 - "System JS : ERROR chrome://browser/content/forms.js:827 TypeError: element is null" in green B2G mochitest-2,3 runs r=yxl 2013-08-12 21:02:11 -07:00
Jan Jongboom
7b7eba1d54 Bug 902153 - Ignore input type=range in forms.js. r=yxl 2013-08-12 13:17:29 -04:00
Jan Jongboom
db365c9dce Bug 899999 - Implement new InputContext API. r=yxl 2013-08-07 20:07:41 -04:00
Kan-Ru Chen (陳侃如)
3a8d1e08f0 Bug 874754 - Suppress nsIEditor.removeEditorObserver exception. r=fabrice
Based on patch from Yuan Xulei <xyuan@mozilla.com>

--HG--
extra : rebase_source : 77b563eaa784d42cdfd20a3aba1f5b928a53aaa6
2013-07-16 18:00:58 +08:00
Yuan Xulei
76bc19ce86 Bug 883129 - Converts the non-textual element to placeholder character for mozKeyboard. r=hsivonen 2013-07-12 09:04:05 -04:00
Yuan Xulei
19ef469157 Bug 882866 - Ignore all EditAction notifications caused by replaceSurroundingText. r=dflanagan 2013-06-23 20:43:40 -04:00
Yuan Xulei
5b558265c8 Bug 861515 - Enable Keyboard to modify the content of text field. r=fabrice 2013-04-13 22:53:41 +08:00
Yuan Xulei
f7869463f2 Bug 860546 - Ignore content changes caused by key events. r=fabrice 2013-05-16 08:21:07 -04:00
Yuan Xulei
9e51b8102b Bug 869303 - Notify keyboard to hide when the app window is closed. r=smaug 2013-05-08 12:27:59 -04:00
=?UTF-8?q?"Yuan=20Xulei(=E8=A2=81=E5=BE=90=E7=A3=8A)"?=
4cef999701 Bug 860546 - [keyboard] Notify keyboard when the content of current input field is changed by JS. r=fabrice 2013-05-03 15:02:30 +02:00
Vivien Nicolas
089b1a3446 Bug 864891 - b2g/chrome/content/forms.js can dispatch a 'change' event on the wrong window in a single process build. r=fabrice 2013-04-26 12:17:25 +02:00
Fabrice Desré
5550075124 Bug 861592 - Make isContentEditable() in form.js not fail with null elements r=ttaubert 2013-04-13 23:50:53 -07:00
Arthur Chen
09c9fbfbde Bug 834157 - Add max and min attributes in the event. r=fabrice 2013-03-19 09:08:28 -04:00
Yuan Xulei
33742c3e02 Bug 844716 - Enable keyboard Apps to get/set selection range of the input field. r=timdream 2013-03-15 08:28:51 -04:00
Yuan Xulei
4f9e65513c Bug 848660 - Fix Gaia selector. r=fabrice 2013-03-08 23:14:16 -05:00
Kan-Ru Chen (陳侃如)
e6e5cc57f0 Bug 838547 - We are only interested to the pagehide event from the root document. r=smaug 2013-03-07 08:35:38 -05:00
Yuan Xulei
0221ee38dd Bug 818893 - Get caret position of the contenteditable r=djf 2013-01-01 19:26:49 +08:00
Vivien Nicolas
f8a403ad0e Bug 839473 - Return early in form.js for non editable content r=fabrice 2013-02-12 16:31:08 -08:00
Justin Lebar
04e824bd99 Bug 833796 - Remove a shutdown observer in forms.js to fix a leak. r=vingtetun 2013-01-23 11:57:31 -05:00
Margaret Leibovic
b737d582ea Bug 824148 - [KEYBOARD] Input type=range should bring up the number keyboard. r=ttaubert 2013-01-10 13:25:30 +01:00
Mounir Lamouri
af0ede0616 Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug 2013-01-08 17:10:00 +00:00
Tim Taubert
c5228df849 Bug 820057 - Hide the keyboard on pagehide and submit events r=margaret a=blocking-basecamp 2013-01-07 12:09:50 +01:00
James Lal
5f774dbd91 Bug 819598 - When opening keyboard, don't scrollIntoView() input elements that are already in view r=djf a=blocking-basecamp 2013-01-04 16:00:21 +01:00
Tim Taubert
f63558e9f9 Bug 823645 - [B2G][Keyboard] Keyboard does not show for advanced HTML editors r=vingtetun a=blocking-basecamp 2013-01-04 16:00:21 +01:00
Raphael Catolino
5c4e542449 Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir 2012-12-27 16:06:53 +00:00
Chris Peterson
09033c1166 Backout 69b6541efafc, 8351e1baffcb, and ae4a7e6f0e0b (bug 766066) for regressions like bug 823832. r=regressions 2012-12-21 11:08:56 -08:00
Chris Peterson
1bdf039536 Bug 766066 - Part 3: Open keyboard when user taps input element, not when panning. r=djf
--HG--
extra : rebase_source : 69db692037f659f47c5560b7d1f9c36179e1aa69
2012-12-19 11:49:25 -08:00
Chris Peterson
9ec19c1ccc Bug 766066 - Part 2: Handle element focus and IME state separately. r=djf
--HG--
extra : rebase_source : 337546eaa5a10386bd05cc52e3af65ccdaf422fa
2012-12-19 11:49:23 -08:00
Chris Peterson
b47acf80c2 Bug 766066 - Part 1: Remove "ime-enabled-state-changed" observer. r=djf
--HG--
extra : rebase_source : df8e30552aa17078141b878482702577fb15d70d
2012-12-19 11:49:18 -08:00
Chris Peterson
bc7d83366d Bug 766066 - Part 0: Rename some B2G keyboard functions. r=djf
--HG--
extra : rebase_source : ab47fe3a390709b89c9bd15c6c273fbbcf4b9b8b
2012-12-18 15:10:18 -08:00
Tim Taubert
ccea449d4b Bug 811953 - [keyboard] Submitting a form from a text field with the keyboard up persists the keyboard. r=vingtetun 2012-11-30 12:56:53 +01:00
Mounir Lamouri
8a4f1a2acd Bug 796544 - Use x-inputmode instead of inputmode in B2G/Gaia. r=djf 2012-11-15 14:38:47 +00:00
Yuan Xulei
38c8781292 Bug 796365 - Treat contenteditable as a special text field to bring up the keyboard. r=vingtetun a=blocking-basecamp 2012-11-12 16:52:24 +08:00
Chris Peterson
2676c4f144 Bug 785663 - Wait for keyboard to stop resizing before scrolling text input into view. r=djf a=blocking-basecamp+ 2012-11-09 09:39:23 -08:00
Tim Taubert
8e91ad7ba1 Bug 802073 - Follow-up: check IME mode for text inputs only r=yxl a=blocking-basecamp 2012-11-07 17:32:09 +01:00
Tim Taubert
ff5fcb3a25 Bug 802073 - Receive input event twice from input tag type:time and type:date r=vingtetun a=blocking-basecamp 2012-11-07 12:53:24 +01:00