Opened 16 years ago

Last modified 10 years ago

#1646 confirmed Bug

Color for Underline and Strikethrough inconsistent

Reported by: Jon Brooks Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.0
Keywords: Cc: satya_minnekanti@…

Description

The color that Underline and Strikethrough take is inconsistent. Consider these two examples:

  • begin typing text
  • switch Font Color to Red
  • Select 'Strikethrough,' type some more

Result:

The strikethrough is red.

  • Type some text
  • Highlight the text, change the color to Red,
  • With the selection still highlighted, select 'Strikethrough'

Result:

The strikethrough is black.

Reversing the order in which styles are added in both scenarios produce the opposite result.

Expected behavior should probably be that the strikethrough and underline always take the current color of the text.

Change History (6)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

Confirmed on IE, IE7 and FF

comment:2 Changed 13 years ago by Krzysztof Studnik

Version: FCKeditor 2.53.0

Occurs still in CKE3.6.2Trunk confirmed under FF, IE8, chrome

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Expired on master.

comment:4 Changed 10 years ago by Wiktor Walc

Resolution: fixed
Status: closedreopened

I'm still able to reproduce it both on Chrome and Firefox.

comment:5 Changed 10 years ago by Jakub Ś

Status: reopenedconfirmed

This issue is in fact a part of #10675.

Using different tags 's' for strikethrough and span for color-text is a "won't fix" issue but if user decides to use spans for strikethrough then styles should be merged.

Version 0, edited 10 years ago by Jakub Ś (next)

comment:6 Changed 10 years ago by Marek Lewandowski

Cc: satya_minnekanti@… added

#6229 was marked as a duplicate.

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