Opened 14 years ago

Closed 10 years ago

#6229 closed Bug (duplicate)

Underline is not colored when applied to colored text

Reported by: Paul Cooley 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 (1)

Picture+43.png (12.2 KB) - added by Paul Cooley 14 years ago.
See attachement

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Paul Cooley

Attachment: Picture+43.png added

See attachement

comment:1 Changed 14 years ago by Paul Cooley

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 14 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:3 in reply to:  1 Changed 14 years ago by Krzysztof Studnik

Status: newconfirmed

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 14 years ago by Frederico Caldeira Knabben

Keywords: color underline removed

comment:5 Changed 10 years ago by Marek Lewandowski

Resolution: duplicate
Status: confirmedclosed

Duplicate of #1646.

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