Re: Property interactions and computed style

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....

-Boris

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