WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 24895
Cannot paste entire table row into table
https://bugs.webkit.org/show_bug.cgi?id=24895
Summary
Cannot paste entire table row into table
Annie Sullivan
Reported
2009-03-27 13:36:00 PDT
Steps to reproduce: 1. Go to midas demo:
http://www.mozilla.org/editor/midasdemo/
2. Enter the following HTML: <table border="1"><tbody><tr><td>one</td><td>two</td></tr><tr><td><br></td><td><br></td></tr></tbody></table> 3. Select the entire top row of the table and copy. 4a. Click on the first cell of the second table row and paste. A new table is created inside the cell like this: <table border="1"><tbody><tr><td>one</td><td>two</td></tr><tr><td><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "><table border="1"><tbody><tr><td>one</td><td>two</td></tr></tbody></table></span></td><td><br></td></tr></tbody></table> 4b. After step 3, select the entire second row and paste. A new table is created BELOW the original table, leaving the second row of the first table empty: <table border="1"><tbody><tr><td>one</td><td>two</td></tr><tr><td><br></td><td><br></td></tr></tbody></table><table border="1"><tbody><tr><td>one</td><td>two</td></tr></tbody></table><br> Expected result: second row of table should be replaced by content from first row, like this: <table border="1"><tbody><tr><td>one</td><td>two</td></tr><tr><td>one</td><td>two</td></tr></tbody></table>
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug