Steps to reproduce
Create an element and add style bind
ing:
<div :style="{'-webkit-clip-path': 'some values'}">example</div>
What is expected?
<div style="-webkit-clip-path: some values">example</div>
What is actually happening?
<div style="clip-path: some values">example</div>
In the docs, it is stated that Vue supposedly automatically adds vendor prefixes to CSS properties if it needs them, but not for clip-path. In Safari, the -webkit- prefix is required to be specified in order for it to work.
Version 2.6.10
Reproduction link https://jsfiddle.net/80o2ef9w/
Steps to reproduce Create an element and add style bind ing:
<div :style="{'-webkit-clip-path': 'some values'}">example</div>
What is expected?<div style="-webkit-clip-path: some values">example</div>
What is actually happening?<div style="clip-path: some values">example</div>
In the docs, it is stated that Vue supposedly automatically adds vendor prefixes to CSS properties if it needs them, but not forclip-path
. In Safari, the-webkit-
prefix is required to be specified in order for it to work.