mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00

The SVG G container should have the same size as its children. This fixes a bug when there was an opacity value on the G element, as in StackingContext it would try and get a bitmap of the element which would be empty due to it having no size.
6 lines
205 B
HTML
6 lines
205 B
HTML
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
<g fill="white" stroke="green" opacity="0.6">
|
|
<circle cx="40" cy="40" r="25" />
|
|
<circle cx="60" cy="60" r="25" />
|
|
</g>
|
|
</svg>
|