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

Changes gradientUnits default value to objectBoundingBox #224

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

fabionuno
Copy link
Contributor

According to the W3C recommendation the default value of gradientUnits attribute is objectBoundingBox if not specified.

This PR changes SVG render to use objectBoundingBox as default value instead userSpaceOnUse.

According to the W3C recommendation the default value of gradientUnits
attribute is objectBoundingBox
@jonobr1
Copy link
Owner

jonobr1 commented Apr 26, 2017

I appreciate you trying to add parity with the W3C.., however I've found that userSpaceOnUse is actually more useful and intuitive than objectBoudningBox which is why I changed it. Do you have any examples using objectBoundingBox instead of userSpaceOnUser? It would help clarify justification. Thanks!

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