Closed
Description
https://v3.vuejs.org/guide/class-and-style.html#auto-prefixing
Vue will automatically detect and add appropriate prefixes to the applied styles .
expected
add prefixes to experimental or nonstandard CSS
DEMO
Chrome 80.0.3987.162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://unpkg.com/vue@next"></script>
</head>
<body>
<div id="app">
<h1 :style="style">hello vue</h1>
</div>
<script>
const app = Vue.createApp({
data() {
return {
style: {
transform: 'translate(10px)',
'border-image': 'none 100% 1 0 stretch'
}
}
}
}).mount('#app')
</script>
</body>
</html>
RESULTS
<div id="app" data-v-app=""><h1 style="transform: translate(10px); border-image: none 100% 1 0 / 1 / 0 stretch;">hello vue</h1></div>