Bug #22960 --> help improve message display by (1) not including global

style rules in the message body and more importantly (2) force loading
of the mail header style sheet to be a blocking load. this fixes that
awful "flicker" effect when you clicked on a message where it would start
to load, then it would stop and relayout the body.
r=sspitzer
This commit is contained in:
mscott%netscape.com 2000-02-15 01:13:48 +00:00
Родитель 187409cc07
Коммит 02eb7142bb
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -141,9 +141,7 @@ nsresult nsMimeHtmlDisplayEmitter::WriteHTMLHeaders()
// mscott --> we should refer to the style sheet used in msg display...this one is wrong i think.
// Stylesheet info!
UtilityWriteCRLF("<LINK REL=\"STYLESHEET\" HREF=\"chrome://messenger/skin/mailheader.css\">");
// Make it look consistent...
UtilityWriteCRLF("<LINK REL=\"STYLESHEET\" HREF=\"chrome://global/skin\">");
UtilityWriteCRLF("<LINK REL=\"IMPORTANT STYLESHEET\" HREF=\"chrome://messenger/skin/mailheader.css\">");
UtilityWriteCRLF("</HEAD>");
UtilityWriteCRLF("<BODY>");