Closed Bug 743435 Opened 12 years ago Closed 3 years ago

if a form control's caption is set to content editable, tapping on the caption always places the insertion point at the start of the text, preventing editing of following text.

Categories

(Firefox for Android Graveyard :: General, defect)

13 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dsr, Unassigned)

Details

Attachments

(1 file)

Attached file test.html
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/11.04 Chromium/18.0.1025.142 Chrome/18.0.1025.142 Safari/535.19

Steps to reproduce:

I added button to page via JavaScript, with contentEditable property set to true. The aim being to allow users to edit the button's caption. See attached test html file.


Actual results:

Tapping on the button shows the insertion caret, but it is always placed at the start of the text, and the android keyboard doesn't allow you to delete right or to move the insertion point to the right. This prevents you from modifying the following text although you can always insert new next at the start. The same is true for other form controls, e.g. radio buttons and checkboxes.


Expected results:

The insertion point should be positioned under the tap and there should also be an easy means to move the insertion point right or left. I recommend adding cursor left and right keys to the soft keyboard.

Note on the stock android browser the caret is placed under the tap, but there is no easy means to move forward or backward a character, and worse the soft keyboard doesn't show even though the editing caret is present and blinking!

p.s. this bug is reproducable on Firefox 10, Firefox 13 (Aurora) and Firefox 14 nightly.
I forgot to clarify that the bug is independent of whether the form control is added to the page via JavaScript or is present in the downloaded page markup. The attachment is the latter.
Oh and in case you are wondering, the use case is for web-based authoring of forms.
Attachment #613085 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed if the phone has a scroll button you can move around but that is it. Clicking into the button does not move the cursor.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 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.

Attachment

General

Creator:
Created:
Updated:
Size: