Re: [css3-images][css3-transforms] element() and content with 3D Transforms

On Sun, Feb 26, 2012 at 9:21 AM, Simon Fraser <smfr@me.com> wrote:
> There is one tricky case here:
>
> <div style="perspective: 500px">
>  <div id="target" style="transform-style: preserve-3d">
>    <div style="transform: rotateY(45deg)"></div>
>  </div>
> </div>
>
> <div style="background-image: element(#target)"></div>
>
> When rendering the element(#target), does the perspective affect the rendering of the rotateY()?

I don't have a strong opinion here.  I *suspect* it should - the
perspective isn't a transform, it's an input to other transforms.
This would probably also match author intuition better, as the image
would more closely match the actual element's rendering.

~TJ

Received on Monday, 27 February 2012 18:58:31 UTC