Actions
Bug #6702
closedIssue parsing css colors with alpha
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/03/2018
Due date:
% Done:
0%
Estimated time:
Description
In web/ColorUtils.C, when the function parseCssColor()
runs into a CSS color string similar to "rgba(15,13,99,0.3)" it fails because it is expecting the alpha channel to range from 0 to 255, instead of 0.0 to 1.0. This bug effects initializing a WColor
from a rgba string, such as would be produced by WColor::cssText(true)
.
Updated by Roel Standaert about 6 years ago
- Status changed from New to Resolved
Resolved with patch from issue #6802.
Updated by Roel Standaert about 6 years ago
- Status changed from Resolved to Closed
Actions