W3C home > Mailing lists > Public > www-style@w3.org > August 2015

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

From: Simon Fraser <smfr@me.com>
Date: Sun, 16 Aug 2015 12:22:44 -0700
Message-id: <31DF33E6-8348-43B6-ADF4-6116A96A59CA@me.com>
To: "www-style@w3.org list" <www-style@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Sunday, 16 August 2015 19:23:14 UTC