Caret Position on Focus in Wrong Position

NEW
Unassigned

Status

()

Core
Editor
4 years ago
4 years ago

People

(Reporter: tim.mcconechy@infor.com, Unassigned)

Tracking

({testcase})

Trunk
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
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
Created attachment 8436349 [details]
Reporter's Testcase
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!

Comment 4

4 years ago
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
You need to log in before you can comment on or make changes to this bug.