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

Re: Property interactions and computed style

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 12 Jul 2012 22:22:52 -0400
Message-ID: <4FFF867C.9090206@mit.edu>
To: www-style@w3.org
On 7/12/12 4:53 PM, Tab Atkins Jr. wrote:
> 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.

Is "affected by a transform" something that cannot differ based on a 
region the element is in?

In any case, my preferred behavior for computed style is that it not 
depend on non-local information unless absolutely needed....

Received on Friday, 13 July 2012 02:23:21 UTC

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