Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask attributes ignored #500

Closed
ystrot opened this issue Oct 29, 2018 · 0 comments
Closed

Mask attributes ignored #500

ystrot opened this issue Oct 29, 2018 · 0 comments
Assignees
Milestone

Comments

@ystrot
Copy link
Member

ystrot commented Oct 29, 2018

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

@ystrot ystrot added this to the 0.9.4 milestone Oct 29, 2018
@ystrot ystrot self-assigned this Oct 29, 2018
@ystrot ystrot closed this as completed in bbb9a60 Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant