Closed Bug 69199 Opened 24 years ago Closed 22 years ago

CSS style from HTML attachment spills over into message body

Categories

(SeaMonkey :: MailNews: Message Display, defect, P4)

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 31052

People

(Reporter: mpt, Assigned: sspitzer)

Details

Build: 2001021308, Mac OS 9.0

To reproduce:
*   Make an HTML file which contains the following:
    <head>
      <style
        type="text/css"
      ><!--
        body {
          color: black;
          background: #f0e0e0;
        }
        h1, body>dl>dt, .address {
          font-variant: small-caps;
        }
      --></style>
    </head>
    <body>
      <dl>
        <dt>Bar</dt>
        <dd>Foo</dd>
      </dl>
    </body>
*   Send a message to yourself which contains this file as an attachment.
*   View the message.

What you should see:
*   The message with your default background color, containing an attachment
    with a pale pink background color.

What you actually see:
*   The message with a pale pink background color.

Note that the DT small-caps style also isn't applied to the attachment -- I
don't know if that's the same bug or a separate bug.
adding mstoltz to the cc list.
potentially annoying, but it could be worse. I can't think of anything else we
can do that isn't suboptimal. Putting it in an iframe means it doesn't scroll
the same way as the rest of the document. Could the renderer treat a file with
multiple <html> tags so that the style doesn't bleed over? or would that be
against the html specification?
Severity: normal → minor
OS: Mac System 8.5 → All
Priority: -- → P4
Hardware: Macintosh → All
QA Contact: esther → trix

*** This bug has been marked as a duplicate of 31052 ***
No longer blocks: HTML-compose-tracker
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
changing qa contact to yulian
QA Contact: trix → yulian
QA Contact: yulian → stephend
verified dup
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.