Ticket #6229 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

Underline is not colored when applied to colored text

Reported by: imprev Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.1
Keywords: Cc: satya_minnekanti@…

Description

  1. Color a piece of text
  2. Underline the piece of text

Notice that while the text is colored, the underline is not.

NOTE: If you underline first (or re-color the text after it is underlined) the underline is colored.

Attachments

Picture+43.png (12.2 KB) - added by imprev 4 years ago.
See attachement

Change History

Changed 4 years ago by imprev

See attachement

comment:1 follow-up: ↓ 3 Changed 4 years ago by imprev

Our developer's comments: The "color" style-rule is applied to a <span> that wraps the text node. Selecting your text in the edited AFTER coloring and then clicking the underline button wraps the <span> tag in a <u> tag. The <u> tag, because of the fact that it sits outside the <span> tag, is not affected by our color rule.

Sample code:

<u><span style="color: red;">I am red, but my underline is black!</span></u>

comment:2 Changed 4 years ago by satya

  • Cc satya_minnekanti@… added

comment:3 in reply to: ↑ 1 Changed 4 years ago by krst

  • Status changed from new to confirmed

Replying to imprev:

Sample code:

<u><span style="color: red;">I am red, but my underline is black!</span></u>

Confirmed on CKE 3.4.1 nightly

comment:4 Changed 4 years ago by fredck

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