Opened 14 years ago

Closed 14 years ago

#4948 closed Bug (fixed)

Safari: table properties dialog sometimes does not detect parent table

Reported by: Wiktor Walc Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.0
Keywords: Confirmed Safari Review+ Cc:

Description

Confirmed on Safari 4.0.4/XP3.

Steps to reproduce

  • start with the following source:
    <table border="1" cellpadding="1" cellspacing="1" style="width: 200px; " summary="some summary">
    	<caption>
    		some title</caption>
    	<tbody>
    		<tr>
    			<td>
    				&nbsp;</td>
    			<td>
    				&nbsp;</td>
    		</tr>
    		<tr>
    			<td>
    				&nbsp;</td>
    			<td>
    				&nbsp;</td>
    		</tr>
    	</tbody>
    </table>
    
  • click on the last cell, make sure that the whole cell is selected (in the elements path there should be "body table tbody tr td br" - note that probably the last "br" element is a problem here)
  • click on the "Table properties" item in the context menu
  • result: values in dialog are not properly loaded, when "Ok" is pressed, a new table is inserted.

Attachments (1)

4948.patch (665 bytes) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.3

comment:2 Changed 14 years ago by Garry Yao

Owner: set to Garry Yao
Status: newassigned

Safari is the only browser that selected the entire cell when double click inside (not even Chrome), it has the following form of selection when last cell is selected:

<table>
<tr><td>[&nbsp;</td></tr></table>]

We should be able to transform the range into below to be recognized by table dialog.

<table>
<tr><td>[&nbsp;]</td></tr></table>

Changed 14 years ago by Garry Yao

Attachment: 4948.patch added

comment:3 Changed 14 years ago by Garry Yao

Keywords: Review? added

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:5 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [5490].

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