Open Bug 581306 Opened 11 years ago Updated 11 years ago

ContentEditable: wrong focus when loading page with paragraphs

Categories

(Core :: DOM: Editor, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: fredck, Unassigned)

Details

Attachments

(1 file)

822 bytes, text/html
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7
Build Identifier: 

When loading a page with contents inside paragraphs (<p>) and <body contenteditable="true">, the focus goes at the very start of <body>, before the first <p>, adding unwanted space to the contents.

Additionally, the caret is not visible, even when typing text.

Reproducible: Always



Expected Results:  
On load, the caret should be blinking at the start of the contents of the first <p> in the page.
Attached file Test page
You need to log in before you can comment on or make changes to this bug.