Open Bug 1690362 Opened 4 years ago Updated 2 years ago

In the last row I can't join the selected cells

Categories

(SeaMonkey :: Composer, defect)

defect

Tracking

(seamonkey2.53? affected)

ASSIGNED
Tracking Status
seamonkey2.53 ? affected

People

(Reporter: ricsi.pap, Assigned: njsg)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.6

Steps to reproduce:

I tried the join the selected cells.
I appointed the selected cells -> Right Click -> Join selected cells

Actual results:

Nothing.

Expected results:

The cells should have merged.

Group: core-security-release
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: SeaMonkey 2.53 Branch → Trunk

Bug 962557 has an image with an example of how to reproduce this; merging without selecting first ("Join with Cell to the Right") still works in the last row, as that goes through different code in JoinTableCells.

draft/WIP/test patch that makes GetCellDataAt() succeed even if there is no such cell (something worth testing, as this was what happened in 2.16)

Assignee: nobody → nunojsg
Status: NEW → ASSIGNED
Attachment #9335140 - Flags: feedback?(iannbugzilla)
Attachment #9335140 - Flags: feedback?(frgrahl)

Comment on attachment 9335140 [details] [diff] [review]
WIP-1690362-allow-null.patch

It's better now, but it doesn't delete the cell, so ends up creating an extra column with that cell in the bottom row.

Original HTML:
<table width="100%" cellspacing="2" cellpadding="2" border="1">
<tbody>
<tr>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
<tr>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
<tr>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
</tbody>
</table>

After merge:
<table width="100%" cellspacing="2" cellpadding="2" border="1">
<tbody>
<tr>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
<tr>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
<tr>
<td valign="top"><br>
</td>
<td rowspan="1" colspan="2" valign="top"><br>
</td>
<td valign="top"><br>
</td>
</tr>
</tbody>
</table>

Attachment #9335140 - Flags: feedback?(iannbugzilla)

Comment on attachment 9335140 [details] [diff] [review]
WIP-1690362-allow-null.patch

Backed out from 2.53. prerelease for now.

Attachment #9335140 - Flags: feedback?(frgrahl)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: