message compose window gets styles from quoted message - white text on white background
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: WoofGrrrr, Unassigned)
Details
Attachments
(1 file)
|
47.83 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Steps to reproduce:
102.3.0 (64-bit)
I am using dark mode
I clicked reply on an email I received from Amazon.com, I have attached the email as a text message
Actual results:
When I type into the area above the quoted message the input is impossible to read. White text on white background.
The quoted text has inline styles in it. These seem to override the styles that Thunderbird itself has set.
In this case, the original message is HTML and it has a style for BODY tags. The message compose window doesn't seem to do anything to prevent the whole message compose from using this style.
Here is the style:
body {
margin: 0 !important;
padding: 0;
background-color: #ffffff;
}
The quoted message also has a few other styles for body tags.
It also sets a style on the <body> tag itself:
<body style=3D"-webkit-text-size-adjust:none; margin:0 auto; background:#ffffff;">
I think the dark mode sets the text color to #ffffff or something close to it. So I get WHITE text on a WHITE background.
Expected results:
Where I type my reply, I think it should use the styles Thunderbird has set, not those from the quoted message.
I'm using the developer toolbox Inspector to look at the HTML for the message compose window.
I am trying to find a way to use my userChrome.css to override the style but I can't figure out how. The <body> tag doesn't have an ID to select on. Can I somehow select on a <body> tag that is inside another element with an ID?
I see that the <body> is inside these:
<html:div id="messageArea" ... >
<editor id="messageEditor" ...>
Updated•3 years ago
|
Description
•