Skip to content

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

Description

@dcholth

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.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions