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 #74

Open
kof opened this issue Feb 13, 2019 · 2 comments
Open

Property clip-path #74

kof opened this issue Feb 13, 2019 · 2 comments
Labels

Comments

@kof
Copy link
Member

kof commented Feb 13, 2019

Reported here mui/material-ui#9293 (comment)

Automatic prefixing when needed is not working as expected. I'm trying to use clip-path, which needs to be prefixed in Safari.

`myStyle: { clipPath: 'polygon(0% 0%, 100% 0%, 100% 250px, 0% 100%)', }`

When I view my page in Safari and inspect that code, there is no vendor prefix for clip-path. I'm using Material UI core v3.9.0 and JSS v9.8.7 with jss-preset-default.

https://codesandbox.io/s/o40xvvrq25

@kof kof added the bug label Feb 13, 2019
@kof
Copy link
Member Author

kof commented Feb 13, 2019

Update those props have been put into a black list because they are inconsistent across engines https://github.com/cssinjs/css-vendor/blob/master/tests/fixtures.js#L73

Now we either need to find a way to vendor-prefix them correctly or document this behavior making them a user responsibility.

@cibulka
Copy link

cibulka commented Feb 27, 2020

Any updates on this? Thanks!

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

No branches or pull requests

2 participants