Open Bug 282476 Opened 20 years ago Updated 17 years ago

Simple HTML content moved out of the div.moz-text-html container

Categories

(SeaMonkey :: MailNews: Message Display, defect)

SeaMonkey 1.0 Branch
x86
All
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: stanio, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050215 Netscape/7.2 (Spidey)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050215

When tviewing Message Body As -> Simple HTML the message content is moved out of
the div.moz-text-html container loosing any custom styling the user have
specified for it in the "userConent.css".

I have restricted HTML messages body width as:

div.moz-text-html {
  max-width: 42em;
}

so I don't get too wide text even if mail window is maximized, but then I've set
View -> Message Body As -> Simple HTML, so I suppress most often innapropriate
styling the sender has choosen (as forced white background, funny text coloring,
fonts/sizes, etc.). When the "Simple HTML" is chosen the message content is
moved after the "div.moz-text-html" container so I loose the above preference of
mine.

Reproducible: Always

Steps to Reproduce:
1. Put some styling for div.moz-text-html in your "userContent.css";
2. Choose View -> Message Body As -> Simple HTML;
3. Preview a HTML message.

Actual Results:  
The styling for div.moz-text-html from "userContent.css" is not applied.

Expected Results:  
The styling for div.moz-text-html from "userContent.css" should be applied.

I've noticed my styling is not applied due to content moved out of the
div.moz-text-html container using the DOM Inspector.
I also see this in the DOM Inspector, and the results.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed. Don't know why this happens (no time to investigate atm).
I suspect it is like that ever since the beginning... at least since (around)
29th of March, 2003 (Bug 71110 Comment 23).
Assignee: sspitzer → mail
This is messing up BiDi Mail UI:

http://bugzilla.mozdev.org/show_bug.cgi?id=14911
OS: Windows XP → All
NS7.2 is not our product.

Can you reproduce with SeaMonkey v1.1.9 ?
Version: unspecified → SeaMonkey 1.0 Branch
Yes, it still does happen with SeaMonkey 1.1.9.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: