Solid color paint server always renders as black
Summary:
The <solidcolor>
element does not render correctly, and renders as solid black.
Steps to reproduce:
- Open Inkscape.
- Open the example file solid-color-test.svg, which contains a circle with a translucent red fill.
What happened?
Solid black fill.
What should have happened?
Translucent red fill.
Version info
Both on 1.2 and 1.3dev.
Comments
The second picture was generated by commenting out this line of sp-solid-color.cpp
:
void SPSolidColor::set(SPAttr key, const gchar* value) {
if (SP_ATTRIBUTE_IS_CSS(key)) {
// style->clear(key);
this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
} else {
SPPaintServer::set(key, value);
}
}
This line was added in !344 (merged), so I'll mention @speleo3.