Hacker News new | ask | show | jobs
by richbradshaw 5360 days ago
Bearing in mind that all browsers (in common use) that support border-radius and gradients, also support SVG and canvas, and that SVG and canvas let you do more, are generally more performant, and have fallbacks (SVG particularly) in older browsers, why would you use Donatello?
1 comments

AFAIK, on iOS CSS (especially when using transforms) is a lot faster because it's hardware accelerated.
Only when using transforms and only when using 3D transforms (though iOS5.0 may support hardware accelerated 2D transforms as well)
You can hardware accelerate 2D transforms on iOS. You just do a -webkit-transform: translateZ(0); and it puts the element in the compositing layer.
Yes, that is a 3D transform.