Opened 11 years ago
Last modified 10 years ago
#10995 confirmed Bug
Color (Foreground) doesn't get applied to span.
Reported by: | Nachiket Patel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.0 |
Keywords: | Cc: |
Description
Color (Foreground) doesn't get applied to span, when span has a class which has color attribute set in CSS. Althoug, it does work for background-color.
Tested on: Mac OS X 10.7+, Chrome many versions (30.0.+)
Working Demo: http://jsfiddle.net/nachiket/44hSH/
- Using CKEditor 4.2
- Loads custom configuration
Attachments (1)
Change History (3)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.2 → 3.0 |
Changed 11 years ago by
Attachment: | stylef.html added |
---|
comment:2 Changed 10 years ago by
This is a hardcore version of the general bug that it's important for some styles to be applied in specific order. However, this case is much worse, because the style comes from a class, so we would need to use computed styles (of not yet existing element) to know the order. Some cases may even be impossible to fix at all because of styles conflicts.
Problem can be reproduced in all browsers from CKEditor 3.0 in both CKE 3.x and 4.x.
Use the fiddle or the attached sample and below class that should be put in contents.css file.
This is strange but when you apply foreground color you get
and when you apply background color you get
Because foreground color doesn't get applied inside span with class you get such result.