https://bugs.documentfoundation.org/show_bug.cgi?id=149673
Bug ID: 149673
Summary: SVG group opacity is additive
Product: LibreOffice
Version: 7.5.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
Description:
When you have a group of elements like so:
<g id="g1" opacity=".5">
<circle id="circle1" cx="100" cy="60" fill="#f00" r="40"/>
<circle id="circle2" cx="70" cy="100" fill="#0f0" r="40"/>
<circle id="circle3" cx="130" cy="100" fill="#00f" r="40"/>
</g>
the group opacity seems to be applied after all the other attributes in other
SVG implementations
This means that, when group elements overlap:
- the colors are not mixed
- the opacities are not mixed
Optimally we'd render the entire group in the correct order, and then apply the
opacity.
I've attached two examples with two comparisons to demonstrate, left is LO,
right is Chrome
Steps to Reproduce:
1. Open attached SVG
Actual Results:
-
Expected Results:
-
Reproducible: Always
User Profile Reset: No
Additional Info:
-
--
You are receiving this mail because:
You are the assignee for the bug.