- From: Dirk Schulze <dschulze@adobe.com>
- Date: Fri, 6 Dec 2013 04:19:46 -0800
- To: Nat Duca <nduca@chromium.org>
- CC: "Robert O'Callahan" <robert@ocallahan.org>, Ali Juma <ajuma@chromium.org>, www-style <www-style@w3.org>, "L. David Baron" <dbaron@dbaron.org>, Benoit Girard <bgirard@mozilla.com>, Matt Woodrow <matt@mozilla.com>, Cameron McCormack <cmccormack@mozilla.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Ojan Vafai <ojan@chromium.org>
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