зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
187409cc07
Коммит
02eb7142bb
|
@ -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>");
|
||||
|
|
Загрузка…
Ссылка в новой задаче