W3C home > Mailing lists > Public > www-style@w3.org > January 2014

RE: Proposal: will-change property (formerly will-animate)

From: Pavel Curtis <pavelc@microsoft.com>
Date: Tue, 21 Jan 2014 19:01:32 +0000
To: James Robinson <jamesr@google.com>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, Robert O'Callahan <robert@ocallahan.org>, Benoit Girard <bgirard@mozilla.com>, www-style <www-style@w3.org>
Message-ID: <C342B3C9477E3948B81B9CAC8172461154FE9D69@TK5EX14MBXC293.redmond.corp.microsoft.com>
Yes, but the ‘will-change’ spec doesn’t call out that it also has this effect when its value contains ‘transform’.

From: James Robinson [mailto:jamesr@google.com]
Sent: Tuesday, January 21, 2014 10:58 AM
To: Pavel Curtis
Cc: Tab Atkins Jr.; Robert O'Callahan; Benoit Girard; www-style
Subject: Re: Proposal: will-change property (formerly will-animate)

http://dev.w3.org/csswg/css-transforms/#transform-rendering


"For elements whose layout is governed by the CSS box model, any value other than none for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants."

- James

On Mon, Jan 20, 2014 at 11:04 AM, Pavel Curtis <pavelc@microsoft.com<mailto:pavelc@microsoft.com>> wrote:
I don't see any language in the spec that implies this behavior...

        Pavel

-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com<mailto:jackalmage@gmail.com>]
Sent: Friday, January 17, 2014 6:15 PM
To: Pavel Curtis
Cc: Robert O'Callahan; Benoit Girard; www-style
Subject: Re: Proposal: will-change property (formerly will-animate)
On Fri, Jan 17, 2014 at 5:37 PM, Pavel Curtis <pavelc@microsoft.com<mailto:pavelc@microsoft.com>> wrote:
> Does the declaration
>         will-change: transform
> also cause the element to become a containing block for fixed-positioned descendants?  I would hope so.

Yes, since 'transform' generates a containing block for some of its values, it generates a containing block when specified in 'will-change'.

~TJ

Received on Tuesday, 21 January 2014 19:02:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:38 UTC