Bug 61094

Summary: InsertingParagraph does not move content if ran at a text node boundary
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ayg, enrica, sullivan, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
demo
none
demo none

Ryosuke Niwa
Reported 2011-05-18 14:51:35 PDT
Created attachment 93986 [details] demo When execCommand('InsertParagraph') is executed at a text node boundary, WebKit doesn't move the text node that appears after the caret into the new line. So it appears as if the caret jumped across the text node and inserted a paragraph after the text node.
Attachments
demo (349 bytes, text/html)
2011-05-18 14:51 PDT, Ryosuke Niwa
no flags
demo (347 bytes, text/html)
2011-05-18 14:52 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2011-05-18 14:52:31 PDT
Aryeh Gregor
Comment 2 2011-08-19 14:10:48 PDT
What are the expected/actual results here? The result looks correct to me in Chrome 15.0.849.0 dev.
Note You need to log in before you can comment on or make changes to this bug.