CSS class definitions for text elements are not inherited to the child tspan elements. See first version File:Global_Wind_Power_Cumulative_Capacity.svg (svg ; - 800px-PNG).
This is a long time known bug but I found no report here (also not on GNOME).
Version: unspecified
Severity: normal
See Also:
T68672: SVG style element ignored if no type attribute is specified