Skip to content

SVG importer ignores clipPath applied to a group #4331

Description

@NicTanghe

Description

The SVG importer does not respect a clipPath applied to a group. Content that should be cropped to the clipping shape is imported without clipping. follow up of #4329

Steps to reproduce

  1. Open clip-path.svg in a browser or another SVG viewer. It appears as a blue circle because a circle clips a larger square.
  2. Import the same file into Graphite.
  3. Compare the imported result with the browser rendering.

Expected behavior

Only the circular portion of the blue square is visible, matching the SVG rendering in a browser.

Image

Actual behavior

The clipping path is ignored and the full blue square is visible.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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