Closed
Bug 227870
Opened 22 years ago
Closed 20 years ago
Save as '.EML' can corrupt HTML attachment's CSS style block
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 339595
People
(Reporter: mcow, Assigned: sspitzer)
Details
Attachments
(1 file)
|
291 bytes,
text/html
|
Details |
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.
| Reporter | ||
Comment 1•22 years ago
|
||
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.
Updated•21 years ago
|
Product: MailNews → Core
Comment 2•21 years ago
|
||
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
Updated•21 years ago
|
| Reporter | ||
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 339595 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•