Skip to content

Unclosed image causes following content to render flipped along horizontal axis #142

@bsweeney

Description

@bsweeney

If an image element is left unclosed the after method is not called and the graphics state is not restored. The result is that content following the image tag is rendered flipped along the horizontal axis.

<svg width="500" height="500" viewBox="0 0 500 110" xmlns="http://www.w3.org/2000/svg">
    <image href="https://placekittens.com/150/150" x="0" y="0" height="150" width="150">
    <text x="250" y="250">SvgLib</text>
</svg>
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions