W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: Property interactions and computed style

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 12 Jul 2012 13:53:16 -0700
Message-ID: <CAAWBYDDp6VtjYQqUixxsMixa4PiJh3i8rTF9RLfu_ZxcpA8eGQ@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: "www-style@w3.org Style" <www-style@w3.org>
On Thu, Jul 12, 2012 at 1:44 PM, Simon Fraser <smfr@me.com> wrote:
> There are a couple of places in the CSS3 transforms spec where property interactions cause the normal behavior of one value of a property to be affected by another property.
>
> For example, we now say that "background-attachment: fixed" behaves like "background-position: scroll" if the element is affected by a transform. Similarly, "transform-style: preserve-3d" behaves like "transform-style: flat" if opacity is non-1.
>
> In such cases, what should the computed value of the affected property be?

I don't feel strongly about the final answer, but it makes sense to me
to have the "behaves like" be reflected in the computed value.  When
these sort of interactions are purposeful, that's usually what we do.

~TJ
Received on Thursday, 12 July 2012 20:54:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:56 GMT