[Webkit-unassigned] [Bug 24895] New: Cannot paste entire table row into table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 27 13:36:00 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24895

           Summary: Cannot paste entire table row into table
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.mozilla.org/editor/midasdemo/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at google.com
                CC: eric at webkit.org, jparent at google.com


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>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list