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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 27 Feb 2012 10:57:44 -0800
Message-ID: <CAAWBYDArveXajAbJT4Yn-eymCqvLSvbS7+FQyRKXo3q=SHCZfA@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Dirk Schulze <dschulze@adobe.com>, "www-style@w3.org list" <www-style@w3.org>
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 GMT

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