Ticket #4598 (closed Bug: invalid)

Opened 5 years ago

Last modified 5 years ago

CKEditor rewrites expanded individual border styles incorrectly

Reported by: ckeddie Owned by:
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Styles Version: SVN (CKEditor) - OLD
Keywords: Cc:

Description

If in source view I add to a td style="border-left:2px solid #060;", the border is displayed as expected. CKEditor has re-written it as style="border-left: 2px solid rgb(0, 102, 0);"

But if I add style="border-left-style:single; border-left-width: 2mm;" in FF 3.5.3 and IE7 it is re-written as style="border-left-width: 2mm;" (ie dropping border-left-style), which stops FF (but not IE) from displaying the border.

In Chrome, the style is not altered, and it displays correctly.

Change History

comment:1 Changed 5 years ago by garry.yao

  • Status changed from new to closed
  • Resolution set to invalid

CKEditor has re-written it as style="border-left: 2px solid rgb(0, 102, 0);"

The editor currently always use RGB as the color schema, though we may add other format later.

But if I add style="border-left-style:single; border-left-width: 2mm;" in...

AFAIK 'border-left-style:single;' is not an valid style value, so it's not the editor's bug.

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