Ticket #5690 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

When editing a table cell with a width="xxx%" attribute, the cell properties dialog shows pixels instead of percentage

Reported by: jonathonsim Owned by: Saare
Priority: Normal Milestone: CKEditor 3.4
Component: General Version:
Keywords: Confirmed Cc:

Description

If your source contains a table cell with a percentage width attribute eg:

<td width="50%">

and you right click > cell > cell properties the resulting dialog will show:

Width: 50 pixels

ie it will select "pixels" rather than "percentage" in the "widthType" dropdown.

Saving this dialog will then insert

<td style="width: 50px">

which is obviously wrong.

You can reproduce this on the nightly build (edit your source and insert a percentage width attribute and reproduce the steps described above)

The attached patch fixes this issue

Attachments

table-cell-width-fix.diff (603 bytes) - added by jonathonsim 4 years ago.
5690.patch (676 bytes) - added by Saare 4 years ago.

Change History

Changed 4 years ago by jonathonsim

comment:1 Changed 4 years ago by alfonsoml

  • Keywords HasPatch added
  • Milestone set to CKEditor 3.4

Changed 4 years ago by Saare

comment:2 Changed 4 years ago by Saare

  • Keywords Confirmed Review? added; HasPatch removed
  • Status changed from new to assigned
  • Owner set to Saare

comment:3 Changed 4 years ago by fredck

  • Status changed from review to review_passed

comment:4 Changed 4 years ago by Saare

  • Status changed from review_passed to closed
  • Resolution set to fixed

Fixed with [5726].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy