Opened 15 years ago
Closed 15 years ago
#5690 closed Bug (fixed)
When editing a table cell with a width="xxx%" attribute, the cell properties dialog shows pixels instead of percentage
| Reported by: | Jonathon Sim | Owned by: | Sa'ar Zac Elias |
|---|---|---|---|
| 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 (2)
Change History (6)
Changed 15 years ago by
| Attachment: | table-cell-width-fix.diff added |
|---|
comment:1 Changed 15 years ago by
| Keywords: | HasPatch added |
|---|---|
| Milestone: | → CKEditor 3.4 |
Changed 15 years ago by
| Attachment: | 5690.patch added |
|---|
comment:2 Changed 15 years ago by
| Keywords: | Confirmed Review? added; HasPatch removed |
|---|---|
| Owner: | set to Sa'ar Zac Elias |
| Status: | new → assigned |
comment:3 Changed 15 years ago by
| Status: | review → review_passed |
|---|
comment:4 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |

Fixed with [5726].