Closed Bug 1142306 Opened 9 years ago Closed 8 years ago

Cannot enter text into a empty block with contenteditable on Android

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox36 affected, firefox37 affected, firefox38 affected, firefox39 affected, fennec+)

RESOLVED WORKSFORME
Tracking Status
firefox36 --- affected
firefox37 --- affected
firefox38 --- affected
firefox39 --- affected
fennec + ---

People

(Reporter: sam, Assigned: esawin)

References

()

Details

(Keywords: reproducible, testcase)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 OPR/27.0.1689.76

Steps to reproduce:

With the HTML:

<div contenteditable="true">
    Try type in the box below:
    <p><br /></p>
</div>

It's impossible to enter any text into the empty <p> tag. It's the same for all the block level elements I've tested.

Demo HTML: http://jsfiddle.net/50hhsdbk/
Video example: https://dl.dropboxusercontent.com/u/56830471/screen-recording_20150311-223049.mp4


Actual results:

The cursor is moved out of the block to the nearest previous text


Expected results:

The cursor should remain inside the block and the text should be entered into it
OS: Linux → Android
Hardware: x86_64 → All
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Component: Text Selection → Keyboards and IME
Ever confirmed: true
Hardware: All → ARM
Version: Firefox 37 → Trunk
Assignee: nobody → esawin
tracking-fennec: ? → +
WFM, must have been resolved in the meanwhile.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.