2020-02-23 08:41 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002700LibCSS[All Projects] Generalpublic2019-09-06 06:52
ReporterOtakar Milink 
Assigned To 
StatusclosedResolutionno change required 
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.
Fixed in CI build #
Reported in CI build #
Attached Files


Michael Drake


Michael Drake (administrator)

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
Date Modified Username Field Change
2019-08-22 15:28 Otakar Milink New Issue
2019-09-06 06:52 Michael Drake Status new => closed
2019-09-06 06:52 Michael Drake Resolution open => no change required
2019-09-06 06:52 Michael Drake Note Added: 0002086
+Issue History