Bug 34634

Summary: copying list items and pasting into the middle of another list item should split the list item
Product: WebKit Reporter: Tony Chang <tony>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, jparent, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch none

Description Tony Chang 2010-02-05 00:21:26 PST
For example:

* one two
* three^four
* monsters walking across the floor

If you copy say the first list item into the pasteboard, then you put the cursor at ^ and press cmd+v, you should get:

* one two
* three
* one two
* ^
* four
* monsters walking across the floor

We currently just put the pasted list item into a new row below "*threefour".

This is a follow up to https://bugs.webkit.org/show_bug.cgi?id=24872
Comment 1 Tony Chang 2010-02-19 00:19:14 PST
Created attachment 49061 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-02-22 13:07:59 PST
Comment on attachment 49061 [details]
Patch

OK.
Comment 3 WebKit Commit Bot 2010-02-23 02:19:53 PST
Comment on attachment 49061 [details]
Patch

Clearing flags on attachment: 49061

Committed r55135: <http://trac.webkit.org/changeset/55135>
Comment 4 WebKit Commit Bot 2010-02-23 02:19:58 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Tony Chang 2010-02-23 04:21:50 PST
This is failing on the bot.  I'm going to revert and try to land again tomorrow.
Comment 6 Tony Chang 2010-02-23 04:28:04 PST
Committed r55143: <http://trac.webkit.org/changeset/55143>
Comment 7 Tony Chang 2010-02-23 17:47:01 PST
Committed r55178: <http://trac.webkit.org/changeset/55178>