Re: Property interactions and computed style

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 UTC