Open Bug 860298 Opened 8 years ago Updated 8 years ago

Image followed by a comment tag in contenteditable div causes IP naviagation to get stuck on right cursor moves past an image.

Categories

(Core :: DOM: Editor, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: firefox, Unassigned)

Details

(Keywords: testcase, Whiteboard: [dupeme])

Attachments

(1 file)

297 bytes, text/html
Details
Attached file Testcase
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31

Steps to reproduce:

* Load Attached document.
* Click in the left hand sides text.
* Press the Right cursor/arrow  key multiple times.


Actual results:

The Insertion point gets stuck on the image.
When the IP is stuck pressing the Left cursor/arrow has no effect.



Expected results:

As with moving left past an image, the IP should not get stuck.

Tested with Firefox 20.

Tested with Chrome 26 + IE 9 - and these browsers IP does not get stuck.
The Issue seems to be caused by the comment directly following the img tag.
Summary: Image in contenteditable div causes IP naviagation to get stuck on right cursor moves past an image. → Image followed by a comment tag in contenteditable div causes IP naviagation to get stuck on right cursor moves past an image.
Attachment #735780 - Attachment description: contentEditable.html → Testcase
Attachment #735780 - Attachment mime type: text/plain → text/html
Component: Untriaged → Editor
Keywords: testcase
Product: Firefox → Core
Whiteboard: [dupeme]
Version: 20 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.