visionmedia / move.js

CSS3 backed JavaScript animation framework
http://visionmedia.github.com/move.js/
4.72k stars 686 forks source link

Only pass strings to setProperty as the value argument on IE9 requires DOMString #58

Open philipooo opened 9 years ago

philipooo commented 9 years ago

An error occured on IE9 when trying to execute:

move('.login-container .header')
    .duration(400)
    .ease('in')
    .set('opacity', 0)
    .x(-400)
    .end();

So I searched for the problem and found out that IE9 doesn't like it when passing a DOMNumber (opacity 0) into the style.setProperty function. http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-setProperty

philipooo commented 9 years ago

Any plans to merge this?

dukai commented 9 years ago

Mostly they'll never merge other's commitment?