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

removeNonInheritableGroupAttrs doesn't remove vector-effect attribute #859

Open
alexjlockwood opened this issue Nov 26, 2017 · 1 comment

Comments

@alexjlockwood
Copy link
Contributor

For example, consider the following test (called removeNonInheritableGroupAttrs.02.svg):

<svg xmlns="http://www.w3.org/2000/svg">
    <g vector-effect="non-scaling-stroke">
        <path d="M0 0 L 10 20"/>
    </g>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg">
    <g>
        <path d="M0 0 L 10 20"/>
    </g>
</svg>

This test should succeed, since vector-effect is non inheritable. However, the test fails when it is run.

Please let me know if you think this issue is specific to the vector-effect attribute or if there may be other attributes affected as well.

@KTibow
Copy link
Contributor

KTibow commented Dec 2, 2023

This test currently succeeds, as vector-effect is a presentation attribute and isn't in the list of inheritable or excluded attributes. This issue should be closed by a maintainer as it is resolved.

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

2 participants