RESOLVED FIXED 18122
The caret disappears when moving the caret via arrow, home or end keys to beginning or ending of a DIV with contenteditable=true set
https://bugs.webkit.org/show_bug.cgi?id=18122
Summary The caret disappears when moving the caret via arrow, home or end keys to beg...
Robbie Paplin
Reported 2008-03-26 13:44:48 PDT
The caret disappears when moving the caret via arrow, home or end keys to beginning or ending of a DIV with contenteditable=true set. The disappearing caret sometimes appears to affect control focus drawing. The contenteditable=true DIV contains SPANs that have contenteditable=false. If you don't have SPANs with contenteditable=false, keyboard navigation functions normally. Safari for Windows & Safari for Mac, both appear to have the same issue.
Attachments
Demonstrates disappearing caret bug w/ contenteditable=true DIVs (2.57 KB, text/html)
2008-03-26 13:47 PDT, Robbie Paplin
no flags
Robbie Paplin
Comment 1 2008-03-26 13:47:41 PDT
Created attachment 20097 [details] Demonstrates disappearing caret bug w/ contenteditable=true DIVs This issue happen on both Windows & Macintosh versions.
Vicki Murley
Comment 2 2008-03-27 10:05:36 PDT
Vicki Murley
Comment 3 2008-04-21 16:52:31 PDT
A workaround here is to add a non-breaking space before the first span and after the last span inside id="divto".
Justin Garcia
Comment 4 2008-04-23 11:31:26 PDT
Justin Garcia
Comment 5 2008-04-23 11:31:45 PDT
Please file a new bug to cover there not being a caret position at the very start and end of the div.
Vicki Murley
Comment 6 2008-04-24 14:55:36 PDT
Vicki Murley
Comment 7 2008-04-24 15:07:04 PDT
And http://bugs.webkit.org/show_bug.cgi?id=18720, line break inserted when first char inside contenteditable div is deleted
Note You need to log in before you can comment on or make changes to this bug.