Re: [will-change] Should will-change trigger stacking context when the property does not apply to an element?

> On Aug 16, 2015, at 12:17 pm, Simon Fraser <smfr@me.com> wrote:
> 
> Consider:
> 
> <span style=“will-change: transform;”>...<span>
> 
> The span, as a non-atomic inline, does not support the transform property. Should will-change trigger stacking context in this example?

A more compelling testcase is:

<div style=“will-change: z-index;"></div>

z-index only applies to positioned elements so does “will-change:z-index” alone create stacking context? If no, does this:

<div style=“will-change: position, z-index;"></div>?

Simon

Received on Sunday, 16 August 2015 19:23:14 UTC