Style definitions of table cells (TD, TH) affect headers in printing

NEW
Unassigned

Status

Thunderbird
General
12 years ago
a year ago

People

(Reporter: Seungbeom Kim, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla Thunderbird version 1.5.0.7 (20060909)

If you print a message has an HTML, which contains CSS definitions for TD and TH elements, they affect not only the HTML page attached but the message headers in printing.

An attachment should not affect how the container (the mail/news message) is printed.

Reproducible: Always

Steps to Reproduce:
1. Open a compose window.
2. Choose "Attach > Web Page", and enter the URL above.
3. Save the message as a Draft.
4. Highlight the message in the Draft folder.
5. Choose "File > Print Preview".
Actual Results:  
Because the HTML page has "th, td { text-align: right; }" in its style definition, the printed header (From, Date, Subject, etc.) is also aligned to the right.
If the HTML page contained more exotic settings, they would affect the headers too.

Expected Results:  
The headers should not be affected by the style definitions in an attachment.

The same thing will probably happen if the CSS defintion is not in an attachment but directly in the body. For example, save an HTML message as a Draft, quit Thunderbird, manually modify the Draft file to add the style definitions, and load and print-preview it in Thunderbird to see the result.

Comment 1

10 years ago
do you still see this problem when using the latest version of thunderbird?
  http://getthunderbird.com/

wsmcloseme 2008-05-25
Assignee: mscott → nobody
Whiteboard: closeme 2008-05-25
(Reporter)

Comment 2

10 years ago
Yes, I do. Using Thunderbird version 2.0.0.14 (20080421).
(Reporter)

Comment 3

10 years ago
Created attachment 324172 [details]
screenshot of the described symptom
Confirming based on screenshot, and new information being provided.

I'm not sure if this is an editor or core, or the exact Thunderbird component though. Seems to be printing related?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: closeme 2008-05-25

Comment 5

a year ago
Created attachment 8854331 [details]
HTML file to test

Created a file to test.

I still reproduce the problem.

Thunderbird 45.8.0
Windows 7 64-bit
You need to log in before you can comment on or make changes to this bug.