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

Inherit gradient attributes from the linked/parent element #173

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

tonymarklove
Copy link
Contributor

@tonymarklove tonymarklove commented Sep 16, 2024

As defined in the SVG spec, gradients can be used as templates for other gradients. The exact list of inherited attributes is defined for linear gradients and for radial gradients in the SVG 2 spec.

Inherited stops are already supported, but this PR adds the other inherited attributes as well.

@mogest mogest merged commit 822a864 into mogest:main Sep 20, 2024
1 of 6 checks passed
@mogest
Copy link
Owner

mogest commented Sep 20, 2024

Thanks @tonymarklove!

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

Successfully merging this pull request may close these issues.

2 participants