Skip to content

Stroke/fill rendering order is wrong for gradients #359

@jroessel

Description

@jroessel

Describe the bug
Typically (without [paint-order[(https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/paint-order)) a shape's fill is rendered below the stroke. This seems to be the other way around for gradients fills, while solid colors work as expected.

Image

To Reproduce
See this playground.

Expected behavior
The SVG looks like this:

Image

which is how the PDF should look, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions