Open Bug 1673261 Opened 5 years ago Updated 5 years ago

Message with specific HTML contents will be drawn and handled wrong

Categories

(Thunderbird :: Message Reader UI, defect)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: martin.conrad, Unassigned)

Details

Attachments

(1 file)

Attached file Email contents

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

  • Create a E-Mail
    -- Insert HTML
    --- copy contents of attached file
    --- Click on Insert

Actual results:

The created email contains contents with a an element "View full message". If you click on it, the message will be expanded and you see an element "Collapse" instead.
if you click on Collaps, you get the original contents again.
If you send this email to anyone, the recipient sees two different short versions, both with a "View full message" element, but it is not possible to expand if.

Expected results:

The recipient should see the same as the sender and the "View full message" element should work.

Due to the css media queries? Is so, bug 1659362 (there's a pref)

I've set mail.html_sanitize.drop_conditional_css to false as requested in Bug 1674184. This changes the behavior:

  • The recipient sees only one short version with a "View full message" element, however, it is still not expandable.
    Nevertheless, I found a workaround: If you try to forward the mail, the contents will be part of the forward-email and both elements ("View full message" and "Collapse") work as expected.

In addition, I don't think this is a duplicate of bug 1659362. Even if setting mail.html_sanitize.drop_conditional_css to false lets the email look better, the "View full message" element still does not work. I haven't seen a comparable element in bug 1659362.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: