cssinjs / css-vendor

Runtime vendor prefixing based on feature detection.
MIT License
66 stars 24 forks source link

[jss-vendor-prefixer] clip-path to -webkit-clip-path not working #228

Open dcholth opened 4 years ago

dcholth commented 4 years ago

Expected behavior: When the JSS encounters a clip-path on a webkit browser, it should put a '-webkit-clip-path:' in its place as well.

Describe the bug: There is no change to the CSS. clip-path remains, but will not work with Webkit browsers such as safari.

The JSS clipPath: 'inset(5px -1px -7px -1px)',

Should result in

'-webkit-clip-path:': 'inset(5px -1px -7px -1px)',

Codesandbox link: Please create a codesandbox.io with the issue. Make it as minimal as possible as this will help us find the bug quicker.

Versions (please complete the following information):

kof commented 3 years ago

@AleshaOleg is it still a bug in prefixer?

AleshaOleg commented 3 years ago

@kof yes :(