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

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

From: James Robinson <jamesr@google.com>
Date: Tue, 21 Jan 2014 10:57:39 -0800
Message-ID: <CAD73mdLHTAgyV4jwXBxChQHa5_drk9rgZ_apJAkGdHkm5yq7iA@mail.gmail.com>
To: Pavel Curtis <pavelc@microsoft.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>
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> 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]
> 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>
> 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 18:58:06 UTC

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