Open Bug 1020973 Opened 8 years ago Updated 2 years ago

Caret Position on Focus in Wrong Position

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

People

(Reporter: tim.mcconechy, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807

Steps to reproduce:

1) Open this fiddle http://jsfiddle.net/tmcconechy/zTj8q/2/  in firefox (of course)
2) Focus the input field on top 
3) Hit tab to tab into the content editable




Actual results:

The focus of the cursor is in the wrong place. You cannot arrow around the text. Note: https://bugzilla.mozilla.org/show_bug.cgi?id=904846 seems similar but this way of reproducing is much more general.


Expected results:

It should focus the caret at the start of the text. Works ok in Chrome, IE ect..
Component: Untriaged → Editor
Keywords: testcase
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Version: 29 Branch → Trunk
Sigh...  I think we don't recognize the <article> element as a block element.
Hmm, except that editing the jsfiddle to make it use a div element doesn't fix the bug either!
Having this problem too. Using medium-editor.js placeholder feature provokes this bug. It's easy to reproduce this bug and you guys can see it by visiting my app at www.postme.io. Right when you land in the page, click where it says "Start writing here". You'll see the cursor exactly "1em" above it's correct place.

Why is this unconfirmed ?

Using Firefox 33.1.1
Status: UNCONFIRMED → NEW
Ever confirmed: true

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.