Bug 61094 - InsertingParagraph does not move content if ran at a text node boundary
Summary: InsertingParagraph does not move content if ran at a text node boundary
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 14:51 PDT by Ryosuke Niwa
Modified: 2017-07-18 08:29 PDT (History)
4 users (show)

See Also:


Attachments
demo (349 bytes, text/html)
2011-05-18 14:51 PDT, Ryosuke Niwa
no flags Details
demo (347 bytes, text/html)
2011-05-18 14:52 PDT, Ryosuke Niwa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 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.
Comment 1 Ryosuke Niwa 2011-05-18 14:52:31 PDT
Created attachment 93988 [details]
demo
Comment 2 Aryeh Gregor 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.