play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Translate 3D Support for DOM #4

Closed austinh closed 11 years ago

austinh commented 11 years ago

Adds translate3d support to the DOM backing view. This should give desktop builds slightly better performance.

Adds a :position(x, y) method to abstract "top/left" vs "translate3d(x,y)".

Adds a :CHECK_TRANSLATE3D method to check for support and detect correct prefix.

Falls back to top/left if it cannot be done. This means IE10, FF16+, Chrome 20+ and Safari 5+ all now support translate3d.

ArnoVanDerVegt commented 11 years ago

Thanks Austin!