Closed
Bug 76804
Opened 25 years ago
Closed 17 years ago
Plain text messages with HTML attachment containing STYLE displays incorrectly in mailnews
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
People
(Reporter: bc, Unassigned)
References
Details
Attachments
(2 files)
Steps to reproduce:
1. Compose an HTML email containing some text.
2. Attach an HTML page containing a STYLE tag and rules.
3. Send mail to yourself.
4. View mail.
Actual results.
The styled content of the attached HTML page will display on top of the email's
text.
Expected results.
The content of the attached email should display below the email content.
Trunk Build 2001041212/Win2k
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•24 years ago
|
||
Maybe it's not to do with the style tag. I recently received an e-mail whose 1st
part was text/plain, and the 2nd was text/html. The text wasn't displayed but
the html part was (it contained an advertisment footer). The same mail was
displayed correctly under Netscape 4.76. I can send the message as an attachment
if you think it helps somehow.
QA Contact: trix → stephend
Comment 3•22 years ago
|
||
This bug is actually pretty nasty. An HTML attachment seems to be able to
completely override the way a plain text message is displayed. That includes
style, background, etc. With proper "luck" leads to plain text message being
displayed black on black, or being all centered (instead on left-justified), or
being messed up in some other way.
P.S. I am currently running 1.6a/2003102323 on Fedora Core 1.
OS: Windows 2000 → All
Hardware: PC → All
Summary: Sending an email with HTML attachment containing STYLE displays incorrectly in mailnews → Plain text messages with HTML attachment containing STYLE displays incorrectly in mailnews
Comment 4•22 years ago
|
||
*** Bug 223500 has been marked as a duplicate of this bug. ***
Comment 5•22 years ago
|
||
*** Bug 240556 has been marked as a duplicate of this bug. ***
Comment 6•22 years ago
|
||
*** Bug 261408 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 7•21 years ago
|
||
Confirming in Thunderbird 1.0 on FreeBSD and Windows XP.
1. Create a HTML document that contains a <link> to a stylesheet on the web
somewhere. The stylesheet should contain body { color: #003366; } (or whatever
colour you happen to like).
2. Attach the HTML document to a plain text email and send it to someone, or
yourself.
3. View the email in Thunderbird. The HTML attachment is displayed inline below
the plain text message, as expected. However, the plain text message is
coloured by the style (fonts are changed too if the stylesheet specifies them).
Expected behaviour: the styling information should only be applied to the HTML
attachment. The plain text message should be displayed as plain text.
Comment 8•21 years ago
|
||
I see this in Thunderbird too. I am guessing this should be in Product: Core.
Component: MailNews: Main Mail Window → MailNews: MIME
Product: Mozilla Application Suite → Core
Comment 9•21 years ago
|
||
*** Bug 284734 has been marked as a duplicate of this bug. ***
Comment 10•21 years ago
|
||
I see the same error with HTML attachment without STYLE tag, but with a BODY tag
with BGCOLOR or TEXT parameters - the colors from them are used to display plain
text part of the message.
Comment 11•20 years ago
|
||
On picture they are three steps: 1. original HTML e-mail, 2. forward window with invisible text (plain text) 3. texts becomes visible after selecting.
Comment 12•20 years ago
|
||
xref bug 341059. Would that be a proper solution to this problem?
Comment 13•20 years ago
|
||
Updated•19 years ago
|
Assignee: sspitzer → nobody
QA Contact: stephend → mime
| Assignee | ||
Updated•18 years ago
|
Product: Core → MailNews Core
Comment 15•17 years ago
|
||
this bug is still there in 2.0.0.21
is it really that complicated to fix?
just handle a HTML like an image; so it has an outer box in the UI where all positions are relative to
I guess the bug is, an embedded HTML gets the positional frame of the main body; it should be a nested one inside/below the main text
Comment 16•17 years ago
|
||
Quoting Stanimir Stamenkov from mozilla.support.thunderbird:
"but it might get resolved in future Tb versions once Bug 80713 "Need a way to specify an auto-height for an IFRAME such that the frame is given the full height of the contained content" <https://bugzilla.mozilla.org/show_bug.cgi?id=80713> gets resolved."
Comment 17•17 years ago
|
||
The problem is that when "view attachments inline" is enabled, a plain-text message gets displayed with the attributes of the attachment. The attachment does not need a STYLE, it can be demonstrated when the HTML attachment specifies a body background color. Same as Bug 31052.
Comment 19•17 years ago
|
||
This even happens in SeaMonkey Browser when viewing a message/rfc822 object containing an HTML attachment, see bug 524639 just duped to here.
Comment 20•17 years ago
|
||
I believe this is a dupe of bug 31052, see for example bug 31052 comment #9
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•