Opened 9 years ago

Last modified 8 years ago

#14606 confirmed Bug

Problem with TableResizer

Reported by: sebastian.rozmus@o2.pl Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description

Hi,

I've found an issue with code below when trying to resize last column. The resizer cursor show on whole width of last column instead of its borders. I can't resize it aswell

<table border="1" cellpadding="0" cellspacing="0" style="width:100%">
	<tbody>
		<tr>
			<td rowspan="2">&nbsp;</td>
			<td colspan="4" rowspan="1">&nbsp;</td>
			<td rowspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td style="width: 206px;">&nbsp;</td>
			<td style="width: 324px;">&nbsp;</td>
		</tr>
	</tbody>
</table>

Change History (2)

comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.84.0

Problem can be reproduced at least from CKEditor 4.0 in all browsers.

It looks like wrong column gets resized:

<table border="1" cellpadding="0" cellspacing="0" style="width:100%">
	<tbody>
		<tr>
			<td rowspan="2">&nbsp;</td>
			<td colspan="4" rowspan="1">&nbsp;</td>
			<td rowspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td style="width: 0.5px;">&nbsp;</td>
			<td style="width: 529.5px;">&nbsp;</td>
		</tr>
	</tbody>
</table>

I believe column with rowspan="2" should get resized and not the one which gets size 529.5px.

comment:2 Changed 8 years ago by divined

In my expirience, problem exists for all browser and devices with resolutions less than 1280x1024.

Resize div wrong calculated:

<div data-cke-temp="1" contenteditable="false" unselectable="on" style="position: absolute; cursor: col-resize; opacity: 0; padding: 0px; border: 0px none; z-index: 10; width: 500px; height: 122px; left: 243px; top: 0px; display: none; background-image: none; background-color: rgb(0, 0, 68);"></div>
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