MantisBT - LibCSS
View Issue Details
0002700LibCSS[All Projects] Generalpublic2019-08-22 15:282019-09-06 06:52
ReporterOtakar Milink 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Fixed in CI build #
Reported in CI build #
Summary0002700: CSS background color: solid versus rgba
DescriptionWith CSS definition like this:

background: green;
background: rgba(0, 0, 0, 0.5);


the result color should be green (as Netsurf does not support opacity) but it is fully black instead.
TagsNo tags attached.
Attached Files

Notes
(0002086)
Michael Drake   
2019-09-06 06:52   
LibCSS is doing the correct thing here. The second value overrides the first. So the computed style that comes out of LibCSS should have the `background-color: rgba(0, 0, 0, 0.5)`.

The problem here is that NetSurf does not yet implement opacity.

Issue History
2019-08-22 15:28Otakar MilinkNew Issue
2019-09-06 06:52Michael DrakeStatusnew => closed
2019-09-06 06:52Michael DrakeResolutionopen => no change required
2019-09-06 06:52Michael DrakeNote Added: 0002086