Bug 410064

Summary: HTML message gets shown with wrong CSS stylings by default
Product: [Applications] kmail2 Reporter: Christian Wolf <ChristianLupus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: auxsvr
Priority: NOR    
Version: 5.11.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian Wolf 2019-07-21 10:29:38 UTC
I have the problem that some HTML mails with included CSS styles are not readable as foreground and background color machtes up.


STEPS TO REPRODUCE
1. REceive an email with some CSS based color definitions. The mail's text color gets changed by kmail.
2. Go to settings -> Appereance -> Color and check the setting to use the original color
3. The colors are as defined in the mail's CSS.

OBSERVED RESULT
kmail by default changes some colors even for HTML mails. Only after manually deactivating the setting the HTML mails are readable again.

EXPECTED RESULT
In HTML mode the CSS of the mail should not be overridden by default. In case of manually setting various colors this might or might not be desirable. But the default settings caused me to assume the rendering of kmail to be broken.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.59.0
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0