Mailing List Archive

[Bug 8210] New: CSS background property not recognized
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8210

Bug ID: 8210
Summary: CSS background property not recognized
Product: Spamassassin
Version: 4.0.0
Hardware: PC
OS: Windows 10
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: dev@spamassassin.apache.org
Reporter: kent@mxguardian.net
Target Milestone: Undefined

SA parses the CSS property `background-color` but does not recognize when the
background color is changed using the shorthand CSS property `background`. This
causes text to be incorrectly classified as "visible" or "invisible".

Example:

<div style="color: white; background: rgb(255, 192, 0)">
White text on orange background
</div>

The above text is classified as "invisible" because it recognizes the
foreground color is white but doesn't recognize the background color is orange.

--
You are receiving this mail because:
You are the assignee for the bug.