NEW 18719
caret position missing at the beginning and end of contenteditable div
https://bugs.webkit.org/show_bug.cgi?id=18719
Summary caret position missing at the beginning and end of contenteditable div
Vicki Murley
Reported 2008-04-24 14:54:23 PDT
SUMMARY There's no caret position at the beginning or end of the contenteditable div, in the attached test case. STEPS 1. Load the test case. 2. click before the '+' character 3. use arrow keys to try to move caret to before "One" or after "Two" RESULTS The caret doesn't move past the 'e' in 'One' when I arrow left, or the 'T' in 'Two' when I arrow right.
Attachments
test case (338 bytes, text/html)
2008-04-24 14:55 PDT, Vicki Murley
no flags
Vicki Murley
Comment 1 2008-04-24 14:55:00 PDT
Created attachment 20800 [details] test case
mvijay
Comment 2 2009-06-04 01:44:41 PDT
Hi, I have spent time in analyzing this bug and here are my observations: In the Safari browser, if first or last span element in the Div tag is not content editable, then when trying to place the caret at the start or end of it using the mouse click has no affect as there is no editable content element available before or after it. Where as in other case, if there is any content editable element before or after a non-content editable span element then a caret can be positioned respectively. So is this correct behaviour of the Safari browser?
Note You need to log in before you can comment on or make changes to this bug.