Opened 13 years ago

Last modified 8 years ago

#6618 confirmed Bug

Delete Cell leaves a wrong rowspan

Reported by: Tobiasz Cudnik Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: 3.0
Keywords: Cc:

Description

Delete Cell leaves a wrong rowspan.

  1. Use following content:
    <table border="1" cellpadding="1" cellspacing="1" style="width: 500px; ">
    	<tbody>
    		<tr>
    			<td>
    				1</td>
    			<td>
    				&nbsp;</td>
    		</tr>
    		<tr>
    			<td>
    				2</td>
    			<td colspan="1" rowspan="2">
    				&nbsp;</td>
    		</tr>
    		<tr>
    			<td>
    				3</td>
    		</tr>
    	</tbody>
    </table>
    
  2. Delete any of the left column's cells (labeled with 1, 2 or 3).

Result: The table has 2 rows and rowspan=2 on the second one (which is wrong).

Change History (5)

comment:1 Changed 13 years ago by Garry Yao

Status: newconfirmed
Version: 3.0

Similar with #6568.

comment:2 Changed 13 years ago by Wiktor Walc

Component: GeneralCore : Tables

comment:3 Changed 12 years ago by Jakub Ś

In latest CKEditor 3.6.2 cell has rowspan="2" and extra colspan="1"

comment:4 Changed 11 years ago by Jakub Ś

#9895 was marked as duplicate.

These is almost the same TC:

  1. Insert below
    <table border="1" cellpadding="1" cellspacing="1" style="width: 500px">
    	<tbody>
    		<tr>
    			<td rowspan="3">&nbsp;</td>
    			<td>&nbsp;</td>
    		</tr>
    		<tr>
    			<td>&nbsp;</td>
    		</tr>
    		<tr>
    			<td>&nbsp;</td>
    		</tr>
    	</tbody>
    </table>
    
  2. Remove one of single cells.

Rowspan set to 3 stays.

comment:5 Changed 8 years ago by Jakub Ś

Very similar issue to #14683

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy