Closed Bug 301169 Opened 19 years ago Closed 16 years ago

Long lines doesn't wrap

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lagrave+bugs+mozilla.org, Assigned: mscott)

Details

(Whiteboard: closeme 2008-08-28)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

I have looked for other bug reports but only find reports that are similar, not
identical (like https://bugzilla.mozilla.org/show_bug.cgi?id=71110)

In certain html-formatted mail I receive in Thunderbird, the lines sometimes
don't wrap at the end to the window even though I have a quite wide window (180
chars or so).

What is weird is that one paragraph in a certain mail may wrap but the next don't.

This is how the style information looks for a non-wrapping paragraph:

<pre><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'

and this is for a paragraph that wraps:

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>

MsoNormal is defined:

 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}

Reproducible: Didn't try

Steps to Reproduce:
1. Receive a html-mail
2.
3.

Actual Results:  
One paragrap wrapped, the other didn't

Expected Results:  
both paragraps should wrap
I have the same exact problem.  Can provide an example if needed, but don't want to post my e-mail address
Looking at the source code provided by the original poster of this "bug", it appears to be non-related to Thunderbird.  The HTML email you received is an HTML email sent by a Microsoft Outlook user, who checks the box "Use Microsoft Word as my HTML editor" (or something like that).  I can tell because of the MsoNormal class, among other things.  Thunderbird is not set up to parse ugly Microsoft Word HTML, nor should it.  You can thank proprietary Microsoft for that.

QA Contact: general
Reporter, does the issue still occur in the latest supported 2.0.0.x / Shredder trunk nightlies?

(1.5.0.x is now end-of-life and the latest supported 2.0.0.x is 2.0.0.16)
Whiteboard: closeme 2008-08-28
As far as I can tell it does not happen on newer versions of t-bird.
Resolving WFM per comment #4.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.