css-vendor icon indicating copy to clipboard operation
css-vendor copied to clipboard

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

Open dcholth opened this issue 5 years ago • 2 comments

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):

  • jss: clipPath: 'inset(5px -1px -7px -1px)',
  • Browser [e.g. chrome, safari]: Safari & other webkit browsers.
  • OS [e.g. Windows, macOS]: MacOS Feel free to add any additional versions which you may think are relevant to the bug.

dcholth avatar Oct 25 '19 16:10 dcholth

@AleshaOleg is it still a bug in prefixer?

kof avatar Jan 27 '21 14:01 kof

@kof yes :(

AleshaOleg avatar Jan 27 '21 14:01 AleshaOleg