Ticket #7947 (closed Bug: fixed)
Table dialog should not allow negative values for width,height,Cell Spacing & Cell Padding
| Reported by: | satya | Owned by: | Saare |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.1 |
| Component: | UI : Dialogs | Version: | 3.6.1 |
| Keywords: | IBM | Cc: | damo, jamescun, tmonahan |
Description
To reproduce the defect:
- Open CK Editor and click on Table icon.
- In Table Properties dialog enter negative vales for width(-200), height(-300),cell spacing(-10) & cell padding(-5).
- Click OK button.
Expected Result: An error dialog comes up with a waring message "width must be a whole number greater than zero".
Actual Result: Table inserted with no values set for width & height,negative values shown for Cell Spacing & Cell Padding but they have no impact when we see the table in WYSIWYG mode.
Attachments
Change History
comment:4 Changed 2 years ago by garry.yao
- Status changed from review to review_passed
- Component changed from General to UI : Dialogs
It's ok, thought negative length is explicitly defined as valid for CSS, it's mostly useful in position style only (e.g. left,top) which doesn't affect our current dialog system yet, which could be handled later as special cases.
Note: See
TracTickets for help on using
tickets.

True from rev [6979]