Closed Bug 223364 Opened 21 years ago Closed 11 years ago

attachment html body direction affects the whole letter

Categories

(MailNews Core :: Attachments, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 31052

People

(Reporter: netcat, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031008
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031008

attachment containing
<body dir="rtl">
affects the direction of the text of the letter itself.
the whole letter becomes rtl.

Reproducible: Always

Steps to Reproduce:
1. create html file with <body dir="rtl">
2. attach it to a letter and send
3. go to "sent" folder and view the message you just sent

Actual Results:  
Text of the letter (that goes before the attachment) become RTL
including that it's now aligned to right.

Expected Results:  
Text of the letter should not be affected, and stay LTR.
Yes, I see this too: Moz 1.8a4-0924 and TB 0.8, Win2K.  Occurs whether the 
message body is plain text or HTML.

xref bug 214467.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Summary: attachment html body direction affetcs the whole letter → attachment html body direction affects the whole letter
Bug 214467 doesn't seem related. This is more like bug 76804 or bug 31052 (which
may be dupes of each other)
I'd say the solution to all these message structure related bugs is to start by
solving  bug 248846... the whole concept of passing MIME messages through
'stream converters' seems incredibly off to me. And it leads to all sorts of
knee-jerk policy decisions in how the messages are displayed eventually.

But I'm a bit biased...
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → attachments
Product: Core → MailNews Core
(In reply to Simon Montagu :smontagu from comment #2)
> Bug 214467 doesn't seem related. This is more like bug 76804 or bug 31052

(In reply to Simon Montagu :smontagu from bug 31052 comment #28)
> Another case which I think is the same bug rather than a dependency: after doing
> Send Page or manually adding an HTML attachment with either <html dir="rtl"> or
> <body dir="rtl">, my added comments also become right-to-left (in plain text or
> HTML email).

I agree with Simon's evaluation that this is a duplicate of bug 31052.
Body attributes like bgcolor or dir spill both ways, from main part to inline preview of attachment, and vice versa.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.