Closed Bug 227870 Opened 21 years ago Closed 18 years ago

Save as '.EML' can corrupt HTML attachment's CSS style block

Categories

(MailNews Core :: Backend, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 339595

People

(Reporter: mcow, Assigned: sspitzer)

Details

Attachments

(1 file)

Receive a message containing an HTML attachment, which has a <style> block such 
as this (with no indentation in the block):
======cut======
<style>
.demo { color: red; }
</style>
======cut======

If this message is saved as an EML file, the text of the saved file has the 
initial '.' stripped off the selector ".demo" so that the style rule is now:
======cut======
demo { color: red; }
======cut======

This causes any text that would use the .demo rule to lose its styling.

Discovered this while testing for bug 174692.  Symptom present in 1.5Final and 
1.6b-1120.
Download and save this file, then compose a message with the file as an
attachment.  (Send it, or save as a draft.)  Save the message as a .EML file;
drag the EML file to the browser and see that the rendered version of the HTML
attachment does not have red text.
Product: MailNews → Core
hange 'eml' in summary to '.eml' for ease of search ('extremly' will hit).
Summary: Save as EML can corrupt HTML attachment's CSS style block → Save as '.EML' can corrupt HTML attachment's CSS style block
Blocks: 269826
No longer depends on: 269826

*** This bug has been marked as a duplicate of 339595 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
No longer blocks: 269826
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: