Bug 828531; fix scaling CSS pixels for animations; r=roc

--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572