Skip to content

v-bind:style not binding certain properties #5074

Closed
@edjroot

Description

@edjroot

Versions

Vue 2.2.1
Chrome 56.0.2924.87 (64-bit)
Windows 10

Reproduction Link

https://jsfiddle.net/zey5eL5v/

Steps to reproduce

Testing on Chrome, bind { cursor: 'grab' } to an element's style attribute.

What is Expected?

At least on Chrome, style should be assigned cursor: -webkit-grab (noting that it should also be autoprefixed).

What is actually happening?

On Firefox, style is assigned cursor: grab (works as expected). On Chrome, the element doesn't receive a style attribute.

I'm guessing Vue is simply ignoring the property because it's not recognized by Chrome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions