Re: Proposal: will-animate property

On Dec 6, 2013, at 7:27 AM, Nat Duca <nduca@chromium.org> wrote:

> Some folks try to get clever:
> - translateZ(0) when the element is not moving, as a way to trick a layer
> But then they do a 2d animation... using translate2d(x,y). This causes the element to lose its stacking context, triggering a repaint and possibly other unexpected behaviors.

Short question off topic. What do you mean with “lose its stacking context”? Even 2D transforms create a stacking context and it should not lose it because of animations. Rather the opposite. In many implementations this even results in creating a layer.

Greetings,
Dirk

Received on Friday, 6 December 2013 12:20:28 UTC