Ticket #1917 (closed Bug: fixed)

Opened 2 years ago

Last modified 21 months ago

mergedown error / three cell

Reported by: aceseol Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.6.3
Component: General Version: SVN (FCKeditor)
Keywords: Confirmed IE HasPatch Review+ Cc:

Description

two cell mergedown ok! three cell mergedown table broken.

Attachments

fcktablehandler.js.patch Download (1.2 KB) - added by karena 21 months ago.
1917.patch Download (1.6 KB) - added by martinkou 21 months ago.

Change History

Changed 2 years ago by w.olchawa

  • keywords Pending added

Hi!

Could you please provide more detailed information about the bug? Also, could you please let us know what kind of browser and what version of FCKeditor are you using.

Thanks.

Changed 2 years ago by martinkou

  • keywords Confirmed IE added; Pending removed

Confirmed.

To reproduce the bug, open sample01.html in IE.

  1. Make a 2x3 table which is the default.
  2. Right click on a cell in the top, choose cells, merge down.
  3. Right click on the merged cell, choose again cells, merge down.
  4. The table becomes broken.

Merging in Firefox works.

Changed 2 years ago by fredck

  • milestone set to FCKeditor 2.7

Changed 2 years ago by martinkou

#1941 marked as a dup of this ticket.

Changed 2 years ago by martinkou

#2055 marked as a dup of this ticket.

Changed 22 months ago by julia82

I'm interested in.

Changed 21 months ago by karena

Changed 21 months ago by martinkou

  • keywords HasPatch added
  • version set to SVN
  • milestone set to FCKeditor 2.6.3

Changed 21 months ago by martinkou

  • owner set to martinkou
  • status changed from new to assigned

Changed 21 months ago by martinkou

  • keywords Review? added

Lines 733 and 734 from Karena's patch isn't really needed because we're counting the rowSpan from the tableMap data structure, so we don't really have to add up the rowSpan of the current cell if we've already stored the sum in another variable.

Karena's patch has worked around an IE bug here though, which is the essential component of the fix. Our current code does not work in IE because we're depending on IE reporting the correct rowSpan for the td elements - unfortunately when a td is not attached to a tr IE would always report its rowSpan to be 1. So Karena's way of storing the sum in a variable works around the problem.

Proposing a new patch with lines 733 and 734 from Karena's patch removed.

Changed 21 months ago by martinkou

Changed 21 months ago by fredck

  • keywords Review+ added; Review? removed

Changed 21 months ago by martinkou

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [2158].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.