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

Property “clip-path” doesn't exist #174

Closed
raoufswe opened this issue Nov 1, 2023 · 1 comment
Closed

Property “clip-path” doesn't exist #174

raoufswe opened this issue Nov 1, 2023 · 1 comment
Labels

Comments

@raoufswe
Copy link

raoufswe commented Nov 1, 2023

Hi there, thank you for your effort in maintaining the library 🌟

I might be missing something but using clip-path seems to throw an invalid error while most modern browsers support that.

example:

.foo {
    clip-path: inset(1px)
}
@corymharper
Copy link
Contributor

Hey @raoufswe, thanks for your interest in our package. I looked into this, the reason it is being called out as invalid is because we internally pass a profile parameter of css3 to the validator API, and I'm guessing for reasons of the specifications these rules are established under, the validator separately supports the rule you mention in an undocumented profile of css3svg. I think the most straightforward way for us to implement support for this would be to resolve #143, but right now I have a lot on my plate so it will take awhile for me to get to. If you want / need the changes more immediately, it would be a fairly simple pull request to implement the changes described there, and we would get it accepted and merged in a timely manner, so feel free to contribute the change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants