Skip to content

Mask attributes ignored #500

@ystrot

Description

@ystrot

mask attributes should be applied to a referenced element:

<defs>
    <polygon id="path-1" points="0 0 0 100 100 100 100 0"/>
</defs>
<mask id="mask-2" fill="white">
    <use xlink:href="#path-1"></use>
</mask>
<polygon fill="red" mask="url(#mask-2)" points="..."></polygon>

Expected: red polygon should be displayed
Actual: nothing shown

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions