Opened 11 years ago

Last modified 11 years ago

#11626 closed Bug

Tableresize sets invalid width — at Version 1

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 4.4.1
Component: Core : Tables Version:
Keywords: HasPatch Cc:

Description (last modified by Wiktor Walc)

When resizing a column to the maximum available width (by shrinking a column next to it), the width of the second column is set to 0, which is an invalid number.

When 0px is used, the column behaves like it did have width style set at all, while the fact is that user decided to resize it to the minimum. Setting 1px will preserve a narrow size of the column.

1) The moment of resizing a column

2) The second column has width set to 0px

		<tr>
			<td style="width: 238px;">&nbsp;</td>
			<td style="width: 0px;">&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>

3) The second column has width set to 1px

		<tr>
			<td style="width: 237px;">&nbsp;</td>
			<td style="width: 1px;">&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>

Change History (4)

Changed 11 years ago by Wiktor Walc

Attachment: table-resize-cropped.png added

Changed 11 years ago by Wiktor Walc

Attachment: tableresize-0-width.png added

Changed 11 years ago by Wiktor Walc

Attachment: tableresize-1px-width.png added

comment:1 Changed 11 years ago by Wiktor Walc

Description: modified (diff)
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