Opened 13 years ago

Closed 13 years ago

#8214 closed Bug (duplicate)

Invalid table colspans break row insert

Reported by: Matthew Leffler Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version:
Keywords: Cc:

Description

Reproduce steps:

  1. Open demo
  2. Paste the following in source:
    <table>
    	<tbody>
    		<tr>
    			<td colspan="4">
    				First row</td>
    		</tr>
    		<tr>
    			<td>
    				1</td>
    			<td colspan="2">
    				2</td>
    		</tr>
    	</tbody>
    </table>
    
  3. Click source again to leave source mode.
  4. Right click table and insert row before or after.

Expected result

The row will be inserted before or after, respectively.

Actual result

No row is inserted and in webkit browsers a JS error is thrown:

Uncaught TypeError: Cannot read property 'rowSpan' of undefined

Browsers

This was tested with Chrome 12, FF5, and Safari 5.1.

Change History (1)

comment:1 Changed 13 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed

This is a duplicate of #7996

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