I want to avoid going in to much detail about will-animate itself since I
don't want to maintain and repeat the discussion in two forums. However
it's worth noting that will-animate is much more then an alias for
'translateZ()'. translateZ will force us to optimize the page to 3d
transform the element and will hit paths that are not necessarily
appropriate to efficiently animate scrolling or opacity for example. It
will force us to do more work and restrict the types of optimizations we
can do. will-animate is being proposed to solve this problem and I suspect
other browsers will benefit from it as well.


On Tue, Dec 3, 2013 at 5:28 PM, Kevin Grandon <kgran...@mozilla.com> wrote:

> I don't have much to add except this seems like much better syntax than
> what we are forced to do in Chrome for layer promotion (adding
> -webkit-transform: translateZ(0); for example).
>
> As long as there is some path forward for the open web I'm happy with it.
> Are we not going to prefix it with -moz-?
>
> Best,
> Kevin
>
> ----- Original Message -----
> From: "Benoit Girard" <bgir...@mozilla.com>
> To: "dev-b2g" <dev-b2g@lists.mozilla.org>, dev-g...@lists.mozilla.org
> Sent: Tuesday, December 3, 2013 1:25:14 PM
> Subject: Enabling CSS will-animate for b2g only
>
> In bug 940842 I started investigating adding a new CSS property
> 'will-animate' to let authors give better descriptions of their intents
> instead of relying on our complicated, and unpredictable, internal
> heuristics. The better the platform can understand what the page is trying
> to do, the better it can optimize. This has the results that the page
> behave more like a native app would from the perspective of the hardware
> and GPU. I'm glossing over a lot of details here. If you want more
> information or would like to comment on that proposal please see bug 940842
> and the www-style discussion[1].
>
> For those interested this proposal is going to be a contributing factor to
> 'performance polish' and battery. Namely when our average FPS is near
> 55-60, we can drop 5 sequential frames briefly preparing an animation.
>
> I'd like some feedback on enabling this CSS property for B2G only. I plan
> on landing this property behind a preference but setting this preference
> for B2G by default so that gaia can use it. Once the spec is accepted I
> will enable this everywhere
>
> [1] http://lists.w3.org/Archives/Public/www-style/2013Nov/0414.html
> _______________________________________________
> dev-gaia mailing list
> dev-g...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia
>
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to