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

fill-opacity not available on <g> #38

Open
stact opened this issue Jan 1, 2021 · 3 comments
Open

fill-opacity not available on <g> #38

stact opened this issue Jan 1, 2021 · 3 comments

Comments

@stact
Copy link

stact commented Jan 1, 2021

Following docs https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity
fill-opacity attribute has no effect on

As a presentation attribute, it can be applied to any element but it has effect only on the following eleven elements: <altGlyph>, <circle>, <ellipse>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath>, <tref>, and <tspan>

The results (don't be scared ^^):
image

I will create a PR to avoid this behavior to move fill-opacity to the right element.
Hope this package is still maintained

@stact
Copy link
Author

stact commented Jan 1, 2021

PR #39 created

@stact
Copy link
Author

stact commented Jan 1, 2021

@fangpenlin @gkoberger is the project still maintained?

@gkoberger
Copy link

Hey I don't have access to this repo, but happy to merge things into my API if it gets merged here :)

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