Closed Bug 492223 Opened 17 years ago Closed 16 years ago

link & hover styles are ignored for external links in compose window

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 210787

People

(Reporter: mozilla, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Build Identifier: version 2.0.0.21 (20090302) If you create link and hover styles for adjusting the way link functions (look and feel), the decoration change doesn't work or isn't reflected in the compose window -- though if you save it, (or send it), it DOES work -- this is very frustrating for document design when it's supposed to look the same for composing and display -- AND IT DOES for internal (intra-doc tag links). Intra-doc links work! Just external links drop the correct styling... Reproducible: Always Steps to Reproduce: Create new message, go into Source(HTML), delete whatever is there, then paste following as message content: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <style> body { background-color:#f4f0ff; text:#004040; font-family:"Verdana"; font-size:12pt; } .right { float:right; margin:0; padding-right:20px; padding-top:7px; } .left { float:left; margin:0; padding-left:35px; padding-top:7px; } .question { background-color:#FA7336; color:#FFFFFF; font-size:120%; font-weight:bold; padding:1px 5px; } .help { color:#000000; font-style:italic; font-weight:bold; } #box { /*float:left; margin:0 0 0em 5px; padding:5px;*/ width:405px; height:1200px; background-color:#F4F8FB; font-family:"Verdana"; font-size:10pt; } #box a { font-family:"Verdana"; color:#00235F; text-decoration:none; } #box a:hover { color:#00235F; text-decoration:underline; } <-- /* vim:sts=4:sw=4:ts=8:nosi:sc:ai: */ --> </style> </head><body> <p>Out of box text<br></p> <div id="box"> <p class="left">Choice? (Note, Both "<i>Google</i>" and"<i>Questions</i>" are black, non-underlined links, yet the Goog-link is "broken" (non-decoration and hover are ignored in compose mode). If you save it and view the full HTML, it display properly, but not during compose -- which causes ALOT of headaches if you are trying to figure out why text and span decorations and styles aren't working as they should be. </p> <p class="right"> <a href="http://www.google.com"><span class="help">Google</span> <span class="question">?</span></a> or <a href="#help"><span class="help">Questions</span><span class="question">?</span></a> </p> </div> <p><a name="help">Here's your help!</a> (Ha!) </p> </body></html> Actual Results: Results are the Google link is 'underlined' in blue and doesn't change when I hover over it in compose, but the internal link doesn't have the underline and has a black underline appear on hover. Expected Results: WYSIWYG -- Expect styles to be properly applied at compose time and not result in inconsistent behavior based on compose vs. view, NOR inconsistent behavior for external links vs. the internal links which seem to work properly.
Bug #210787 it's a superset of this: close as dupe. Feel free to reopen it if I'm wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.