Opened 15 years ago

Closed 15 years ago

#4598 closed Bug (invalid)

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 (1)

comment:1 Changed 15 years ago by Garry Yao

Resolution: invalid
Status: newclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy