2024-04-20 10:42 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002700LibCSS[All Projects] Generalpublic2019-09-06 07:52
ReporterOtakar Milink 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
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

-Relationships
+Relationships

-Notes
Michael Drake

~0002086

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.
+Notes

-Issue History
Date Modified Username Field Change
2019-08-22 16:28 Otakar Milink New Issue
2019-09-06 07:52 Michael Drake Status new => closed
2019-09-06 07:52 Michael Drake Resolution open => no change required
2019-09-06 07:52 Michael Drake Note Added: 0002086
+Issue History