emile
emile copied to clipboard
emile('test', 'opacity: 0'); // doesn't work
sort of a major use-case for animation. this basically doesn't work in <= IE8 i tried taking a stab at this in a branch, but having a hard time parsing out what some of this code means.
Isn't this just down to the fact that old versions of IE don't support the opacity
property, but use filter
instead?
correct. but you can't just do this:
emile('test', 'filter:alpha(opacity=0);')
the émile parser won't know what to do with the value alpha(opacity=0)
since it's not an enumerable number like opacity:0
.
Fixed this a while back — https://github.com/kangax/emile/commit/bec75a4e684fd701efe1e91069900814a4b55062 Pull if you want. There's also a couple more somewhat related commits after that one.
Did this aswell. Plus animation direction processing. (Stoping animation if the direction changes) https://github.com/zorker/emile/blob/master/emile.js