Closed Bug 431235 Opened 16 years ago Closed 13 years ago

apply color to link in midas

Categories

(Core :: DOM: Editor, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 372345

People

(Reporter: dyouren, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

When a color is applied to a link, midas does not show the color properly.

CODE :

<a href="index.html" style="color: rgb(255, 0, 0); font-size: 14px;">red link</a>

This works ok on the midas demo but every other rich text editor using midas has a problem with it.





Reproducible: Always

Steps to Reproduce:
1. http://www.kevinroth.com/rte/demo.htm
2. Click 'View Source'
3. paste this as the HTML - <a href="index.html" style="color: rgb(255, 0, 0); font-size: 14px;">red link</a>
4. Unclick 'View Source'
5. The link is now blue instead of red.
Actual Results:  
Link shown in midas is blue

Expected Results:  
Link shown in midas is red
Fails on Midas demo using FF 3.6.
A workaround is to use !important:
<a href="#" style="color: red !important">red link</a>
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.